Skip to main content
Glama

xpathwithurl

Extract specific data from XML or HTML content by fetching a URL and applying XPath queries. Ideal for targeted content retrieval and parsing.

Instructions

Fetch content from a URL and select query it using XPath

Input Schema

NameRequiredDescriptionDefault
mimeTypeNoThe MIME type (e.g. text/xml, application/xml, text/html, application/xhtml+xml)text/html
queryYesThe XPath query to execute
urlYesThe URL to fetch XML/HTML content from

Input Schema (JSON Schema)

{ "properties": { "mimeType": { "default": "text/html", "description": "The MIME type (e.g. text/xml, application/xml, text/html, application/xhtml+xml)", "type": "string" }, "query": { "description": "The XPath query to execute", "type": "string" }, "url": { "description": "The URL to fetch XML/HTML content from", "type": "string" } }, "required": [ "url", "query" ], "type": "object" }
Install Server

Other Tools from mcp-xpath

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/thirdstrandstudio/mcp-xpath'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server