google-surf-mcp MCP Server
Web, academic and code search with graph RAG, data lineage, ontology and cross-project schema links.
google-surf-mcp scores 74 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 3 tools. Filed under Browser automation, Knowledge. GitHub shows 304 stars. Package registries report about 601 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
74 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
86/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 74 comes from
22 + 20 + 8 + 10 + 4 + 10 = 74. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 8 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "harimxchoi-google-surf-mcp": { "command": "npx", "args": [ "-y", "google-surf-mcp@1.1.8" ], "env": { "SEARCH_API": "YOUR_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": "YOUR_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": "YOUR_ANTHROPIC_API_KEY", "ORCAROUTER_API_KEY": "YOUR_ORCAROUTER_API_KEY" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
SEARCH_APISecret | Optional | SearchApi API key. Required only for SearchApi primary or fallback modes. |
SURF_SEARCH_PROVIDER | Optional | Provider for search and search_parallel: browser, searchapi, or fallback. Defaults to browser. |
SURF_SCHOLAR_PROVIDER | Optional | Provider for scholar_search: browser, searchapi, or fallback. Defaults to browser. |
SURF_BROWSER_ENGINE | Optional | Browser engine: auto, native, or playwright. Auto uses one hidden native Chrome broker shared across local MCP sessions. |
CHROME_PATH | Optional | Absolute path to the Chrome binary. Auto-detected on Windows/macOS/Linux when omitted. |
SURF_PROFILE_ROOT | Optional | Directory for the warm Chrome profile. Defaults to ~/.google-surf-mcp. |
SURF_RESEARCH | Optional | Enable Google Surf Auto Ontology: local project memory, evidence capture, and hybrid retrieval. Defaults to true. The SURF_RESEARCH setting name is unchanged. |
SURF_RETRIEVAL_MODE | Optional | Shared route for search and search_parallel: live or hybrid. Defaults to hybrid. |
SURF_RESEARCH_ROOT | Optional | Embedded SurrealDB data directory. Defaults to <profile>/research. |
SURF_RESEARCH_VECTOR_MODEL | Optional | Local model for HNSW retrieval and shared reranking. Defaults to Xenova/multilingual-e5-small; use off to disable. |
SURF_RESEARCH_VECTOR_LOW_MEMORY | Optional | Disable ONNX CPU memory arena and memory pattern. Defaults to true. |
SURF_RESEARCH_VECTOR_THREADS | Optional | ONNX intra-op thread count from 1 to 16. Defaults to 4. |
SURF_RESEARCH_REPO_AUTO | Optional | Sparse-index at most one eligible small GitHub repository per search call. Defaults to true. |
SURF_RESEARCH_REPO_AUTO_MAX_MB | Optional | Maximum searchable repository source-text size in MB. Assets are excluded. Defaults to 20. |
SURF_RESEARCH_REPO_AUTO_MAX_FILES | Optional | Maximum repository source file count for automatic indexing. Defaults to 2000. |
SURF_RESEARCH_BROKER_IDLE_MS | Optional | Shared Auto Ontology broker idle lifetime in milliseconds. Defaults to 60000. |
SURF_RESEARCH_READ_CONCURRENCY | Optional | Maximum concurrent Auto Ontology broker reads. Defaults to 4. |
SURF_RESEARCH_QUERY_TIMEOUT_MS | Optional | Timeout per embedded SurrealDB query in milliseconds. Defaults to 120000; timed-out retrieval lanes are reported as partial. |
GITHUB_TOKENSecret | Optional | Optional token that raises GitHub API limits for repository inspection. |
SURF_LOCALE | Optional | Browser locale, e.g. en-US. |
SURF_TZ | Optional | IANA timezone, e.g. America/New_York. Defaults to system timezone. |
SURF_HEADLESS | Optional | Controls Playwright extraction, compatibility, and recovery paths. Native search hides normal system Chrome and shows it only for CAPTCHA recovery. |
SURF_IDLE_CLOSE_MS | Optional | Idle ms before closing the sequential ctx and pool. 0 disables idle auto-close. Defaults to 30000. |
SURF_ALLOW_PRIVATE | Optional | Set 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_HEAL | Optional | Enable the optional workflow-only LLM selector repair path. Defaults to false. |
SURF_LLM_PROVIDER | Optional | LLM selector repair provider: anthropic or orcarouter. Defaults to anthropic. |
SURF_LLM_MODEL | Optional | Optional model override. OrcaRouter defaults to orcarouter/auto. |
ANTHROPIC_API_KEYSecret | Optional | Anthropic API key for optional LLM-assisted selector repair. |
ORCAROUTER_API_KEYSecret | Optional | OrcaRouter API key for optional LLM-assisted selector repair. |
Tools3Tool docs quality grade C
All capabilitiesproject_memorytoolManage projects, save research records, index user-approved local folders, and export graphs.
Local-only search of indexed project knowledge; no live web search.
scholar_searchtoolFind paper-specific Google Scholar metadata.
About
google-surf-mcp
English | Korean
Install · Benchmarks · Architecture · Tools
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.
Benchmarks
Web Search and File Analysis: GAIA Level 3
GAIA tests whether AI agents can answer real-world questions using web search, file analysis, and multi-step reasoning. Level 3 is its hardest tier.
Google Surf + DeepSeek V4.1 Flash (deepseek-flash) answered 22 of 26 questions (84.62%) on the public GAIA Level 3 validation set. The evaluation runner used Google Surf for retrieval and handled evidence checks and final submission.
| Agent | Split | Level 3 |
|---|---|---|
| Google Surf + DeepSeek V4.1 Flash | Public validation | 22/26 (84.62%) |
| Alita · Claude Sonnet 4 + GPT-4o | Public validation, pass@3 | 20/26 (76.92%) |
| xpander.ai · Claude Opus 4.7 → GPT-5.5 Pro | Public validation, pass@2 | 19/26 (73.08%) |
Search results surfaced published solutions for two of Surf's correctly scored questions; both remain in the reported score.
Auto Ontology comparison
Both systems built ontologies from 48 revision-pinned model-card and configuration files covering 16 open-weight model releases. Their retrieved evidence was passed to the same DeepSeek V4.1 Flash (1017) model (deepseek-flash), SQL-generation prompt, and database: Google Surf 116/120, NVIDIA Auto Ontology 113/120. This compares ontology-backed retrieval, not the products' default agents.
Evaluation setup, live-ranking results, and resource measurements
Architecture
Technology stack
| Layer | Technologies |
|---|---|
| Runtime and protocol | TypeScript, Node.js 22.13+, MCP SDK, Zod |
| Browser search | System Chrome, Playwright, shared browser broker and reusable tabs |
| Source reading | HTTP, isolated headless BrowserContext, Mozilla Readability, Turndown |
| Documents and OCR | LiteParse CPU OCR; optional Xberg for Office; OfficeParser fallback; hwp-convert; pdf-lib; Sharp |
| Local storage | SurrealDB with embedded RocksDB, durable catalog and payloads, rebuildable indexes |
| Retrieval and ranking | Exact match, BM25, Multilingual E5-small q8/ONNX, HNSW, graph retrieval, RRF, cached E5 reranking |
| Code indexing | Tree-sitter for Python, TypeScript, and C++ structure |
| Graph analysis | Graphology, PageRank, Louvain communities, provenance and lineage projections |
| Network controls | Undici, DNS/IP-pinned reads, SSRF checks, deny-by-default source-reader proxy |
OCR is configurable; Xberg does not add another OCR or embedding model. Live-only search uses BM25/RRF without loading E5. Architecture details · Lightweight configuration
Quick start
Requires Node.js 22.13+ 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.
Search stored knowledge across selected projects with exact-match, keyword, semantic, and graph retrieval, RRF fusion, and a shared reranker.
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
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 |
Frequently asked questions
What is google-surf-mcp MCP Server?
Web, academic and code search with graph RAG, data lineage, ontology and cross-project schema links.
How do I install google-surf-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. google-surf-mcp MCP Server runs locally from the npm package google-surf-mcp with the command npx -y google-surf-mcp@1.1.8.
Is google-surf-mcp MCP Server free and open source?
Yes. google-surf-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does google-surf-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for google-surf-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does google-surf-mcp MCP Server provide?
google-surf-mcp MCP Server provides 3 tools: project_memory, project_memory_search, and scholar_search. See the full tool list for descriptions and parameters.
How is google-surf-mcp MCP Server's trust score calculated?
google-surf-mcp MCP Server scores 74 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.