X

Xpath

An MCP server for executing XPath queries, supporting local XML and remote URL content queries.
2 points
11

What is the XPath MCP Server?

The XPath MCP Server is a tool that allows users to query XML or HTML content through XPath expressions. It helps developers easily extract and analyze structured data.

How to use the XPath MCP Server?

By calling specific API interfaces, you can input XML/HTML content and XPath query statements to obtain the desired results.

Applicable Scenarios

Suitable for scenarios where information needs to be extracted from structured data (such as XML or HTML), such as web crawlers and data analysis.

Main Features

XPath Query ToolAllows users to input XML content and execute XPath queries, returning matching results.
URL Data Query ToolCan fetch content from a remote URL and execute XPath queries.

Advantages and Limitations

Advantages
Supports multiple data sources (local files, URLs)
Easy to use, no complex programming knowledge required
Limitations
May not work properly for non-standard XML/HTML
Performance depends on network speed and data volume

How to Use

Install the Server
Quickly install via Smithery CLI, or manually clone the code and run it.
Configure the Client
Add MCP server configuration to claude_desktop_config.json.
Execute a Query
Call the API interface and pass in parameters, such as XML content and an XPath query.

Usage Examples

Query all item nodes in XMLExtract all item elements from an XML string.
Get all links from an HTML pageExtract all hyperlink addresses from an HTML page.

Frequently Asked Questions

Does the XPath MCP Server support JSON - formatted data?
How to ensure the accuracy of XPath queries?

Related Resources

Official Documentation
Detailed technical documentation and API reference.
GitHub Repository
Source code and latest version releases.
Installation
Copy the following command to your Client for configuration
{
  "mcpServers": {
    "xpath": {
      "command": "npx",
      "args": [
        "@thirdstrandstudio/mcp-xpath"
      ]
    }
  }
}

{
  "mcpServers": {
    "xpath": {
      "command": "node",
      "args": [
        "/path/to/mcp-xpath/dist/index.js"
      ]
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.
Featured MCP Services
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
827
4.3 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
85
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
140
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
563
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
752
4.8 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
282
4.5 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase