About Llms Fetch MCP
Llms Fetch MCP is an MCP server published by Crazytieguy in the AI category: high-quality MCP server for fetching and caching web content with smart URL variations and HTML-to-Markdown conversion.
The repository has 2 stars and 0 forks, with the last commit 3 days ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/Crazytieguy/llms-fetch-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Llms Fetch MCP
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
llms-fetch-mcp
MCP server that fetches web content in LLM-friendly formats. Automatically discovers and uses llms.txt files when available, tries Markdown versions, and falls back to clean HTML-to-Markdown conversion.
Quick Start
Add to your MCP client configuration:
Claude Desktop / Claude Code
{
"mcpServers": {
"llms-fetch": {
"command": "npx",
"args": ["-y", "llms-fetch-mcp"]
}
}
}
Cursor IDE
{
"mcp.servers": {
"llms-fetch": {
"command": "npx",
"args": ["-y", "llms-fetch-mcp"]
}
}
}
How It Works
When you fetch a URL, the server tries multiple sources in parallel:
https://example.com/llms-full.txt- Comprehensive LLM documentationhttps://example.com/llms.txt- Concise LLM documentationhttps://example.com.md- Markdown versionhttps://example.com/index.md- Directory Markdownhttps://example.com- Original URL (converts HTML to Markdown if needed)
Content is cached locally in .llms-fetch-mcp/ for quick access. The server automatically generates a table of contents for cached files to help navigate large documents.
Configuration
Table of Contents Settings
The server intelligently generates a table of contents, selecting heading levels to maximize detail while staying within budget:
--toc-budget- Maximum ToC size in bytes (default: 4000)--toc-threshold- Minimum document size in bytes to generate ToC (default: 8000)
With npx:
{
"mcpServers": {
"llms-fetch": {
"command": "npx",
"args": ["-y", "llms-fetch-mcp", "--toc-budget", "2000", "--toc-threshold", "4000"]
}
}
}
With installed binary:
{
"mcpServers": {
"llms-fetch": {
"command": "llms-fetch-mcp",
"args": ["--toc-budget", "2000", "--toc-threshold", "4000"]
}
}
}
Custom Cache Directory
With npx:
{
"mcpServers": {
"llms-fetch": {
"command": "npx",
"args": ["-y", "llms-fetch-mcp", "/path/to/custom/cache"]
}
}
}
With installed binary:
{
"mcpServers": {
"llms-fetch": {
"command": "llms-fetch-mcp",
"args": ["/path/to/custom/cache"]
}
}
}
Why llms.txt?
llms.txt is an emerging standard for websites to provide LLM-optimized documentation. Sites like FastHTML, Anthropic Docs, and others are adopting it. This server automatically discovers and uses these files when available, giving you cleaner, more concise content than HTML scraping.
Installation
If you prefer installing instead of using npx:
Shell (macOS/Linux)
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Crazytieguy/llms-fetch-mcp/releases/latest/download/llms-fetch-mcp-installer.sh | sh
PowerShell (Windows)
irm https://github.com/Crazytieguy/llms-fetch-mcp/releases/latest/download/llms-fetch-mcp-installer.ps1 | iex
Homebrew
brew install Crazytieguy/tap/llms-fetch-mcp
npm
npm install -g llms-fetch-mcp
Cargo
cargo install llms-fetch-mcp
License
MIT
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.