Skip to main content
Glama

xpath

Execute XPath queries on XML content to extract specific data, enabling precise selection and retrieval of elements based on structured path expressions.

Instructions

Select query XML content 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
xmlYesThe XML content to query

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" }, "xml": { "description": "The XML content to query", "type": "string" } }, "required": [ "xml", "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