home / mcp / zoekt mcp server

Zoekt MCP Server

Provides code search across repositories using Zoekt’s indexing and an MCP interface for AI tooling.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "najva-ai-zoekt-mcp": {
      "url": "http://localhost:8080/zoekt/mcp/",
      "headers": {
        "MCP_SSE_PORT": "8000",
        "ZOEKT_API_URL": "http://your-zoekt-instance",
        "MCP_STREAMABLE_HTTP_PORT": "8080"
      }
    }
  }
}

Available tools

search

Search across indexed codebases using Zoekt's advanced query syntax with support for regex, language filters, and boolean operators.

search_prompt_guide

Generate a context-aware guide for constructing effective search queries based on your objective.

fetch_content

Retrieve file contents or browse directory structures from indexed repositories.