MCP.Market

Agentfetch MCP server

by bch1212·io.github.bch1212/agentfetch·v1.0.1·3 stars

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

B72/100grade B
What users say
No reviews yet
Be the first
Safety scan
B72/100

full report

Adoption
New

3 stars40 downloads/wk

Reviews

Write one

Nobody has reviewed Agentfetch yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Agentfetch tools (4)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • estimate_tokens

    Estimate token count of a URL's content WITHOUT fetching the body.

  • fetch_multiple

    Fetch up to 20 URLs concurrently. Each result is the same shape as fetch_url.

  • fetch_url

    Fetch any URL and return clean, LLM-ready Markdown with token count, metadata, and 6h caching.

  • search_and_fetch

    Web search + fetch top results in one call.

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan22 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 113 days ago8/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 72/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Agentfetch compares

Against every graded Scraping and browsing MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
72/100
higher than 38% of 867 Scraping and browsing servers
Tools
4
the typical Scraping and browsing server has 6
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
3
more than 70% of 584 Scraping and browsing servers
Downloads a week
40
more than 20% of 312 Scraping and browsing servers with a package

What its tools let an agent do: 4 read

Install Agentfetch in Claude Code, Cursor or VS Code

claude mcp add agentfetch -- uvx agentfetch-mcp
Add to Cursor

What the publisher says

From the Agentfetch repository's README, as published. We do not edit it. Read it on GitHub

agentfetch-mcp

<!-- mcp-name: io.github.bch1212/agentfetch -->

Web intelligence for AI agents — an MCP server that fetches URLs with token estimation, smart caching, and intelligent routing built in.

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.

This repository contains the open-source MCP server. For the hosted API + dashboard + billing, see www.agentfetch.dev.

What it does

Under the hood, AgentFetch routes URLs to the cheapest effective fetcher:

  • 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)

Cache is Redis with a 6-hour TTL; you can bring your own or run without caching.

Quick start

Install from PyPI

pip install agentfetch-mcp

Or clone and install locally

git clone https://github.com/bch1212/agentfetch-mcp
cd agentfetch-mcp
pip install -e .

Set environment variables

Get a free Jina Reader key at jina.ai (1M tokens/mo free tier). FireCrawl is optional but recommended for JS-heavy pages.

export JINA_API_KEY=jina_xxx
export FIRECRAWL_API_KEY=fc-xxx       # optional
export REDIS_URL=redis://localhost:6379  # optional

Add to Claude Desktop or Claude Code

Edit your MCP config (~/Library/Application Support/Claude/claudedesktopconfig.json on macOS, or run claude mcp add in Claude Code):

{
  "mcpServers": {
    "agentfetch": {
      "command": "python",
      "args": ["-m", "agentfetch.mcp.server"],
      "env": {
        "JINA_API_KEY": "jina_xxx",
        "FIRECRAWL_API_KEY": "fc-xxx"
      }
    }
  }
}

Restart Claude. The four tools (fetchurl, estimatetokens, fetchmultiple, searchand_fetch) appear automatically.

Run as a standalone server

python -m agentfetch.mcp.server

The server speaks MCP over stdio (the standard transport for desktop integrations).

Why agents prefer AgentFetch over generic web fetch

Examples

Fetching with a token budget

# Inside any MCP-aware agent (Claude Desktop, Claude Code, etc.)
result = fetch_url(
    url="https://news.ycombinator.com",
    max_tokens=2000,           # cap response size
    use_cache=True,            # serve from cache if <6h old
)
# result.markdown      → clean Markdown, ≤2000 tokens
# result.metadata      → title, author, word_count, language
# result.cache.hit     → True if served from cache
# result.fetch_info    → which fetcher ran, cost, duration

Estimating before committing

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Agentfetch: common questions

Is Agentfetch MCP server safe?
Mostly: it is graded B (72/100). Read the Agentfetch safety report
How do I install Agentfetch?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Agentfetch need an API key?
Yes. The registry entry asks for JINA_API_KEY, FIRECRAWL_API_KEY.
Is Agentfetch maintained?
The last commit was 152 days ago (2026-06-06). The latest release is v1.0.1.
What can I use instead of Agentfetch?
Servers from other publishers that do the same job: Firecrawl MCP Server, unbrowser by Unchained MCP server and SeleniumBase MCP server.
How does Agentfetch compare with other Scraping and browsing MCP servers?
safety score 72/100 (higher than 38% of 867 Scraping and browsing servers); tools 4 (the typical Scraping and browsing server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Agentfetch

Same job from other publishers: the closest match first, then the best rated.

  • Firecrawl MCP Server
    Firecrawl, the context API for AI agents: search, scrape, interact with the web, plus paper search.
    A
  • unbrowser by Unchained
    Chrome-free MCP web access for agents with low-token page maps and browser escalation hints.
    B
  • SeleniumBase MCP
    Stealthy browser automation, testing, and web-scraping via CDP Mode.
    A
  • AIHawk
    AI browser agent: browses, clicks, types, and reads real web pages from plain-English instructions.
    A
  • Brightdata
    Bright Data's Web MCP server enabling AI agents to search, extract & navigate the web
    B

More from bch1212 →