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
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.
MCP Server for executing XPath queries on XML content
Related Resources
Related MCP Servers
- -securityAlicense-qualityMCP server for Huntress API integrationLast updated -111JavaScriptMIT License
- AsecurityAlicenseAqualityAn MCP server for fetching and transforming web content into various formats.Last updated -44PythonMIT License
- AsecurityAlicenseAqualityMCP Server enabling integration with Scrapezy to retrieve structured data from websites.Last updated -1121JavaScriptMIT License
- AsecurityFlicenseAqualityBuilt as a Model Context Protocol (MCP) server that provides advanced web search, content extraction, web crawling, and scraping capabilities using the Firecrawl API.Last updated -41Python