Google Surf MCP
概览
作者提供的说明(英文原文)
Web, academic and code search with graph RAG, data lineage, ontology and cross-project schema links.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i起步阶段↓ 361/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 搜索与 AI 记忆
- 你需要填写:SEARCH_API, GITHUB_TOKEN, ANTHROPIC_API_KEY, ORCAROUTER_API_KEY
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
SEARCH_API,SURF_SEARCH_PROVIDER,SURF_SCHOLAR_PROVIDER,SURF_BROWSER_ENGINE,CHROME_PATH,SURF_PROFILE_ROOT,SURF_RESEARCH,SURF_RETRIEVAL_MODE,SURF_RESEARCH_ROOT,SURF_RESEARCH_VECTOR_MODEL,SURF_RESEARCH_VECTOR_LOW_MEMORY,SURF_RESEARCH_VECTOR_THREADS,SURF_RESEARCH_REPO_AUTO,SURF_RESEARCH_REPO_AUTO_MAX_MB,SURF_RESEARCH_REPO_AUTO_MAX_FILES,SURF_RESEARCH_BROKER_IDLE_MS,SURF_RESEARCH_READ_CONCURRENCY,SURF_RESEARCH_QUERY_TIMEOUT_MS,GITHUB_TOKEN,SURF_LOCALE,SURF_TZ,SURF_HEADLESS,SURF_IDLE_CLOSE_MS,SURF_ALLOW_PRIVATE,SURF_LLM_HEAL,SURF_LLM_PROVIDER,SURF_LLM_MODEL,ANTHROPIC_API_KEY,ORCAROUTER_API_KEY
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"google-surf": {
"command": "npx",
"args": [
"-y",
"google-surf-mcp"
],
"env": {
"SEARCH_API": "your-value",
"SURF_SEARCH_PROVIDER": "your-value",
"SURF_SCHOLAR_PROVIDER": "your-value",
"SURF_BROWSER_ENGINE": "your-value",
"CHROME_PATH": "your-value",
"SURF_PROFILE_ROOT": "your-value",
"SURF_RESEARCH": "your-value",
"SURF_RETRIEVAL_MODE": "your-value",
"SURF_RESEARCH_ROOT": "your-value",
"SURF_RESEARCH_VECTOR_MODEL": "your-value",
"SURF_RESEARCH_VECTOR_LOW_MEMORY": "your-value",
"SURF_RESEARCH_VECTOR_THREADS": "your-value",
"SURF_RESEARCH_REPO_AUTO": "your-value",
"SURF_RESEARCH_REPO_AUTO_MAX_MB": "your-value",
"SURF_RESEARCH_REPO_AUTO_MAX_FILES": "your-value",
"SURF_RESEARCH_BROKER_IDLE_MS": "your-value",
"SURF_RESEARCH_READ_CONCURRENCY": "your-value",
"SURF_RESEARCH_QUERY_TIMEOUT_MS": "your-value",
"GITHUB_TOKEN": "your-value",
"SURF_LOCALE": "your-value",
"SURF_TZ": "your-value",
"SURF_HEADLESS": "your-value",
"SURF_IDLE_CLOSE_MS": "your-value",
"SURF_ALLOW_PRIVATE": "your-value",
"SURF_LLM_HEAL": "your-value",
"SURF_LLM_PROVIDER": "your-value",
"SURF_LLM_MODEL": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"ORCAROUTER_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add google-surf --env SEARCH_API=your-value --env SURF_SEARCH_PROVIDER=your-value --env SURF_SCHOLAR_PROVIDER=your-value --env SURF_BROWSER_ENGINE=your-value --env CHROME_PATH=your-value --env SURF_PROFILE_ROOT=your-value --env SURF_RESEARCH=your-value --env SURF_RETRIEVAL_MODE=your-value --env SURF_RESEARCH_ROOT=your-value --env SURF_RESEARCH_VECTOR_MODEL=your-value --env SURF_RESEARCH_VECTOR_LOW_MEMORY=your-value --env SURF_RESEARCH_VECTOR_THREADS=your-value --env SURF_RESEARCH_REPO_AUTO=your-value --env SURF_RESEARCH_REPO_AUTO_MAX_MB=your-value --env SURF_RESEARCH_REPO_AUTO_MAX_FILES=your-value --env SURF_RESEARCH_BROKER_IDLE_MS=your-value --env SURF_RESEARCH_READ_CONCURRENCY=your-value --env SURF_RESEARCH_QUERY_TIMEOUT_MS=your-value --env GITHUB_TOKEN=your-value --env SURF_LOCALE=your-value --env SURF_TZ=your-value --env SURF_HEADLESS=your-value --env SURF_IDLE_CLOSE_MS=your-value --env SURF_ALLOW_PRIVATE=your-value --env SURF_LLM_HEAL=your-value --env SURF_LLM_PROVIDER=your-value --env SURF_LLM_MODEL=your-value --env ANTHROPIC_API_KEY=your-value --env ORCAROUTER_API_KEY=your-value -- npx -y google-surf-mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"google-surf": {
"command": "npx",
"args": [
"-y",
"google-surf-mcp"
],
"env": {
"SEARCH_API": "your-value",
"SURF_SEARCH_PROVIDER": "your-value",
"SURF_SCHOLAR_PROVIDER": "your-value",
"SURF_BROWSER_ENGINE": "your-value",
"CHROME_PATH": "your-value",
"SURF_PROFILE_ROOT": "your-value",
"SURF_RESEARCH": "your-value",
"SURF_RETRIEVAL_MODE": "your-value",
"SURF_RESEARCH_ROOT": "your-value",
"SURF_RESEARCH_VECTOR_MODEL": "your-value",
"SURF_RESEARCH_VECTOR_LOW_MEMORY": "your-value",
"SURF_RESEARCH_VECTOR_THREADS": "your-value",
"SURF_RESEARCH_REPO_AUTO": "your-value",
"SURF_RESEARCH_REPO_AUTO_MAX_MB": "your-value",
"SURF_RESEARCH_REPO_AUTO_MAX_FILES": "your-value",
"SURF_RESEARCH_BROKER_IDLE_MS": "your-value",
"SURF_RESEARCH_READ_CONCURRENCY": "your-value",
"SURF_RESEARCH_QUERY_TIMEOUT_MS": "your-value",
"GITHUB_TOKEN": "your-value",
"SURF_LOCALE": "your-value",
"SURF_TZ": "your-value",
"SURF_HEADLESS": "your-value",
"SURF_IDLE_CLOSE_MS": "your-value",
"SURF_ALLOW_PRIVATE": "your-value",
"SURF_LLM_HEAL": "your-value",
"SURF_LLM_PROVIDER": "your-value",
"SURF_LLM_MODEL": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"ORCAROUTER_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"google-surf": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"google-surf-mcp"
],
"env": {
"SEARCH_API": "your-value",
"SURF_SEARCH_PROVIDER": "your-value",
"SURF_SCHOLAR_PROVIDER": "your-value",
"SURF_BROWSER_ENGINE": "your-value",
"CHROME_PATH": "your-value",
"SURF_PROFILE_ROOT": "your-value",
"SURF_RESEARCH": "your-value",
"SURF_RETRIEVAL_MODE": "your-value",
"SURF_RESEARCH_ROOT": "your-value",
"SURF_RESEARCH_VECTOR_MODEL": "your-value",
"SURF_RESEARCH_VECTOR_LOW_MEMORY": "your-value",
"SURF_RESEARCH_VECTOR_THREADS": "your-value",
"SURF_RESEARCH_REPO_AUTO": "your-value",
"SURF_RESEARCH_REPO_AUTO_MAX_MB": "your-value",
"SURF_RESEARCH_REPO_AUTO_MAX_FILES": "your-value",
"SURF_RESEARCH_BROKER_IDLE_MS": "your-value",
"SURF_RESEARCH_READ_CONCURRENCY": "your-value",
"SURF_RESEARCH_QUERY_TIMEOUT_MS": "your-value",
"GITHUB_TOKEN": "your-value",
"SURF_LOCALE": "your-value",
"SURF_TZ": "your-value",
"SURF_HEADLESS": "your-value",
"SURF_IDLE_CLOSE_MS": "your-value",
"SURF_ALLOW_PRIVATE": "your-value",
"SURF_LLM_HEAL": "your-value",
"SURF_LLM_PROVIDER": "your-value",
"SURF_LLM_MODEL": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"ORCAROUTER_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- SearchApi API key. Required only for SearchApi primary or fallback modes.
SURF_SEARCH_PROVIDERenvProvider for search and search_parallel: browser, searchapi, or fallback. Defaults to browser.SURF_SCHOLAR_PROVIDERenvProvider for scholar_search: browser, searchapi, or fallback. Defaults to browser.SURF_BROWSER_ENGINEenvBrowser engine: auto, native, or playwright. Auto uses one hidden native Chrome broker shared across local MCP sessions.CHROME_PATHenvAbsolute path to the Chrome binary. Auto-detected on Windows/macOS/Linux when omitted.SURF_PROFILE_ROOTenvDirectory for the warm Chrome profile. Defaults to ~/.google-surf-mcp.SURF_RESEARCHenvEnable Google Surf Auto Ontology: local project memory, evidence capture, and hybrid retrieval. Defaults to true. The SURF_RESEARCH setting name is unchanged.SURF_RETRIEVAL_MODEenvShared route for search and search_parallel: live or hybrid. Defaults to hybrid.SURF_RESEARCH_ROOTenvEmbedded SurrealDB data directory. Defaults to /research.SURF_RESEARCH_VECTOR_MODELenvLocal model for HNSW retrieval and shared reranking. Defaults to Xenova/multilingual-e5-small; use off to disable.SURF_RESEARCH_VECTOR_LOW_MEMORYenvDisable ONNX CPU memory arena and memory pattern. Defaults to true.SURF_RESEARCH_VECTOR_THREADSenvONNX intra-op thread count from 1 to 16. Defaults to 4.SURF_RESEARCH_REPO_AUTOenvSparse-index at most one eligible small GitHub repository per search call. Defaults to true.SURF_RESEARCH_REPO_AUTO_MAX_MBenvMaximum searchable repository source-text size in MB. Assets are excluded. Defaults to 20.SURF_RESEARCH_REPO_AUTO_MAX_FILESenvMaximum repository source file count for automatic indexing. Defaults to 2000.SURF_RESEARCH_BROKER_IDLE_MSenvShared Auto Ontology broker idle lifetime in milliseconds. Defaults to 60000.SURF_RESEARCH_READ_CONCURRENCYenvMaximum concurrent Auto Ontology broker reads. Defaults to 4.SURF_RESEARCH_QUERY_TIMEOUT_MSenvTimeout per embedded SurrealDB query in milliseconds. Defaults to 120000; timed-out retrieval lanes are reported as partial.- Optional token that raises GitHub API limits for repository inspection.
SURF_LOCALEenvBrowser locale, e.g. en-US.SURF_TZenvIANA timezone, e.g. America/New_York. Defaults to system timezone.SURF_HEADLESSenvControls Playwright extraction, compatibility, and recovery paths. Native search hides normal system Chrome and shows it only for CAPTCHA recovery.SURF_IDLE_CLOSE_MSenvIdle ms before closing the sequential ctx and pool. 0 disables idle auto-close. Defaults to 30000.SURF_ALLOW_PRIVATEenvSet to 'true' to allow extract on private/loopback addresses (localhost, 10.x, 192.168.x, 169.254.x, etc). Default blocks them as an SSRF guard.SURF_LLM_HEALenvEnable the optional workflow-only LLM selector repair path. Defaults to false.SURF_LLM_PROVIDERenvLLM selector repair provider: anthropic or orcarouter. Defaults to anthropic.SURF_LLM_MODELenvOptional model override. OrcaRouter defaults to orcarouter/auto.- Anthropic API key for optional LLM-assisted selector repair.
- OrcaRouter API key for optional LLM-assisted selector repair.
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 HarimxChoi 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 5732 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5732 个服务器的 95% 更新
- 基础检查结果等于或优于此分类中其他 5732 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Google Surf MCP 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:SEARCH_API, GITHUB_TOKEN, ANTHROPIC_API_KEY, ORCAROUTER_API_KEY
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(1.1.6)于前天进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Exa
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
google-surf-mcp
English | Korean
Google Surf MCP searches the web, papers, and codebases, then uses Auto Ontology to organize what you read into a local knowledge graph. Start without an API key or a separate database server, and build a personal knowledge base from connected sources and project records.
Sponsored by SearchApi
Core features
- Search and read: Find web pages, papers, PDFs, GitHub repositories, and indexed local code. Tree-sitter links files, code symbols, imports, and function calls.
- Auto Ontology: Organize sources and project records into a typed knowledge graph with evidence and data lineage.
- Cross-project search: Find stored sources across selected projects using exact-match, keyword, semantic, and graph retrieval, with RRF fusion and a shared reranker.
- Explore and export: Browse PKM, lineage, and ontology views; export HTML, PNG, JSON, Graphviz DOT, and Neo4j import bundles.
Stack: TypeScript, Chrome/Playwright, LiteParse, Tree-sitter, SurrealDB, Multilingual E5, and Graphology. Architecture
Quick start
Requires Node.js 22.12+ and Chrome or Chromium for browser search. CI covers Node 22 and 24 on Linux and Windows.
Register the server in your MCP client:
{
"mcpServers": { "google-surf": { "command": "npx", "args": ["-y", "google-surf-mcp@latest"] } } }
Restart the client. Auto Ontology is enabled by default; the local embedding model may be downloaded when you first index content. For search and extraction without the database or embedding model, set SURF_RESEARCH=false in the server environment.
Client setup, local installation, and SearchApi configuration
Search
- Search through system Chrome without an API key
- Dedicated logged-out profile; your personal Chrome profile is never read or copied
- Multi-strategy SERP parsing with geometric verification
- Removal of sponsored results and knowledge panels
- CAPTCHA detection and environment-specific recovery
- Parser self-healing and context fallback
Browser search is the default. SearchApi is an optional primary provider or fallback; it requires your own account, key, and credits.
Supported AI providers and gateways
- OrcaRouter (free models available)
Optional LLM-assisted repair and OrcaRouter setup
Tools
Seven tools are available with Auto Ontology enabled:
| Tool | Use |
|---|---|
search / search_parallel | Discover new web sources and read them in the same call with extract_mode. |
scholar_search | Find paper-specific Google Scholar metadata. |
extract | Read a web page, PDF, or repository from an already-known URL. |
project_memory_search | Local-only search of indexed project knowledge; no live web search. |
project_memory | Manage projects, save research records, index user-approved local folders, and export graphs. |
health | Inspect search and local runtime status. |
Providing project_id to web search does not make it local-only. Use project_memory_search for stored knowledge.
Tool parameters, limits, follow-up reads, and repeatable source collection
Google Surf Auto Ontology
Search and extraction results are saved automatically. Plans, experiments, failures, and decisions are linked when your agent records them through project_memory.
Web + papers + code + project records
| Local knowledge graph | Hybrid retrieval + source-backed evidence
Projects stay separate by default. Selected projects can link knowledge using matching DOIs, repository URLs, or explicitly registered aliases; original records are not merged or moved.
Create a standalone graph explorer for one project:
project_memory(action="export", project_id="my-project", export_format="html", export_view="graph")
The HTML explorer includes PKM, lineage, and ontology views with PNG/JSON downloads. DOT and Neo4j exports are also available. The feature was renamed from Research to Auto Ontology; existing SURF_RESEARCH* settings, project_memory* tools, CLI names, and storage paths still work.
Ontology, lineage, code indexing, and export details
Benchmark
Live web result ranking on 32 held-out queries:
| Ranking | nDCG@5 | MRR | Precision@5 |
|---|---|---|---|
| Original provider ranking | 0.8949 | 0.8203 | 0.6375 |
| BM25 + RRF | 0.8971 | 0.8203 | 0.6500 |
Evaluation conditions, retrieval results, and resource measurements
Documentation
| Guide | Contents |
|---|---|
| Getting started | Installation, clients, browser search, SearchApi setup |
| Tools and workflows | Tool parameters, limits, evidence responses, source collection |
| Auto Ontology | Storage, code structure, graph retrieval, lineage, exports |
| Configuration | Environment variables, resource settings, OrcaRouter |
| Operations and security | CAPTCHA, cache cleanup, CLI, privacy, optional Codex hooks |
| Benchmarks | Measurements, conditions, and evaluation boundaries |
Contributing · Changelog · MIT License