Google Surf MCP
Turn Google Search, Papers, and Codebases into an Automatic Local Knowledge Graph for AI Agents.
Google Surf MCP is an open-source mcp server by HarimxChoi, written mainly in TypeScript, with 291 GitHub stars and the MIT license. Its code was last updated Oct 30, 2026. The latest npm release is google-surf-mcp 1.1.6, published Nov 7, 2026, with 310 downloads last week.
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.
<p align="center"> <a href="https://www.searchapi.io/?utm_source=github&utm_medium=sponsorship&utm_campaign=google_search_api&utm_content=HarimxChoi_google-surf-mcp"><img src="./assets/searchapi-banner.png" width="100%" alt="SearchApi Google Search API" /></a> </p> <p align="center">Sponsored by <a href="https://www.searchapi.io/?utm_source=github&utm_medium=sponsorship&utm_campaign=google_search_api&utm_content=HarimxChoi_google-surf-mcp">SearchApi</a></p><a href="./assets/graph-pkm.png"><img src="./assets/graph-pkm.png" width="100%" alt="Integrated project knowledge graph" /></a>
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 |
Google Surf MCP alternatives
View more →Similar mcp servers in Research & Analysis, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.
| Name | Stars | Licence | Last updated | Scan |
|---|---|---|---|---|
| Google Surf MCP (this page) HarimxChoi | 291 | MIT | Oct 30, 2026 | Scanned, no flagged issues |
| Worldmonitor koala73 | 90k | AGPL-3.0 | Nov 1, 2026 | Scanned, no flagged issues |
| GPT Researcher assafelovic | 30k | Apache-2.0 | Oct 10, 2026 | Scanned, no flagged issues |
| Auto Claude Code Research In Sleep wanshuiyin | 18k | MIT | Nov 1, 2026 | Scanned, no flagged issues |
| Deep Research u14app | 4.7k | MIT | Jun 18, 2026 | Scanned, no flagged issues |
| MCP Server Chart antvis | 4.4k | MIT | Aug 27, 2026 | Scanned, no flagged issues |