Google Surf Mcp

io.github.HarimxChoi由 GitHub 账号 HarimxChoi 发布v1.1.6更新于 Nov 7, 2026

Web, academic and code search with graph RAG, data lineage, ontology and cross-project schema links.

概览

AI 生成的概览

搜索网页、Google Scholar 与代码仓库,抓取页面和 PDF,并把结果整理进本地知识图谱以便日后检索。

可以做什么
  • 搜索网页并并行搜索,可在同一次调用中读取结果
  • 在 Google Scholar 上查找论文元数据
  • 从已知网址、PDF 或代码仓库提取内容
  • 搜索和管理本地项目记忆:保存记录、索引已授权文件夹、导出图谱
  • 查看搜索与本地运行状态
  • 把来源整理成带证据、数据血缘和跨项目关联的类型化知识图谱
适用场景
适合需要实时网页、论文或代码调研,并希望把发现长期保存在本地可检索知识库中、跨项目复用的场景,而不必每次重新搜索。
运行要求
通过 npx 在本地运行,需要 Node.js 22.12+ 以及用于浏览器搜索的 Chrome 或 Chromium。默认无需 API 密钥。可选:SEARCH_API 用于 SearchApi 主用或回退,GITHUB_TOKEN 提高 GitHub 限额,ANTHROPIC_API_KEY 或 ORCAROUTER_API_KEY 用于 LLM 选择器修复。首次索引可能下载本地嵌入模型。
安装前请注意
搜索与抓取结果会自动保存到本地 SurrealDB,首次索引会下载嵌入模型。可选密钥(SEARCH_API、GITHUB_TOKEN、ANTHROPIC_API_KEY、ORCAROUTER_API_KEY)会发送给各自服务,SearchApi 需自备账号和额度。SURF_ALLOW_PRIVATE 可解除对私有和回环地址的 SSRF 防护。索引本地文件夹会把项目数据写入图谱。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Google Surf Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[google-surf-mcp]

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.

[npm version] [npm downloads] [ci] [MCP Toplist] [google-surf-mcp MCP server]

[SearchApi Google Search API]

Sponsored by SearchApi

[Integrated project knowledge graph]

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:

json
{  "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

Optional LLM-assisted repair and OrcaRouter setup

Tools

Seven tools are available with Auto Ontology enabled:

ToolUse
search / search_parallelDiscover new web sources and read them in the same call with extract_mode.
scholar_searchFind paper-specific Google Scholar metadata.
extractRead a web page, PDF, or repository from an already-known URL.
project_memory_searchLocal-only search of indexed project knowledge; no live web search.
project_memoryManage projects, save research records, index user-approved local folders, and export graphs.
healthInspect 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.

text
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:

text
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:

RankingnDCG@5MRRPrecision@5
Original provider ranking0.89490.82030.6375
BM25 + RRF0.89710.82030.6500

Evaluation conditions, retrieval results, and resource measurements

Documentation

GuideContents
Getting startedInstallation, clients, browser search, SearchApi setup
Tools and workflowsTool parameters, limits, evidence responses, source collection
Auto OntologyStorage, code structure, graph retrieval, lineage, exports
ConfigurationEnvironment variables, resource settings, OrcaRouter
Operations and securityCAPTCHA, cache cleanup, CLI, privacy, optional Codex hooks
BenchmarksMeasurements, conditions, and evaluation boundaries

Contributing · Changelog · MIT License

来源:README.md,提交 6faa98d

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

4
  1. v1.1.6最新Nov 7, 2026
  2. v1.1.5Oct 30, 2026
  3. v1.1.4Oct 20, 2026
  4. v1.1.3Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分