MCP.so
ログイン
X

Xpath

@JayArrowz

Xpath について

概要はまだありません

基本情報

カテゴリ

その他

トランスポート

stdio

公開者

JayArrowz

投稿者

JayArrowz

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

ツール

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

概要

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

コメント

「その他」の他のコンテンツ