
Zoekt Mcp
Brings Sourcegraph Zoekt's indexed code search to Claude and other MCP clients through three straightforward tools: search_code for fast regex and symbol-aware queries, list_repos to see what's indexed, and get_file to pull content. You run zoekt-webserver yourself via Docker Compose, point it at a parent directory, and every subdirectory becomes a searchable repo. The MCP server itself is a Python stdio process you can launch through uvx or Docker, no git clone required. Reach for this when you need substring or symbol search across multiple repositories in a single query, especially in larger codebases where grep gets slow. The server talks JSON over HTTP to your self-hosted Zoekt instance and shapes results back to the agent.
- tools
- 3
- transport
- STDIO
- env var
- 1
- last updated
- Apr 9, 2026
Tools
3 toolsPublic tool metadata for what this MCP can expose to an agent.
search_codeSearch code across indexed repositories using Zoekt query syntax, returning matching files and lines.
Search code across indexed repositories using Zoekt query syntax, returning matching files and lines.
No parameter schema in public metadata yet.
list_reposList indexed repositories, optionally filtered by a repo: atom.
List indexed repositories, optionally filtered by a repo: atom.
No parameter schema in public metadata yet.
get_fileFetch the content of a file from a given repository and branch.
Fetch the content of a file from a given repository and branch.
No parameter schema in public metadata yet.
Sponsors
Configuration
ZOEKT_URLBase URL of the zoekt-webserver backend (defaults to http://localhost:6070)
Readme
zoekt-mcp
An MCP server that exposes Sourcegraph Zoekt code search to any MCP-capable AI agent — Claude Code, Claude Desktop, Cursor, MCP Inspector, etc. — so the agent can run fast, indexed, regex/symbol-aware code search over your repositories regardless of the language you're working in.
Details
- Repository
- github.com/radiovisual/zoekt-mcp
- Categories
- Developer Tools, Search & Web Crawling
- Package
zoekt-mcp- Transport
- STDIO
- Registry
- MCP registry, active