Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 83
  • 304 stars
  • 244 a week
  • MIT
  • Updated

Install google-surf-mcp

Built from the published package, never by AI.

claude mcp add google-surf-mcp -- npx -y google-surf-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install google-surf-mcp in Claude Code

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
SettingNeededWhat it is
SEARCH_APIEnvironment variable, secretOptionalSearchApi API key. Required only for SearchApi primary or fallback modes.
SURF_SEARCH_PROVIDEREnvironment variableOptionalProvider for search and search_parallel: browser, searchapi, or fallback. Defaults to browser.
SURF_SCHOLAR_PROVIDEREnvironment variableOptionalProvider for scholar_search: browser, searchapi, or fallback. Defaults to browser.
SURF_BROWSER_ENGINEEnvironment variableOptionalBrowser engine: auto, native, or playwright. Auto uses one hidden native Chrome broker shared across local MCP sessions.
CHROME_PATHEnvironment variableOptionalAbsolute path to the Chrome binary. Auto-detected on Windows/macOS/Linux when omitted.
SURF_PROFILE_ROOTEnvironment variableOptionalDirectory for the warm Chrome profile. Defaults to ~/.google-surf-mcp.
SURF_RESEARCHEnvironment variableOptionalEnable Google Surf Auto Ontology: local project memory, evidence capture, and hybrid retrieval. Defaults to true. The SURF_RESEARCH setting name is unchanged.
SURF_RETRIEVAL_MODEEnvironment variableOptionalShared route for search and search_parallel: live or hybrid. Defaults to hybrid.
SURF_RESEARCH_ROOTEnvironment variableOptionalEmbedded SurrealDB data directory. Defaults to <profile>/research.
SURF_RESEARCH_VECTOR_MODELEnvironment variableOptionalLocal model for HNSW retrieval and shared reranking. Defaults to Xenova/multilingual-e5-small; use off to disable.
SURF_RESEARCH_VECTOR_LOW_MEMORYEnvironment variableOptionalDisable ONNX CPU memory arena and memory pattern. Defaults to true.
SURF_RESEARCH_VECTOR_THREADSEnvironment variableOptionalONNX intra-op thread count from 1 to 16. Defaults to 4.
SURF_RESEARCH_REPO_AUTOEnvironment variableOptionalSparse-index at most one eligible small GitHub repository per search call. Defaults to true.
SURF_RESEARCH_REPO_AUTO_MAX_MBEnvironment variableOptionalMaximum searchable repository source-text size in MB. Assets are excluded. Defaults to 20.
SURF_RESEARCH_REPO_AUTO_MAX_FILESEnvironment variableOptionalMaximum repository source file count for automatic indexing. Defaults to 2000.
SURF_RESEARCH_BROKER_IDLE_MSEnvironment variableOptionalShared Auto Ontology broker idle lifetime in milliseconds. Defaults to 60000.
SURF_RESEARCH_READ_CONCURRENCYEnvironment variableOptionalMaximum concurrent Auto Ontology broker reads. Defaults to 4.
SURF_RESEARCH_QUERY_TIMEOUT_MSEnvironment variableOptionalTimeout per embedded SurrealDB query in milliseconds. Defaults to 120000; timed-out retrieval lanes are reported as partial.
GITHUB_TOKENEnvironment variable, secretOptionalOptional token that raises GitHub API limits for repository inspection.
SURF_LOCALEEnvironment variableOptionalBrowser 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

A

No 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 →
Agent Skills Search Server agentskills
100

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.

BAA Remote 28k
Exa exa-labs
100

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.

AAA Remote 5.3k
Apify apify
100

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.

AAA Remote 19k
changedetection.io (official) dgtlmoon
100

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.

AAA Remote 36k
brave brave
95

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.

AAA Remote 1.6k
Scrapling MCP ServerD4Vinci
94

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.

AAA Local 107k

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.

google-surf-mcp Install

Add to stack

Loading.