llms-fetch-mcp
Verified Safeby Crazytieguy
Overview
Fetches web content, prioritizing LLM-friendly formats like llms.txt and Markdown, converting HTML to Markdown, and caching results with a generated table of contents.
Installation
npx -y llms-fetch-mcpSecurity Notes
The server's primary attack surface involves handling URLs and local file paths for caching. The `url_to_path` function includes robust sanitization to prevent directory traversal, explicitly checking for '..' and '.' components, and sanitizing query parameters. It also includes a final check to ensure the generated path remains within the designated cache directory. No 'eval' or obvious obfuscation is present. It uses `reqwest` for network requests and declares a `User-Agent`. The overall implementation demonstrates strong security awareness for its intended function.
Similar Servers
DevDocs
DevDocs is a web crawling and content extraction platform designed to accelerate software development by converting documentation into LLM-ready formats for intelligent data querying and fine-tuning.
mcp-omnisearch
Provides a unified interface for various search, AI response, content processing, and enhancement tools via Model Context Protocol (MCP).
webscraping-ai-mcp-server
Integrates with WebScraping.AI to provide LLM-powered web data extraction, including question answering, structured data extraction, and HTML/text retrieval, with advanced features like JavaScript rendering and proxy management.
scrapi-mcp
This MCP server enables AI agents to scrape web pages and retrieve their content as HTML or Markdown, with advanced browser interaction capabilities.