Xpath
@JayArrowz
About Xpath
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"xpath": {
"command": "npx",
"args": [
"-y",
"@jayarrowz/mcp-xpath"
]
}
}
}Tools
4`xml` (string): The XML content to query
The result of the XPath query as a string
`url` (string): The URL to fetch XML/HTML content from
The result of the XPath query as a string
Overview
What is Xpath?
Xpath is an MCP server that executes XPath queries on XML and HTML content. It provides two tools—one for querying XML strings directly and another for fetching content from a URL and then querying it. The server is designed for developers and AI assistants that need to extract structured data from XML or HTML documents.
How to use Xpath?
Install it via Smithery (npx -y @smithery/cli install @JayArrowz/mcp-xpath --client claude) or clone the repo, install dependencies, and build. Configure it in Claude Desktop by adding the appropriate command and args to claude_desktop_config.json. Invoke the tools xpath (with xml and query inputs) or xpathwithurl (with url and query inputs) from your MCP client.
Key features of Xpath
- Execute XPath queries on XML or HTML content
- Fetch remote content via URL and query it
- Optional MIME type parameter (e.g., text/xml, text/html)
- Two simple tools:
xpathandxpathwithurl - Returns query results as plain strings
- Easy integration with Claude Desktop and other MCP clients
Use cases of Xpath
- Extract specific elements or attributes from XML data feeds
- Scrape links, headings, or other data from HTML web pages
- Parse API responses or configuration files in XML format
- Automate data extraction from HTML documents within an AI workflow
FAQ from Xpath
—
Basic information
More Other MCP servers
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Awesome Mlops
visengerA curated list of references for MLOps
Mobile Mcp
mobile-nextModel Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Comments