Browser Use
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
作者提供的说明(英文原文)
Call websites as APIs: a shared catalog of operations learned from each site's own requests.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
API_ANYTHING_HOME, API_ANYTHING_BROWSER你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"api-anything": {
"command": "npx",
"args": [
"-y",
"api-anything",
"mcp"
],
"env": {
"API_ANYTHING_HOME": "your-value",
"API_ANYTHING_BROWSER": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add api-anything --env API_ANYTHING_HOME=your-value --env API_ANYTHING_BROWSER=your-value -- npx -y api-anything mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"api-anything": {
"command": "npx",
"args": [
"-y",
"api-anything",
"mcp"
],
"env": {
"API_ANYTHING_HOME": "your-value",
"API_ANYTHING_BROWSER": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"api-anything": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"api-anything",
"mcp"
],
"env": {
"API_ANYTHING_HOME": "your-value",
"API_ANYTHING_BROWSER": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
API_ANYTHING_HOME envAPI_ANYTHING_BROWSER env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 goodnight000 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.4.0)于前天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Browser Use, Chrome DevTools MCP, MCP Server Browser
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
When an agent needs a website that has no API, it learns one. Every other agent gets it for free.
Learned from the site's own requests, called over plain HTTP, verified and repaired by the agents that use it.
Quick start · Example · The race · How it works · Use it anywhere · Catalog · Safety · Docs
Goodreads stopped giving out API keys in 2020. Google Flights never had a public API. An agent that needs either one drives a browser: it clicks, waits, reads the screen, and pays for every step in time and tokens. API Anything learns the request the site's own page sends, once, and then calls it over plain HTTP. It shares what it learned, with every cookie and token stripped out, so the next agent gets JSON from one request.
npx -y api-anything setup
Setup lists the agents it finds (Claude Code, Codex, Cursor, Claude Desktop, Gemini CLI, VS Code) and asks which to connect the MCP server and the skill to; --agents names them instead, and the always-on Hermes gateway is added only by name. Then it asks whether to help build the shared catalog. setup --local-only keeps everything on this machine. Node 22.13 or newer; no account, no API key. Or tell your coding agent: *Set up API Anything for me: https://github.com/goodnight000/api-anything/blob/main/INSTALL.md*. What setup changes, and every client
Restart the agent and ask it something like *"What does Goodreads rate Piranesi?"*, or call an operation yourself:
npx -y api-anything call hacker-news search query=sqlite
{"ok":true,"class":"ok","tier":1,"data":[
{"title":"Hosting SQLite databases on GitHub Pages or any static file hoster", ...}, ...], "ms":185}
tier: 1 means one plain HTTP request, with no browser and no account. A failure says what happened (class), why (reason) and what to do next (next).
You shipped something. Is anyone talking about it? Finding out means five search pages, or five different APIs with their own keys, OAuth apps and client libraries. examples/mentions.mjs asks Hacker News, Reddit, YouTube, GitHub and Mastodon at once, from an empty home, with no account:
The core of it is six reads in parallel, each capped at plain HTTP:
import { call } from "api-anything";
const sources = [ ["hacker-news", "searchByDate", { query: project }], ["hacker-news", "searchByDate", { query: project, type: "comment" }], ["reddit", "search", { query: project }], ["youtube", "search", { q: project, filter: uploaded }], ["github", "searchRepos", { q: ${project} created:>${sinceDay} }], ["mastodon", "tagTimeline", { tag: project }], ]; const results = await Promise.all(sources.map(([site, op, args]) => call(site, op, args, { maxTier: 1 })));
Run it from a checkout after npm ci: node examples/mentions.mjs , with --days 30 for a wider window or --json for every link, for a script or a cron job.
On 2026-11-06, five runs from empty homes took 1.8 to 2.0 s each, Node's start included. Every run found the same 65 mentions. YouTube, GitHub, Mastodon and both Hacker News searches answered over plain HTTP. Reddit served a JavaScript challenge every time, and the script reported it as blocked and kept the rest. Transcript and details
Same agent, same prompt, started together. Left: it drives headless Chrome. Right: it calls API Anything's Google Flights operation.
1.5 to 2× sooner · about half the tokens · the same cost or less · 20 of 20 answers correct
Claude Opus 5.5 in Claude Code, 2026-09-28. Shown at 3× speed with no cuts; the timers show real elapsed time. MP4 · how it was recorded
On 2026-10-31 the same comparison on two more sites gave medians of 22.3 s against 9.6 s (Netflix episodes) and 31.4 s against 18.1 s (IKEA store addresses), 20 of 20 answers correct. Each is one site, one model and a few runs. Method, raw numbers and limits
fetch. If the site blocks that, fetch from inside a browser page; as a last resort for a read, run the page and read its answer.The whole idea in 49 seconds · replay, fallback and repair · design
find_sites, call_operation, learn_site and the other tools, which declare output schemas for clients that check results. Frameworks: Vercel AI SDK, LangChain.js, OpenAI Agents SDK.api-anything serve answers REST, publishes an OpenAPI document at /openapi.json, and serves MCP at /mcp. It listens on loopback only and needs a token. docs/SERVE.mdpip install "git+https://github.com/goodnight000/api-anything#subdirectory=python" gives a Client that starts the server for you, tools for agent frameworks, and typed code generated from an operation's schema. docs/PYTHON.mdimport { call } from "api-anything", or api-anything/host for an agent host that only calls installed operations. CLI and library at a glance--changes reports what was added, removed or changed since the last call (name a watcher with --watch), --max-age answers from a recent result instead of asking the site again, and a site's request budget keeps a cron job at human volume. examples/watch.mjscurl 'https://api-anything-registry.forth-site.workers.dev/v1/try/wikipedia/getSummary?title=SQLite'.Over MCP, an agent calls learn_site with a page URL and three values: two to learn from, one to check with. The operation is replayed with no cookies, then shared. From a shell:
api-anything learn 'https://lobste.rs/domains/{domain}' \
--args domain=github.com --args2 domain=arxiv.org --args3 domain=youtube.com
For pages that need clicks or typing, an agent with the skill proposes operations, waits for your approval, and builds them. One run built Goodreads search, book details, an author's books and reviews in 6.3 minutes for $1.19. Learning, step by step · the Goodreads run · 25 s recording
reCAPTCHA digitized millions of books from words people typed anyway. The catalog does the same for the web with calls agents make anyway. A new operation goes live after installs on 2 other networks call it successfully, and a live one is replaced only when 3 or more networks see it fail. When a site changes, the first agent to repair the operation repairs it for everyone. A site's own MCP server or OpenAPI document shows up in search beside what agents learned.
114 sites and 323 read operations ship with the package, from Hacker News, Reddit, YouTube and GitHub to Google Flights, Goodreads, Airbnb, Amazon and Steam. They cover selected features, not whole sites. Every bundled site · [how t
只显示了开头部分;其余内容请在仓库中阅读