XPath
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.
커뮤니티 리뷰
아직 리뷰가 없습니다. 첫 번째 리뷰를 작성해 보세요!
대화에 참여하려면 로그인하세요