by HarimxChoi
Turn Google Search, Papers, and Codebases into an Automatic Local Knowledge Graph for AI Agents.
# Add to your Claude Code skills
git clone https://github.com/HarimxChoi/google-surf-mcpGuides for using ai agents skills like google-surf-mcp.
google-surf-mcp is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by HarimxChoi. Turn Google Search, Papers, and Codebases into an Automatic Local Knowledge Graph for AI Agents. It has 304 GitHub stars.
google-surf-mcp's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/HarimxChoi/google-surf-mcp" and add it to your Claude Code skills directory (see the Installation section above).
google-surf-mcp is primarily written in TypeScript. It is open-source under HarimxChoi on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh google-surf-mcp against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
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.
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.
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
| 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
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
Browser search is the default. SearchApi is an optional primary provider or fallback; it requires your own account, key, and credits.
Optional LLM-assisted repair and OrcaRouter setup
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
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
| 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 |