HarimxChoi/google-surf-mcp

Turn Google Search, Papers, and Codebases into an Automatic Local Knowledge Graph for AI Agents.

What it solves

Searching the internet for research and code is one thing; remembering, organizing, and re-finding that information is another. google-surf-mcp lets an AI agent search the web, papers, and codebases, then automatically organizes everything it reads into a local, personal knowledge graph. No API key or separate database server is required for basic use, and you can build a linked, searchable knowledge base from sources and project records.

How it works

The server exposes seven tools (search, scholar_search, extract, project_memory_search, project_memory, health, and search_parallel) to an MCP client. Web search runs through your system Chrome in a dedicated logged-out profile (so your personal profile stays untouched), with CAPTCHA detection and multiple strategies for parsing results. When you read a page, PDF, or GitHub repo, the content is extracted and automatically saved. Auto Ontology then organizes these saved sources and any project records your agent adds into a typed knowledge graph, linking related items via DOIs, repository URLs, or aliases. Later, hybrid retrieval (exact-match, keyword, semantic, and graph) with RRF fusion and a shared reranker lets you find stored knowledge across selected projects, and you can export the graph as HTML, PNG, JSON, Graphviz DOT, or Neo4j bundles.

Who it’s for

It is designed for AI agents that need to do deep research and maintain a persistent, structured memory. Anyone running a Model Context Protocol client (for example, coding assistants, research bots) can plug this in to give the agent web-scale search, document extraction, and an organized knowledge base that survives across sessions. It is also useful for developers who want to search their own local codebases, because Tree-sitter links files, symbols, imports, and function calls.

Highlights

  • Search the web, scholar papers, PDFs, GitHub repositories, and indexed local code without an API key
  • Auto Ontology: automatically organizes every saved source and project record into a typed knowledge graph with evidence and provenance
  • Cross-project hybrid retrieval: combine exact-match, keyword, semantic, and graph search with RRF fusion and a shared reranker
  • Export the knowledge graph as HTML (with a graph explorer), PNG, JSON, Graphviz DOT, or Neo4j import bundles
  • Privacy-friendly browser search: uses a dedicated logged-out Chrome profile and never reads your personal profile

Related

  • Project
  • Project
  • Project
  • Project