MCPServers

Summary

XPath MCP Server enables Claude to execute XPath queries on XML and HTML content, supporting both direct content parsing and web scraping capabilities. Built by JayArrowz, it provides two main tools: 'xpath' for querying XML strings directly and 'xpathwithurl' for fetching and querying content from URLs using Puppeteer. The implementation handles various node types and error cases gracefully, making it valuable for data extraction workflows that require structured information from XML documents or web pages without leaving the conversation interface.

Available Actions(2)

xpath

Query XML content using XPath expressions. Inputs: xml (string): The XML content to query, query (string): The XPath query to execute, mimeType (optional, string): The MIME type (e.g. text/xml, application/xml, text/html, application/xhtml+xml). Returns: The result of the XPath query as a string.

xpathwithurl

Fetch content from a URL and query it using XPath expressions. Inputs: url (string): The URL to fetch XML/HTML content from, query (string): The XPath query to execute, mimeType (optional, string): The MIME type (e.g. text/xml, application/xml, text/html, application/xhtml+xml). Returns: The result of the XPath query as a string.

Last Updated: April 17, 2025

社区评论

0.0
0 条评论
5
0
4
0
3
0
2
0
1
0

暂无评论. 成为第一个评论的人!

登录以参与讨论

Coming soon to
HighlightHighlight AI

语言

TypeScript

分类

标签