Zoekt MCP
Z

Zoekt MCP

The Zoekt MCP Server is a Model Context Protocol service based on the Zoekt code search engine, providing code search, repository discovery, and content fetching functions, specifically designed for AI tool integration.
2.5 points
9.3K

What is the Zoekt MCP Server?

The Zoekt MCP Server is a code search service specifically designed for AI assistants. It provides an interface through the Model Context Protocol (MCP), enabling AI tools to efficiently search and understand the content in code repositories. This service is built on the Zoekt search engine, which is the code indexing engine used by Sourcegraph.

How to use the Zoekt MCP Server?

Before use, you need to configure the Zoekt search server, and then start the MCP service through simple installation steps. After the service is started, AI tools can access the search function through the HTTP interface or integrate through the dedicated MCP protocol.

Applicable scenarios

It is particularly suitable for scenarios such as AI assistants that need to understand large code repositories, code auto - completion tools, and technical documentation generation systems. Developers and technical teams can also use it to build custom code search and analysis tools.

Main features

Code search
Use Zoekt's trigram indexing technology to achieve fast code search, supporting simultaneous search across multiple code repositories.
Advanced query language
Supports advanced search functions such as regular expressions, file filters, language filters, and boolean operators.
Repository discovery
You can find code repositories by name and browse their directory structures.
Content fetching
It can fetch the content of specific files in the repository or list the directory structure.
AI integration
Specifically designed for large language models (LLMs), providing search prompt guidance functions to help AI build more effective queries.
Advantages
High - performance code indexing based on Zoekt, with fast search speed
Supports complex search query syntax for precise code lookup
Optimized for AI tools, providing search guidance functions
Multiple installation methods, supporting Docker containerized deployment
Lightweight service with low resource consumption
Limitations
Requires pre - configuration of the Zoekt search server
Does not support real - time index updates (depending on Zoekt configuration)
Initial indexing of large code repositories may take a long time
Advanced search functions require learning the query syntax

How to use

Install dependencies
Ensure that Python 3.10+ and the Zoekt search server are installed.
Choose an installation method
You can install it using UV (recommended), pip, or Docker.
Configure environment variables
You must set ZOEKT_API_URL to point to your Zoekt instance.
Start the service
Select the corresponding start command according to the installation method.
Integrate into AI tools
If using the Cursor editor, add the server configuration to.mcp.json.

Usage examples

Find test cases
The AI assistant needs to find all test functions in the project to understand the test coverage.
Understand API usage
The AI assistant needs to understand the usage of a certain API in the project.
Code pattern analysis
Developers want to analyze the usage of a certain design pattern in the project.

Frequently Asked Questions

What is the difference between the Zoekt MCP Server and using Zoekt directly?
How do I know if my Zoekt server is working properly?
What could be the reason for incomplete search results?
Which code repositories are supported for search?
How to update the content of the indexed repository?

Related resources

Zoekt official documentation
Official documentation and installation guide for the Zoekt search engine
Model Context Protocol specification
Official specification document for the MCP protocol
Example configuration repository
Contains configuration examples for various usage scenarios
Installation video tutorial
Complete video guide for installation and configuration from scratch

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "zoekt": {
      "url": "http://localhost:8080/zoekt/mcp/"
    }
   }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

C
Claude Context
Claude Context is an MCP plugin that provides in - depth context of the entire codebase for AI programming assistants through semantic code search. It supports multiple embedding models and vector databases to achieve efficient code retrieval.
TypeScript
4.8K
5 points
A
Acemcp
Acemcp is an MCP server for codebase indexing and semantic search, supporting automatic incremental indexing, multi-encoding file processing, .gitignore integration, and a Web management interface, helping developers quickly search for and understand code context.
Python
9.9K
5 points
B
Blueprint MCP
Blueprint MCP is a chart generation tool based on the Arcade ecosystem. It uses technologies such as Nano Banana Pro to automatically generate visual charts such as architecture diagrams and flowcharts by analyzing codebases and system architectures, helping developers understand complex systems.
Python
7.2K
4 points
M
MCP Agent Mail
MCP Agent Mail is a mail - based coordination layer designed for AI programming agents, providing identity management, message sending and receiving, file reservation, and search functions, supporting asynchronous collaboration and conflict avoidance among multiple agents.
Python
8.4K
5 points
M
MCP
The Microsoft official MCP server provides search and access functions for the latest Microsoft technical documentation for AI assistants
13.1K
5 points
A
Aderyn
Aderyn is an open - source Solidity smart contract static analysis tool written in Rust, which helps developers and security researchers discover vulnerabilities in Solidity code. It supports Foundry and Hardhat projects, can generate reports in multiple formats, and provides a VSCode extension.
Rust
8.7K
5 points
D
Devtools Debugger MCP
The Node.js Debugger MCP server provides complete debugging capabilities based on the Chrome DevTools protocol, including breakpoint setting, stepping execution, variable inspection, and expression evaluation.
TypeScript
10.0K
4 points
S
Scrapling
Scrapling is an adaptive web scraping library that can automatically learn website changes and re - locate elements. It supports multiple scraping methods and AI integration, providing high - performance parsing and a developer - friendly experience.
Python
11.9K
5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
17.5K
4.5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
17.5K
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
27.6K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
55.0K
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
24.3K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
51.4K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
17.2K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
36.7K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase