Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Real Google Search for AI agents: real URLs, AI Overview and People also ask as typed JSON.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
GSEARCH_PROXY, GSEARCH_DATA_LIMIT_MB标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"gsearch": {
"command": "uvx",
"args": [
"gsearch-agent"
],
"env": {
"GSEARCH_PROXY": "your-value",
"GSEARCH_DATA_LIMIT_MB": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add gsearch --env GSEARCH_PROXY=your-value --env GSEARCH_DATA_LIMIT_MB=your-value -- uvx gsearch-agent运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"gsearch": {
"command": "uvx",
"args": [
"gsearch-agent"
],
"env": {
"GSEARCH_PROXY": "your-value",
"GSEARCH_DATA_LIMIT_MB": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"gsearch": {
"type": "stdio",
"command": "uvx",
"args": [
"gsearch-agent"
],
"env": {
"GSEARCH_PROXY": "your-value",
"GSEARCH_DATA_LIMIT_MB": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
GSEARCH_DATA_LIMIT_MB env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 RayenMlayeh 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:GSEARCH_PROXY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0)于20天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Quick start · How it compares · What you get · How it works · Proxies · Performance · FAQ
Real Google Search for your AI agent. No API key. Self-hosted. Over MCP.
Your agent calls google_search and gets Google's actual results page as typed JSON: every result with its title, snippet and site, plus Google's answer boxes (sports results, top stories, videos), the AI Overview, People also ask and related searches. A real Firefox (Camoufox) runs Google's page as it is, on your own IP or through any proxy you already have.
Why: plain HTTP gets a JavaScript wall, automated Chrome got a CAPTCHA 2 out of 2 times in our test, and Google's official Custom Search API closes on 1 January 2027. Other search MCP servers either aren't Google's index (Brave, Tavily, Exa, DuckDuckGo) or charge per query (SerpApi, Bright Data).
A real, live call on a home IP with a warm session, rendered from the recorded result; the wait shown is the measured time. MP4
uv tool install gsearch-agent # or: pipx install gsearch-agent
gsearch setup # downloads the browser once (~1 GB), prints your MCP config claude mcp add gsearch --scope user -- gsearch-mcp # or any MCP client, below
Then just ask: *"Search Google for what asyncio is and give me the top three links"*, *"What do people also ask about asyncio?"*, *"Find asyncio pages on python.org from the past year."*, *"Search for the asyncio docs and summarize the first result."*
Without a proxy, gsearch uses your own IP, at most 20 searches an hour. For more, add a proxy in any format:
claude mcp add gsearch --scope user -e GSEARCH_PROXY="gate.example.com:7000:user-sid-{sid}:password" -e GSEARCH_DATA_LIMIT_MB=1000 -- gsearch-mcp
Claude Desktop, Cursor and other MCP clients
gsearch setup prints this block with the full path of gsearch-mcp filled in. Use the full path if your client doesn't find the command.
{
"mcpServers": { "gsearch": { "command": "gsearch-mcp", "env": { "GSEARCH_PROXY": "optional, any format", "GSEARCH_DATA_LIMIT_MB": "1000" } } } }
Claude Desktop: claude_desktop_config.json. Cursor: ~/.cursor/mcp.json, or .cursor/mcp.json in a project.
No install, with uv: use "command": "uvx", "args": ["gsearch-agent"], after fetching the browser once with uvx --from gsearch-agent gsearch setup.
Settings in a file: put them in a .env (see .env.example) and set GSEARCH_ENV_FILE to its absolute path instead.
[!NOTE]
Automated access to Google Search may breach Google's Terms of Service. Read
Legal and responsible use before running live searches.
The same comparison as text
| gsearch | SerpApi, Bright Data | Brave, Tavily, Exa | DuckDuckGo, SearXNG MCPs | Playwright + Chromium Google MCPs | |
|---|---|---|---|---|---|
| Google's own results | ✅ | ✅ | ❌ their own index | ❌ / depends on the instance | ✅ |
| API key or account | none | required | required | none | none |
| Cost | free (+ your proxy, optional) | per query | usage-based plans | free | free |
| Runs on your machine | ✅ | ❌ hosted | ❌ hosted | ✅ | ✅ |
| AI Overview, People also ask | ✅ | ✅ (SerpApi) | ❌ | ❌ | varies |
| Google's redirect links resolved to real URLs | ✅ | ✅ | n/a | n/a | varies |
| Blocks reported as errors with a retry time | ✅ | n/a | n/a | varies | varies |
| Terms-of-Service risk is yours | yes (Legal) | the provider's | no | low | yes |
"Varies": we did not test those projects. Our only Chromium measurement is F-0001: Playwright Chrome was sent to a CAPTCHA 2 of 2 times on an IP where gsearch was served. Read Legal before running live searches.
Measured in October and November 2026: F-0016 , F-0014 , F-0006 , F-0011 , F-0012 , F-0001 ; 14 s and 0.6 MB on a clean proxy IP: F-0015 . Flagged proxy pools are slower: see Performance .
Google's official search API is closed to new customers and shuts down on 1 January 2027 (F-0005). gsearch is built for AI agents instead:
/goto redirects. fetch_page follows one to the page it points to when the agent reads it; resolve_links resolves them all up front instead, and read_top returns the top pages' text with the results, in one call.retry_after_s, never as empty results, and every string is flagged as untrusted web content.Real output from a saved results page (offline demo mode, where url stays null; a live search fills it):
A block is never an empty list. It comes back as an error that says what happened and how long to wait:
Every field explained
| Field | What it holds |
|---|---|
organic[].url | The real destination of each result, with resolve_links; otherwise null, and link goes to fetch_page. |
organic[].title, snippet, date, domain, display_url | What the result shows, as text. link keeps the exact link Google served. |
organic[].sitelinks, source_meta | A result's sub-links, and what Google shows instead of a URL on forum and video results (2 years ago). |
ai_overview | The AI Overview text and its sources, when Google shows one. |
people_also_ask, related_searches | The questions and related queries on the page. |
ads | Text ads, when the market serves them. |
pagination | Current page and next page. Ask for more results with page. |
meta.untrusted_content | Always true: every string is third-party web text (see prompt injection). |
Error codes: captcha, soft_block, hard_block, consent_wall, js_gate, rate_limited, parse_drift, network, proxy, backend_unavailable, invalid_request. The full JSON Schema is in serp.schema.json.
sudo apt install xvfb).# rotating residential: {sid}, or your provider's sid-…, session-…, sessid-… part, gives a new IP per search
GSEARCH_PROXY=gate.example.com:7000:user-country-us-sid-{sid}:password
GSEARCH_PROXY=socks5://user:password@203.0.113.10:1080, http://203.0.113.11:3128
GSEARCH_PROXY=/path/to/proxies.txt
country-xx or cc-xx in the login is checked, and exits elsewhere are dropped.只显示了开头部分;其余内容请在仓库中阅读