Back to Home
Crazytieguy icon

llms-fetch-mcp

Verified Safe

by 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

Run Command
npx -y llms-fetch-mcp

Security 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

Stats

Interest Score30
Security Score9
Cost ClassMedium
Avg Tokens1500
Stars1
Forks0
Last Update2026-01-19

Tags

MCP ServerWeb ScraperMarkdown ConverterCachingLLM-Friendly Content