Anyfetch · free and open source
Anyfetch: web search and fetch for AI agents. No API keys.
Anyfetch is a free MCP server and command-line tool from the AliasMode team. It gives Claude Code, Codex, Cursor, and other agents web search and web fetch in one small program. Its requests look like a real browser’s requests, so it reads many sites that answer other fetch tools with 403.
Direct answer
Anyfetch is an open-source (Apache-2.0) Rust program that gives AI agents three MCP tools: web_search, web_fetch, and web_fetch_many. It needs no API keys and runs no browser. In our test of 97 popular sites that block AI agents, Anyfetch read 82. curl read 46, and the built-in WebFetch tool of Claude Code read 36.
Blocked sites read, tool by tool
- 87 of 97
- 82 of 97
- 78 of 97
- 71 of 97
- 69 of 97
- 68 of 97
- 66 of 97
- 61 of 97
- 52 of 97
- 49 of 97
- 46 of 97
- 39 of 97
- 36 of 97
The first bar is Anyfetch with a residential IP from NobleProxy, our own proxy service. All other bars are from the address of the cloud server.
We read each of 97 popular sites once with each tool, on 2026-10-12, from one cloud server with no proxy. A page counts as read when the tool returns at least 500 characters of text and the text is not a bot check. Most of the sites refuse AI agents in some way. A few open sites, such as GitHub and Wikipedia, are in the list as a control. We make Anyfetch and we ran this test, so the list of sites, the script, and the result for every site are public. Run it yourself.
Install Anyfetch in one command
curl -fsSL https://aliasmode.github.io/anyfetch/install.sh | shirm https://aliasmode.github.io/anyfetch/install.ps1 | iexThe installer puts one program on your computer. Then it connects Anyfetch to each agent it finds: Claude Code, Codex, Gemini CLI, Hermes Agent, Pi, Cline, Amp, OpenClaw, and Cursor. Start a new agent session, and the tools are there.
Do you only use Claude Code? You can install Anyfetch as a plugin on macOS and Linux:
claude plugin marketplace add aliasmode/anyfetch && claude plugin install anyfetch@anyfetchDo you have Node.js? Then your MCP client can start Anyfetch with no install. Use this as the server command:
npx -y @aliasmode/anyfetch mcpYour agent alone, and with Anyfetch
Each agent harness reads the web in its own way. We measured that way alone on the 97 sites. Then we counted the sites that the harness can read when it also has Anyfetch. Anyfetch does the fetch itself, so it reads the same sites in every harness.
| Agent harness | How it reads a page alone | Alone | With Anyfetch |
|---|---|---|---|
| Claude Code | The built-in WebFetch tool | 36 of 97 | 82 of 97 |
| Codex CLI | No fetch tool of its own. It runs curl in the shell. | 46 of 97 with curl. Its hosted search is not measured. | 82 of 97 |
| Hermes Agent | The built-in web_extract tool, which asks hosted readers | 68 of 97 | 93 of 97 |
| Any MCP client with the reference fetch server | mcp-server-fetch | 39 of 97 | 82 of 97 |
| Gemini CLI | The built-in web_fetch tool | Not measured | 82 of 97 or more |
$ curl -sL -o /dev/null -w "%{http_code}\n" \
https://www.reuters.com/technology/
401$ anyfetch fetch https://www.reuters.com/technology/
{
"status": 200,
"title": "Tech News | Today's Latest Technology News | Reuters",
"total_chars": 26126,
"content": "Strong investment in AI infrastructure ..."
}Hermes Agent rotates between hosted readers, and some of them answer from a stored copy of the page. That is why it reads some sites that no direct request can read, and why its count can change from run to run. We could not measure Gemini CLI or the hosted search of Codex, because our test server has no login for them.
We ran the full question test below in Claude Code. In the other harnesses, we checked that the installer connects Anyfetch.
Site by site: the pages people ask agents to read
| Site | Anyfetch | Anyfetch + NobleProxy | Claude Code WebFetch | curl (Codex CLI shell) | Hermes Agent |
|---|---|---|---|---|---|
| nytimes.com | ✓read | ✓read | ✕not read | ✕not read | ✕not read |
| reuters.com | ✓read | ✓read | ✕not read | ✕not read | ✕not read |
| bloomberg.com | ✓read | ✓read | ✕not read | ✕not read | ✓read |
| wsj.com | ✕not read | ✓read | ✕not read | ✕not read | ✓read |
| washingtonpost.com | ✓read | ✓read | ✕not read | ✕not read | ✕not read |
| ft.com | ✓read | ✓read | ✕not read | ✕not read | ✓read |
| economist.com | ✓read | ✓read | ✕not read | ✕not read | ✓read |
| forbes.com | ✓read | ✓read | ✓read | ✓read | ✓read |
| reddit.com | ✓read | ✓read | ✕not read | ✕not read | ✕not read |
| x.com | ✓read | ✓read | ✕not read | ✓read | ✓read |
| linkedin.com | ✓read | ✓read | ✓read | ✕not read | ✓read |
| instagram.com | ✓read | ✓read | ✓read | ✓read | ✕not read |
| tiktok.com | ✕not read | ✕not read | ✕not read | ✕not read | ✕not read |
| quora.com | ✓read | ✓read | ✕not read | ✕not read | ✕not read |
| medium.com | ✓read | ✓read | ✕not read | ✕not read | ✓read |
| youtube.com | ✓read | ✓read | ✕not read | ✕not read | ✓read |
| amazon.com | ✓read | ✓read | ✕not read | ✓read | ✓read |
| ebay.com | ✓read | ✓read | ✕not read | ✕not read | ✕not read |
| walmart.com | ✓read | ✓read | ✓read | ✓read | ✓read |
| etsy.com | ✕not read | ✓read | ✕not read | ✕not read | ✓read |
| booking.com | ✕not read | ✕not read | ✕not read | ✕not read | ✓read |
| tripadvisor.com | ✕not read | ✓read | ✕not read | ✕not read | ✓read |
| yelp.com | ✕not read | ✓read | ✕not read | ✕not read | ✕not read |
| zillow.com | ✓read | ✓read | ✕not read | ✕not read | ✕not read |
| indeed.com | ✓read | ✓read | ✕not read | ✕not read | ✓read |
| glassdoor.com | ✓read | ✓read | ✕not read | ✕not read | ✕not read |
| stackoverflow.com | ✓read | ✓read | ✕not read | ✕not read | ✓read |
| github.com | ✓read | ✓read | ✓read | ✓read | ✓read |
| en.wikipedia.org | ✓read | ✓read | ✓read | ✓read | ✓read |
| imdb.com | ✓read | ✓read | ✕not read | ✕not read | ✕not read |
| sciencedirect.com | ✓read | ✓read | ✕not read | ✕not read | ✓read |
| scholar.google.com | ✓read | ✓read | ✓read | ✕not read | ✕not read |
| Read, of all 97 sites | 82 | 87 | 36 | 46 | 68 |
Research questions: 32 right, against 27
Reading a page is not the goal. A correct answer is. We wrote 33 research questions, each with one checked answer on a page from July to October 2026, so a model cannot answer from memory. A Claude Sonnet agent answered them with Anyfetch only, and again with the built-in WebSearch and WebFetch of Claude Code only. Each question was asked twice and counts only when both answers are correct.
| Question group | Agent with Anyfetch | Same agent with the built-in tools |
|---|---|---|
| A page on a site that blocks AI agents | 12 of 13 | 7 of 13 |
| A page on an open site | 10 of 10 | 10 of 10 |
| No URL: search first, then read | 10 of 10 | 10 of 10 |
| All questions | 32 of 33 | 27 of 33 |
The built-in fetch could not read any of the 13 pages on blocked sites. Its search found 7 of the answers in another source. The questions in that group were written from pages that Anyfetch can read, so the group shows what the built-in tools miss. The question set and every answer are public.
What your agent gets
Most agent tools fetch a page with a request that does not look like a browser. Many sites answer that request with 403, or with a page that only says “checking your browser”. The agent then guesses, or it reads a search summary in place of the page.
Anyfetch sends the request that a real browser sends: the same TLS handshake, the same HTTP/2 settings, and the same headers in the same order. The site answers with the page.
| Tool | What it does |
|---|---|
| web_search | Searches the web with no API key. Filters by domain and date. Can also read the top results. |
| web_fetch | Reads one page as Markdown, or only the parts that answer a question. |
| web_fetch_many | Reads several pages at the same time. |
- Search with no key: Brave, Yahoo, and DuckDuckGo, plus GitHub, Stack Overflow, Hacker News, arXiv, and research papers
- Clean Markdown, with links, tables, and code blocks kept
- PDFs as text, page by page
- Public APIs and feeds for Stack Overflow, Reddit, IMDb, X posts, PyPI, and crates.io
- Full articles on Reuters and Bloomberg, Reddit threads with every comment, and the answers on Quora
- Several pages in one call, fetched at the same time
A long page fills the context of an agent with text it does not need. Give Anyfetch a question with the URL, and it returns only the parts of the page that match. The Python 3.15 release notes are 218,000 characters. The answer to one question about them came back in 2,200.
anyfetch fetch https://docs.python.org/3.15/whatsnew/3.15.html --query "sampling profiler rate"No browser: 0.19 seconds and 17 MB
| Program | Time | Peak memory |
|---|---|---|
| Anyfetch | 0.19 s | 17 MB |
| Headless Chromium | 1.15 s | 544 MB |
Anyfetch is one 16 MB program. It has no bundled browser, no JavaScript engine, no Python, and no Node.js. An agent can read ten pages in the time a browser needs for two, and a small server can run many agents at the same time.
What Anyfetch does not read
Anyfetch reads what a site sends to a first-time visitor. It does not run page scripts, solve a CAPTCHA, or log in. 15 of the 97 sites stayed closed in our test. For each one, Anyfetch returns an error code, so the agent knows that it must not guess.
| Sites | What the site answered | What opens it |
|---|---|---|
| The Wall Street Journal, Tripadvisor, Yelp, Etsy, Bandcamp | 401, 403, or a challenge for a cloud address | A residential IP. All five opened with a NobleProxy address. |
| Sky News, G2, Crunchbase | 403 | A real browser |
| Congress.gov, ResearchGate | A JavaScript challenge | A real browser |
| The Telegraph | 402, a request that AI crawlers pay | Nothing in Anyfetch |
| MSN, Booking.com, Daily Mail, TikTok | A page with no readable text for a plain request | A real browser. For MSN, the optional Lightpanda engine. |
Agents on servers need a home IP
Some sites refuse every request from a cloud server, whatever the request looks like. A residential proxy gives your agent a home address. Put one line in a file, and every search and fetch uses it.
We tested it. From a cloud server, Anyfetch read 82 of the 97 sites. With one NobleProxy static residential IP, it read 87, with the same result in every run. The proxy opened The Wall Street Journal, Tripadvisor, Yelp, Etsy, and Bandcamp.
NobleProxy is our own proxy service. Each IP is static, residential, and used only by you, with unlimited bandwidth. AliasMode users get a lower price.
When your agent needs a real browser
Anyfetch reads public pages. It does not log in, click, or run page scripts. Some work needs more: an account, a saved session, a form, or a web app.
For that work, use AliasMode. AliasMode is our free, open-source antidetect browser. Each profile is a real browser with its own fingerprint, cookies, and proxy, and your agent controls it through the AliasMode MCP server. Use Anyfetch to read, and AliasMode to act.
Guides and comparisons
Frequently asked questions
What is Anyfetch?
Anyfetch is a free, open-source MCP server and command-line tool that gives AI agents web search and web fetch. It is one small Rust program. It needs no API keys and runs no browser.
Is Anyfetch free?
Yes. Anyfetch is open source under Apache-2.0. Search and fetch need no API key and no account.
Which agents does Anyfetch work with?
Claude Code, Codex, Gemini CLI, Cursor, Hermes Agent, Pi, Cline, Amp, and OpenClaw are connected by the installer. Any other MCP client can add it as a stdio server. Agents with no MCP support can use the command line.
Why does Claude Code WebFetch return 403?
Many sites refuse requests that do not look like a browser. The built-in fetch tools of most agents send such requests. Anyfetch sends the request that a real browser sends, so many of those sites answer with the page.
How does Anyfetch compare with a headless browser?
In our test of 97 popular sites that block AI agents, Anyfetch read 82 with plain requests. The stealth browser of Scrapling read 71, Crawl4AI read 66, and Playwright MCP read 52. A browser can run page scripts and click, which Anyfetch cannot do.
Does Anyfetch run a browser?
No. Anyfetch uses plain requests, which is why a fetch takes about 0.2 seconds. When your agent needs a real browser with logins and saved sessions, use AliasMode.
Does Anyfetch get past CAPTCHAs, paywalls, or logins?
No. Anyfetch reads what a site sends to a first-time visitor. A page that needs a CAPTCHA, an account, or a subscription to load stays closed, and Anyfetch reports that with an error code.
Who makes Anyfetch?
The AliasMode team. AliasMode is a free, open-source antidetect browser for managing multiple accounts, with an MCP server for AI agents.