google-surf-mcp
MCP server by HarimxChoi Community
Searches Google, academic papers and codebases, then stores the results in a local project knowledge graph. It is built for AI assistant users who need sourced, reusable research memory across projects.
Install google-surf-mcp
Built from the published package, never by AI.
claude mcp add google-surf-mcp -- npx -y google-surf-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"google-surf-mcp": {
"args": [
"-y",
"google-surf-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"google-surf-mcp": {
"args": [
"-y",
"google-surf-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"google-surf-mcp": {
"args": [
"-y",
"google-surf-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add google-surf-mcp -- npx -y google-surf-mcp{
"mcpServers": {
"google-surf-mcp": {
"args": [
"-y",
"google-surf-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add google-surf-mcp npx -y google-surf-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the google-surf-mcp block.
About
Google Surf is an MCP server that runs Google web searches, Scholar paper searches and codebase search. It extracts HTML and PDF content and stores search results, extracted bodies and code repositories in a project-scoped local knowledge graph. Retrieval combines exact, BM25, vector, code graph and live web results with RRF and a shared reranker.
Projects stay isolated by default. Only verifiable links, such as matching DOIs, repository URLs or explicit aliases, connect them. Browser search needs no API key, and SearchApi can be set as an optional primary provider or fallback. It suits AI assistant users who want sourced research history, ontology and data lineage tracking across projects.
Written from the project's README and checked against it.
Tools it gives your assistant
searchRuns live web search and can extract sources and fuse in stored project knowledge.search_parallelRuns parallel web searches, one of the seven default tools.extractExtracts title, authors, DOIs and body text from a known public URL, including PDFs.scholar_searchSearches academic papers and returns paper-specific metadata.project_memory_searchSearches the knowledge stored for the current project.project_memoryManages project memory and exports it as HTML, Graphviz, D3 JSON or Neo4j formats.healthOne of the seven default tools registered by the server.
What you need
- Node.js 22.12.0 or newer
- Google Chrome or Chromium for browser mode
- SearchApi account and key for the optional SearchApi modes
| Setting | Needed | What it is |
|---|---|---|
SEARCH_Environment variable, secret | Optional | SearchApi API key. Required only for SearchApi primary or fallback modes. |
SURF_Environment variable | Optional | Provider for search and search_parallel: browser, searchapi, or fallback. Defaults to browser. |
SURF_Environment variable | Optional | Provider for scholar_search: browser, searchapi, or fallback. Defaults to browser. |
SURF_Environment variable | Optional | Browser engine: auto, native, or playwright. Auto uses one hidden native Chrome broker shared across local MCP sessions. |
CHROME_Environment variable | Optional | Absolute path to the Chrome binary. Auto-detected on Windows/macOS/Linux when omitted. |
SURF_Environment variable | Optional | Directory for the warm Chrome profile. Defaults to ~/.google-surf-mcp. |
SURF_Environment variable | 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_Environment variable | Optional | Shared route for search and search_parallel: live or hybrid. Defaults to hybrid. |
SURF_Environment variable | Optional | Embedded SurrealDB data directory. Defaults to <profile>/research. |
SURF_Environment variable | Optional | Local model for HNSW retrieval and shared reranking. Defaults to Xenova/multilingual-e5-small; use off to disable. |
SURF_Environment variable | Optional | Disable ONNX CPU memory arena and memory pattern. Defaults to true. |
SURF_Environment variable | Optional | ONNX intra-op thread count from 1 to 16. Defaults to 4. |
SURF_Environment variable | Optional | Sparse-index at most one eligible small GitHub repository per search call. Defaults to true. |
SURF_Environment variable | Optional | Maximum searchable repository source-text size in MB. Assets are excluded. Defaults to 20. |
SURF_Environment variable | Optional | Maximum repository source file count for automatic indexing. Defaults to 2000. |
SURF_Environment variable | Optional | Shared Auto Ontology broker idle lifetime in milliseconds. Defaults to 60000. |
SURF_Environment variable | Optional | Maximum concurrent Auto Ontology broker reads. Defaults to 4. |
SURF_Environment variable | Optional | Timeout per embedded SurrealDB query in milliseconds. Defaults to 120000; timed-out retrieval lanes are reported as partial. |
GITHUB_Environment variable, secret | Optional | Optional token that raises GitHub API limits for repository inspection. |
SURF_Environment variable | Optional | Browser locale, e.g. en-US. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Search the web for recent papers on reranking and cite the sources.
- Find code related to this function in my other project.
- Export the current project memory graph as an HTML view.
Good to know
- Browser mode requires Google Chrome or Chromium.
- SearchApi modes require your own SearchApi account, key and credits.
- Setting SURF_RESEARCH=false disables the project memory tools.
- The fallback mode does not wait for human CAPTCHA recovery.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to google-surf-mcp
All alternatives →Searches and discovers Agent Skills from the skills.sh registry, according to its listing description. The source file itself documents the Agent Skills format rather than this server.
Connects AI agents to Exa for web search, content fetching, and multi-step research. It is aimed at developers and AI assistant users who want web results and page content inside their assistant.
Apify MCP server gives AI agents web scraping, data extraction, and browser automation through thousands of ready-made Actors from Apify Store. It suits developers and teams who want agents to pull data from websites without installing a separate MCP server for each site.
Official MCP server for changedetection.io that connects AI assistants such as Claude.AI and OpenAI tools to a changedetection.io dashboard. It lets users ask about tracked web page changes, including price and back-in-stock alerts.
Brave Search MCP Server gives AI assistants web, local, place, image, video and news search through the Brave Search API. It also offers grounded Answers for developers and teams that want cited results.
Scrapling is a Python web scraping framework with an MCP server for AI agents. It offers stealth HTTP requests, browser rendering, Cloudflare Turnstile handling, and CSS selector extraction for developers and scrapers.
Compare with Agent Skills Search Server, Exa or Apify
google-surf-mcp: common questions
Does google-surf-mcp need an API key?
Browser search needs no API key. SearchApi is optional and requires its own account, key and available credits.
Where is search data stored?
Search and extraction results are stored in a project-scoped local knowledge graph, using embedded SurrealDB on RocksDB.
Are knowledge graphs shared between projects?
Projects remain isolated by default. Only verifiable links such as matching DOIs or explicit aliases connect them.
How do I install google-surf-mcp?
In Claude Code run claude mcp add google-surf-mcp -- npx -y google-surf-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is google-surf-mcp the official server?
google-surf-mcp is a community project by HarimxChoi, not verified by a company domain.
Is google-surf-mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is google-surf-mcp safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to google-surf-mcp?
Similar MCP servers: Agent Skills Search Server, Exa, Apify, changedetection.io (official).
Does google-surf-mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
