Top Comments
The XPath MCP Server is designed to facilitate the execution of XPath queries on XML and HTML content. It provides tools to query XML content directly or fetch content from a URL and then apply XPath queries. This server is particularly useful for developers and data analysts who need to extract specific data from XML or HTML documents efficiently. The server supports various MIME types, ensuring flexibility in handling different types of content. It is easy to set up and can be integrated with platforms like Claude Desktop using simple configuration scripts. The server is open-source and licensed under the MIT License, allowing for wide usage and modification.
Features
- Execute XPath queries on XML content.
- Fetch and query content from URLs using XPath.
- Supports multiple MIME types for flexibility.
- Easy integration with platforms like Claude Desktop.
- Open-source with MIT License for broad usage.
MCP Tools
- xpath: Query XML content using XPath expressions.
- xpathwithurl: Fetch content from a URL and query it using XPath expressions.
Usage with Different Platforms
npx
{
"mcpServers": {
"xpath": {
"command": "npx",
"args": [
"@thirdstrandstudio/mcp-xpath"
]
}
}
}
direct_node_js
{
"mcpServers": {
"xpath": {
"command": "node",
"args": [
"/path/to/mcp-xpath/dist/index.js"
]
}
}
}
Related MCP Servers
View all browser_automation servers →Fetch
by modelcontextprotocol
Fetch MCP Server is designed to help language models retrieve web content by converting HTML to markdown for easier consumption. It includes features like content truncation, chunk reading, and customizable user-agent settings, making it highly adaptable for various web scraping tasks.