Anyfetch
What it does
Web search and web fetch with no API keys. Reads the sites that refuse AI agents.
- Connects 在你的电脑上运行
- Account or key No key needed
- Category 搜索与 AI 记忆
安装
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
双击文件,然后在电脑版 Claude 应用中点击 Install
试一试
用 Anyfetch 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Anyfetch,或回答中出现 Anyfetch 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Anyfetch
Anyfetch 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
你可以改用这些方式
A · 使用能连接 Anyfetch 的应用
- 不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
- 需要先在电脑上安装 Node.js(只需一次)
- 需要先在电脑上安装 Node.js(只需一次)
- 需要先在电脑上安装 Node.js(只需一次)
B · 搜索与 AI 记忆 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
- Context7✓ ChatGPT
- AIHOT✓ ChatGPT
- Sui Knowledge Base (kapa.ai)✓ ChatGPT
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
正在检查命令 · 通过后才会显示复制按钮
在 Claude Code 中输入 /mcp
应能看到 Anyfetch 在列表中并显示已连接
试一试
用 Anyfetch 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Anyfetch,或回答中出现 Anyfetch 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
点击这个按钮打开 Cursor
正在检查命令 · 通过后才会显示复制按钮
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 Anyfetch 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Anyfetch,或回答中出现 Anyfetch 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
点击这个按钮打开 VS Code
正在检查命令 · 通过后才会显示复制按钮
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 Anyfetch 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Anyfetch,或回答中出现 Anyfetch 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
开发者专用:终端命令和 JSON 设置
安装在电脑上
Claude Code
正在检查命令 · 通过后才会显示复制按钮
Claude Desktop (claude_desktop_config.json)
正在检查命令 · 通过后才会显示复制按钮
Cursor (~/.cursor/mcp.json)
正在检查命令 · 通过后才会显示复制按钮
VS Code (mcp.json)
正在检查命令 · 通过后才会显示复制按钮
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月13日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 aliasmode 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于23天前
- ✓ 通过
有许可证
使用 Apache-2.0
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 6022 个服务器的 76%
- 发布到注册中心的时间比此分类中其他 6022 个服务器的 63% 更新
- 基础检查结果等于或优于此分类中其他 6022 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Anyfetch 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于23天前,最新版本(0.8.3)于23天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 MCPB, Node.js。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Ruflo
同类别的其他选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Anyfetch
Web search and web fetch for AI agents. One small binary, no API keys, and it reads the sites that refuse your agent.
Free and open source, from the makers of AliasMode.
Agent harnesses fetch pages with a bot identity, and a large part of the web answers 403. Anyfetch sends the request a real browser sends, so your agent gets the page.
| 97 popular sites that block AI agents | Pages read |
|---|---|
| Anyfetch | 82 |
| Anyfetch with a [NobleProxy](https://nobleproxy.com/?utm_source=anyfetch&utm_medium=readme&utm_campaign=anyfetch) residential IP | 87 |
| curl | 46 |
| Reference MCP fetch server | 39 |
Claude Code built-in WebFetch | 36 |
Anyfetch read 28 sites that no other tool in the table could read. Among them: The New York Times, Reuters, Bloomberg, The Washington Post, The Economist, Medium, Reddit, Stack Overflow, IMDb and YouTube.
| 33 research questions, each asked twice | Answered correctly both times |
|---|---|
| Agent with Anyfetch | 32 |
Same agent with Claude Code built-in WebSearch and WebFetch | 27 |
Thirteen of the questions are about a page on a site that blocks AI agents. The built-in fetch could not read any of those 13 pages. Its search found the answer in another source for 7 of them. Anyfetch answered 12 in both runs. The questions were written from pages that Anyfetch can read, so this group shows what the built-in tools miss.
| One page, started fresh | Time | Peak memory |
|---|---|---|
| Anyfetch | 0.19 s | 17 MB |
| Headless Chromium | 1.15 s | 544 MB |
Sites: measured on 2026-10-12 with version 0.8.0. Questions: measured on 2026-10-12 with version 0.7.1. Time and memory: measured on 2026-10-11. All from a cloud server, with no proxy except in the proxy row. See how we measured and how to run it again.
What your agent gets
- Search with no key. Brave, Yahoo and DuckDuckGo results, with domain and date filters, quoted phrases and paging. Specialist sources for GitHub, Stack Overflow, Hacker News, arXiv and research papers. Or your own SearXNG.
- Search and read in one call. Ask for the top results together with the result list, and get the parts of each page that match your query.
- Answers, not whole pages. Give a question with the URL, and get only the parts of the page that match it. The Python 3.15 release notes are 218,000 characters; the answer to one question about them came back in 2,200.
- Clean Markdown. Links, tables and code blocks stay intact. Long pages come in parts.
- PDFs. Papers and reports come back as text, page by page.
- Sites that need JavaScript. Anyfetch reads the data inside the page, and uses the site's public API or feed for Stack Overflow, Reddit, IMDb, X posts, PyPI and crates.io. A Reddit thread comes with every comment and its score. No browser runs. For pages that hold nothing without their scripts, it can use Lightpanda, an optional small engine.
- News and answers. Full articles on Reuters and Bloomberg, the latest articles of The Economist, and the answers on Quora, from the data that these sites send.
- Home pages and listings. A page with no single article comes back as its headlines and links, in page order.
- Browser-grade requests. Safari's TLS, HTTP/2 and header fingerprint. A refused fetch is retried automatically, as the same browser or as a second one. Bot checks that are one fixed step, as on Reddit and Behance, are passed.
- Cloudflare checks. When a site insists on a JavaScript check, your own Firefox passes it once. After that, Anyfetch reads the site with plain requests.
- Fast on repeat. Several pages in one call, fetched at the same time. A page fetched in the last 15 minutes comes from a local copy.
- Lightweight. A 16 MB Rust binary. No bundled browser, no JavaScript engine, no Python, no Node.
- Works everywhere. A stdio MCP server for agent harnesses, and a plain CLI for everything else.
Install
macOS and Linux:
curl -fsSL https://aliasmode.github.io/anyfetch/install.sh | sh
Windows, in PowerShell:
irm https://aliasmode.github.io/anyfetch/install.ps1 | iex
The installer puts anyfetch in ~/.local/bin. Then it connects Anyfetch to each agent harness that it finds on the machine: Claude Code, Codex, Gemini CLI, Hermes Agent, Pi, Cline, Amp, OpenClaw and Cursor. Start a new agent session, and the agent has web_search, web_fetch and web_fetch_many.
Did you install a harness later? Run anyfetch setup. It uses each harness's own command, tells you what it connected, and is safe to run again.
Do you have Node.js? Then no install is needed. Give your MCP client this server, and npx gets the program for your platform:
{
"mcpServers": { "anyfetch": { "command": "npx", "args": ["-y", "@aliasmode/anyfetch", "mcp"] } } }
Only Claude Code, on macOS or Linux? You can install Anyfetch as a plugin instead. The plugin gets the program at its first start:
claude plugin marketplace add aliasmode/anyfetch && claude plugin install anyfetch@anyfetch
Inside Claude Code 2.1.275 or later, this is one step: /plugin install anyfetch --marketplace aliasmode/anyfetch. Use the plugin or the installer, not both, or the agent sees every tool twice.
Connect your agent by hand
anyfetch setup does this for you. To do it by hand, each harness needs one command.
Claude Code
claude mcp add --scope user anyfetch -- anyfetch mcp
Codex
codex mcp add anyfetch -- anyfetch mcp
or in ~/.codex/config.toml:
[mcp_servers.anyfetch]
command = "anyfetch" args = ["mcp"]
Hermes Agent
hermes mcp add anyfetch --command anyfetch --args mcp
Hermes connects, lists the tools and asks to enable them. Answer Y.
Pi
pi mcp add anyfetch -- anyfetch mcp
Pi hides MCP tools behind its code mode by default. To show the tools to the model directly, set the exposure in ~/.pi/agent/mcp.json:
{
"mcpServers": { "anyfetch": { "command": "anyfetch", "args": ["mcp"], "exposure": "direct" } } }
Gemini CLI
gemini mcp add -s user anyfetch anyfetch mcp
OpenCode — in ~/.config/opencode/opencode.json:
{
"$schema": "https://opencode.ai/config.json", "mcp": { "anyfetch": { "type": "local", "command": ["anyfetch", "mcp"], "enabled": true } } }
Cursor — in ~/.cursor/mcp.json:
{
"mcpServers": { "anyfetch": { "command": "anyfetch", "args": ["mcp"] } } }
More harnesses
| Harness | Command |
|---|---|
| Cline | cline mcp add anyfetch --yes -- anyfetch mcp |
| Amp | amp mcp add anyfetch -- anyfetch mcp |
| OpenClaw | openclaw mcp add anyfetch --command anyfetch --arg mcp |
| Goose | goose session --with-extension "anyfetch mcp" |
| VS Code (Copilot) | code --add-mcp "{\"name\":\"anyfetch\",\"command\":\"anyfetch\",\"args\":[\"mcp\"]}" |
Any other MCP client: add a stdio server with the command anyfetch and the argument mcp.
Anyfetch is in the official MCP Registry as io.github.aliasmode/anyfetch, and on npm as @aliasmode/anyfetch.
No MCP? Give the agent the CLI. Add this to AGENTS.md or the harness's instruction file:
## Web access
- Search the web:
anyfetch search " " - Read pages:
anyfetch fetch [ ...] --format markdown
Make it the default. Anyfetch tells the agent to use its tools in place of the built-in web tools. In our test with Claude Code, the agent then chose Anyfetch for 8 of 8 web tasks. Before, it chose Anyfetch for 2 of 8. To take the choice away, turn the built-ins off:
- Claude Code, in
~/.claude/settings.json:"permissions": { "deny": ["WebFetch", "WebSearch"] } - Codex, in
~/.codex/config.toml:web_search = "disabled"
Use it from the command line
anyfetch search "rust async runtime comparison"
anyfetch search "tokio select" --site docs.rs --time year anyfetch search "postgres vacuum freeze" --read 3 anyfetch search "retrieval augmented generation" --provider papers anyfetch fetch https://stackoverflow.com/questions/231767 --format markdown anyfetch fetch https://arxiv.org/pdf/1706.03762 --max-chars 8000 --offset 8000 anyfetch fetch https://docs.python.org/3.15/whatsnew/3.15.html --query "sampling profiler rate" anyfetch fetch https://www.rust-lang.org/ https://go.dev/ https://ziglang.org/
Output is JSON by default, so scripts and agents can parse it. --format markdown prints only the page content.
Tools
web_fetch
| Input | Meaning |
|---|---|
url | The page to read. |
query | Optional. A question or keywords. The result has only the parts of the page that match. |
max_chars | Optional. The most content characters to return. The default is 50,000, or 5,000 with a query. |
offset | Optional. The first content character to return. Not used with a query. |
fresh | Optional. Fetch again even if a copy from the last 15 minutes exists. |
The result has title, description, content (Markdown), total_chars, url (after redirects), status and retrieved_at. To read a long page in parts, call again with a higher offset until it reaches total_chars. The parts come from the local copy, so the site gets one request.
With a query, the page is split at its paragraphs, tables and code blocks. The parts that best match the words of the query come back in page order, under their headings, with [...] where parts are left out. The result then has focused: true. A page with no matching part comes back from its start. A second question about the same page uses the local copy.
HTML becomes Markdown. A PDF becomes text with [Page N] marks. JSON, plain text and XML feeds come back as they are.
web_fetch_many
| Input | Meaning |
|---|---|
urls | The pages to read. They are fetched at the same time. |
query | Optional. As for web_fetch. Each page gives up to 5,000 characters. |
max_chars | Optional. The most content characters per page. By default the pages share 50,000. |
fresh | Optional. As for web_fetch. |
The result has pages: one entry per URL, in order. Each entry is the page, or its error.
web_search
| Input | Meaning |
|---|---|
query | The search query. Quoted phrases work. |
provider | Optional. See the list below. The default is auto. |
site | Optional. Keep results from one domain, for example docs.rs. |
time | Optional. day, week, month or year. |
page | Optional. The result page, from 1. |
read | Optional. Also return, from this many top results, the parts of each page that match the query. |
searxng_url | The base URL of your SearXNG instance, for the searxng provider. It must have JSON output on. |
Each result has title, url and snippet, and content when you set read.
| Provider | Source |
|---|---|
auto | Brave, Yahoo and DuckDuckGo at the same time. Their lists are merged, and pages that several engines rank high come first. engines names the engines that answered. |
brave | Brave Search. About 20 results per page. |
yahoo | Yahoo Search. 7 results per page. No year filter. |
duckduckgo | DuckDuckGo. First page only. |
searxng | Your own SearXNG instance. |
github | GitHub repositories, with stars and language. |
stackoverflow | Stack Overflow questions, with score and answer count. |
hackernews | Hacker News stories, with points and the discussion link. |
arxiv | arXiv papers, with abstracts. |
papers | Research papers from OpenAlex, with citation counts and open-access links. |
site, time and quoted phrases apply to the web engines. The specialist sources are free p