remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Offers direct Node.js execution capabilities for the MCP server, with configuration options for connecting the XPath functionality to Node.js environments.
Enables execution of XPath queries on XML content, allowing content extraction and transformation from XML documents with support for various MIME types including text/xml and application/xml.
XPath MCP Server
MCP Server for executing XPath queries on XML content.
Tools
xpath
- Query XML content using XPath expressions
- Inputs:
xml
(string): The XML content to queryquery
(string): The XPath query to executemimeType
(optional, string): The MIME type (e.g. text/xml, application/xml, text/html, application/xhtml+xml)
- Returns: The result of the XPath query as a string
xpathwithurl
- Fetch content from a URL and query it using XPath expressions
- Inputs:
url
(string): The URL to fetch XML/HTML content fromquery
(string): The XPath query to executemimeType
(optional, string): The MIME type (e.g. text/xml, application/xml, text/html, application/xhtml+xml)
- Returns: The result of the XPath query as a string
Installation
Installing via Smithery
To install mcp-xpath for Claude Desktop automatically via Smithery:
Setup
Usage with Claude Desktop
Add the following to your claude_desktop_config.json
:
npx
Direct Node.js
Replace /path/to/mcp-xpath
with the actual path to your repository.
Examples
Query XML content
Query HTML content
Query URL content
Development
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
This server cannot be installed
MCP Server for executing XPath queries on XML content