Agentfetch MCP Server

Token-budgeted web fetch for AI agents — auto-routes Jina, FireCrawl, Trafilatura, PDF.

Remote serverstreamable-httpPython

What is the Agentfetch MCP Server?

Token-budgeted web fetch for AI agents — auto-routes Jina, FireCrawl, Trafilatura, PDF.

What it actually does

AgentFetch sits between your agent and the open web. Instead of integrating Jina, FireCrawl, pypdf, and your own caching layer separately, agents call one MCP tool and AgentFetch handles routing, caching, token budgeting, and clean Markdown extraction automatically.

  • Trafilatura — (free, local) for ~70% of standard web pages
  • Jina Reader — for the rest of HTML
  • FireCrawl — for JS-heavy pages (Twitter/X, LinkedIn, Notion, etc.)
  • pypdf — for PDFs (zero external cost)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
fetch_urlFetch a URL → clean Markdown + metadata + token count + cache info
estimate_tokensGet a token count *before* fetching, so agents don't blow context windows on huge pages
fetch_multipleFetch up to 20 URLs concurrently
search_and_fetchWeb search + fetch top N results in one round-trip

How to install the Agentfetch MCP Server

{
  "mcpServers": {
    "agentfetch": {
      "command": "uvx",
      "args": ["agentfetch-mcp"],
      "env": {
        "JINA_API_KEY": "your-value",
        "FIRECRAWL_API_KEY": "your-value",
        "REDIS_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
JINA_API_KEYCredential the server authenticates with.Yes
FIRECRAWL_API_KEYCredential the server authenticates with.Yes
REDIS_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use Agentfetch to Pay-per.”
  • “Use Agentfetch to fetch url.”
  • “Use Agentfetch to estimate tokens.”

Frequently asked questions

Token-budgeted web fetch for AI agents — auto-routes Jina, FireCrawl, Trafilatura, PDF. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.