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.

82 of 97Blocked sites read in our test
32 of 33Research questions answered
0.19 sFor one page, with no browser
No API keysFree, Apache-2.0

Blocked sites read, tool by tool

Pages read, of 97 popular sites that block AI agents. Default settings, no API keys, one cloud server.
  1. Anyfetch with a NobleProxy residential IP87 of 97
  2. Anyfetch82 of 97
  3. Exa MCP, no API key78 of 97
  4. Scrapling, stealth browser71 of 97
  5. Scrapling, plain HTTP69 of 97
  6. Hermes Agent built-in web_extract68 of 97
  7. Crawl4AI, headless browser66 of 97
  8. Jina Reader, no API key61 of 97
  9. Playwright MCP, headless browser52 of 97
  10. DuckDuckGo MCP server49 of 97
  11. curl46 of 97
  12. Reference MCP fetch server39 of 97
  13. Claude Code built-in WebFetch36 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 | sh
irm https://aliasmode.github.io/anyfetch/install.ps1 | iex

The 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@anyfetch

Do you have Node.js? Then your MCP client can start Anyfetch with no install. Use this as the server command:

npx -y @aliasmode/anyfetch mcp

Your 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.

Pages read, of 97 popular sites that block AI agents. “With Anyfetch” counts a site when the harness tool or Anyfetch read it.
Agent harnessHow it reads a page aloneAloneWith Anyfetch
Claude CodeThe built-in WebFetch tool36 of 9782 of 97
Codex CLINo 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 AgentThe built-in web_extract tool, which asks hosted readers68 of 9793 of 97
Any MCP client with the reference fetch servermcp-server-fetch39 of 9782 of 97
Gemini CLIThe built-in web_fetch toolNot measured82 of 97 or more
curl, as an agent runs itHTTP 401
$ curl -sL -o /dev/null -w "%{http_code}\n" \
    https://www.reuters.com/technology/
401
Anyfetch, same machine26,126 characters
$ 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

32 of the best-known sites in the test. A check mark means the tool returned the page. Codex CLI has no fetch tool of its own, so its column is curl, as Codex runs it in its shell.
SiteAnyfetchAnyfetch + NobleProxyClaude Code WebFetchcurl (Codex CLI shell)Hermes Agent
nytimes.comreadreadnot readnot readnot read
reuters.comreadreadnot readnot readnot read
bloomberg.comreadreadnot readnot readread
wsj.comnot readreadnot readnot readread
washingtonpost.comreadreadnot readnot readnot read
ft.comreadreadnot readnot readread
economist.comreadreadnot readnot readread
forbes.comreadreadreadreadread
reddit.comreadreadnot readnot readnot read
x.comreadreadnot readreadread
linkedin.comreadreadreadnot readread
instagram.comreadreadreadreadnot read
tiktok.comnot readnot readnot readnot readnot read
quora.comreadreadnot readnot readnot read
medium.comreadreadnot readnot readread
youtube.comreadreadnot readnot readread
amazon.comreadreadnot readreadread
ebay.comreadreadnot readnot readnot read
walmart.comreadreadreadreadread
etsy.comnot readreadnot readnot readread
booking.comnot readnot readnot readnot readread
tripadvisor.comnot readreadnot readnot readread
yelp.comnot readreadnot readnot readnot read
zillow.comreadreadnot readnot readnot read
indeed.comreadreadnot readnot readread
glassdoor.comreadreadnot readnot readnot read
stackoverflow.comreadreadnot readnot readread
github.comreadreadreadreadread
en.wikipedia.orgreadreadreadreadread
imdb.comreadreadnot readnot readnot read
sciencedirect.comreadreadnot readnot readread
scholar.google.comreadreadreadnot readnot read
Read, of all 97 sites8287364668

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.

33 research questions, each asked twice. Measured with Anyfetch 0.7.1.
Question groupAgent with AnyfetchSame agent with the built-in tools
A page on a site that blocks AI agents12 of 137 of 13
A page on an open site10 of 1010 of 10
No URL: search first, then read10 of 1010 of 10
All questions32 of 3327 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.

ToolWhat it does
web_searchSearches the web with no API key. Filters by domain and date. Can also read the top results.
web_fetchReads one page as Markdown, or only the parts that answer a question.
web_fetch_manyReads 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

One page, with the program started fresh. Median of 10 pages, measured on 2026-10-11.
ProgramTimePeak memory
Anyfetch0.19 s17 MB
Headless Chromium1.15 s544 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.

The 15 sites that Anyfetch did not read from a cloud server, and what opens them.
SitesWhat the site answeredWhat opens it
The Wall Street Journal, Tripadvisor, Yelp, Etsy, Bandcamp401, 403, or a challenge for a cloud addressA residential IP. All five opened with a NobleProxy address.
Sky News, G2, Crunchbase403A real browser
Congress.gov, ResearchGateA JavaScript challengeA real browser
The Telegraph402, a request that AI crawlers payNothing in Anyfetch
MSN, Booking.com, Daily Mail, TikTokA page with no readable text for a plain requestA 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.