Skip to content
Agentmart
Submit a tool

Agentfetch

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

Connector by bch1212 · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 3
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/bch1212-agentfetch

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
4 read · 0 write · 0 deleteRead-only
Secrets
2 (API keys, tokens or passwords)
Install scripts
Not scanned yet
Runs as
Python package

Tools by what they do 4

Read from the source code; the running server may list different tools.

Read 4 · Look things up without changing anything.

  • estimate_tokens
  • fetch_multiple
  • fetch_url
  • search_and_fetch

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • FIRECRAWL_API_KEY
  • JINA_API_KEY

Other settings (environment variables or headers).

  • REDIS_URL

Tools (4)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • estimate_tokens

    Estimate token count of a URL's content WITHOUT fetching the body. WHEN TO USE: - You're considering fetching a URL but unsure if it fits your remaining context window. This call is ~10x cheaper than a full fetch. - You want to triage a list of candidate URLs before deciding which to actually retrieve. IMPORTANT: Many servers omit Content-Length on dynamic / chunked responses. When that happens, this tool returns confident=false and estimated_tokens=null. In that case, call fetch_url with a max_tokens cap instead of trusting the estimate. Args: url: The URL to estimate. Returns: …

  • fetch_multiple

    Fetch up to 20 URLs concurrently. Each result is the same shape as fetch_url. WHEN TO USE: - You have a list of URLs (search results, links from a doc, sitemap) and want them retrieved in parallel rather than one at a time. Args: urls: 1–20 URLs. Larger batches: split into multiple calls. max_tokens_each: Per-result cap. Apply this to keep total response inside your context budget — total ≈ len(urls) * max_tokens_each. use_cache: True for cache-aware fetching (default). Returns: {"count": int, "results": [<fetch_url shape>, ...]}

  • fetch_url

    Fetch any URL and return clean, LLM-ready Markdown with token count, metadata, and 6h caching. WHEN TO USE: - You have a specific URL whose content you need. - You want to cap response size to stay inside your context window. - You want repeat fetches to be cheap (cache hits ≈ $0.0001). - The URL might be JS-rendered, a PDF, or behind a paywall — this tool auto-routes to the right fetcher (Trafilatura → Jina → FireCrawl → PDF). WHEN NOT TO USE: - You don't know which URL to fetch — use search_and_fetch instead. - You have many URLs to fetch — use fetch_multiple instead. Args: url: The…

  • search_and_fetch

    Web search + fetch top results in one call. WHEN TO USE: - You have a research question, not specific URLs. E.g. "what's the latest on X", "find docs for Y library", "recent news about Z". - You'd otherwise have to call a search tool, parse results, then call fetch — this collapses that into one round-trip. Args: query: Search query (2–500 chars). num_results: Top N to fetch (1–10, default 3). max_tokens_each: Per-result cap (default 2000). Returns: {"query": str, "count": int, "results": [<fetch_url shape>, ...]}

Signals

Stars
3
Forks
0
Open issues
0
Weekly downloads
51
Last commit
May 10, 2026 (5 months ago)
Last release
Jun 6, 2026 (4 months ago)
Last package publish
Apr 28, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.bch1212/agentfetch
Version
1.0.1
Auth
API key
Packages
pypi agentfetch-mcp
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 25, 2026

More from bch1212

Cite this page

Agentfetch MCP server. Agent Mart. https://agentmart.dev/connectors/bch1212-agentfetch (last updated 2026-10-25)