MCP.so
登录
X

Xpath MCP Server

@JayArrowz

基本信息

分类

其他

传输方式

stdio

作者

JayArrowz

提交者

JayArrowz

关于 Xpath MCP Server

暂无概览

#xpath#xml-query#xpath-server

Xpath MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "xpath": {
      "command": "npx",
      "args": [
        "-y",
        "@jayarrowz/mcp-xpath"
      ]
    }
  }
}

Xpath MCP Server 工具

2

Select query XML content using XPath

Fetch content from a URL and select query it using XPath

概览

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: xpath and xpathwithurl
  • 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

—

评论

其他 分类下的更多 MCP 服务器