MCP Codebase Index
A semantic codebase search server based on the MCP protocol, using Gemini embeddings and Qdrant vector storage to provide code understanding and search functions for AI editors.
rating : 2.5 points
downloads : 6.8K
What is the MCP Codebase Index Server?
This is an intelligent code search server based on the Model Context Protocol (MCP). It can understand the semantic meaning of your codebase, rather than just performing keyword matching. Through AI technology, it can transform your entire codebase into a searchable knowledge base, enabling AI assistants (such as GitHub Copilot) to answer questions about your project more accurately.How to use the MCP Codebase Index Server?
Simply configure 4 environment variables (project path, Gemini API key, Qdrant cloud address, and API key), and the server will automatically index your codebase. After that, you can directly ask questions about the code in the supported editors, and the AI will provide accurate answers based on the semantic understanding of the codebase.Applicable scenarios
It is suitable for any scenario that requires quick understanding, searching, and exploration of the codebase, especially: when new members join the project, when refactoring large codebases, when searching for specific function implementations, when understanding the project architecture, and for daily code query needs in development.Main Features
Semantic Search
Search based on the code's meaning rather than keywords, and can understand the function and intention of the code
Incremental Indexing
Only re-index the changed files, saving more than 90% of the time
Real-time Monitoring
Automatically monitor file changes and update the index to keep the search results up-to-date
Multi-language Support
Supports more than 15 programming languages, including Python, TypeScript, Java, Go, etc.
Vector Visualization
Transform the codebase into 2D/3D visual charts to intuitively display the semantic relationships of the code
Prompt Enhancement
Automatically optimize search queries to improve search accuracy and relevance
Parallel Processing
Index processing is accelerated by 25 times, enabling fast processing of large codebases
Auto-save Checkpoints
Automatically save the progress every 10 files, supporting resuming the index at any time
Advantages
Intelligently understand the code semantics, resulting in more accurate search results
Incremental indexing significantly improves efficiency and saves time
Supports multiple editors and development environments
Visualization features help understand the code architecture
Simple configuration, only requiring 4 environment variables
Real-time updates to keep the search content up-to-date
Limitations
Requires a Gemini API key and a Qdrant cloud account
Initial indexing of large codebases takes a certain amount of time
Relies on external API services and requires an internet connection
Some special code structures may not be perfectly segmented
How to Use
Get the necessary API keys
Register and obtain a Google Gemini API key (free) and a Qdrant cloud account
Configure the MCP server
Add the server configuration to the MCP configuration file in the editor and set the environment variables
Restart the editor
Restart VS Code or other editors, and the server will automatically start indexing your codebase
Start searching
Directly ask questions about the code in the supported editors, and the AI will answer based on the indexed codebase
Usage Examples
Find the authentication function
When you need to understand how the authentication function is implemented in the project
Understand the project architecture
Quickly understand the overall architecture when newly joining a project
Fix a specific issue
Find and fix bugs in a specific function
Code refactoring
Understand the distribution of relevant code before refactoring
Frequently Asked Questions
What if the server doesn't appear in the editor?
What if I can't connect to Qdrant?
What if the indexing speed is too slow?
Which programming languages are supported?
Does the prompt enhancement feature require special commands?
Related Resources
Full documentation
Contains detailed descriptions and configuration guides for all features
VS Code setup guide
Detailed installation and configuration steps for VS Code and GitHub Copilot
Vector visualization guide
How to use the codebase visualization feature and understand the meaning of the charts
Prompt enhancement guide
Best practices for effectively using the prompt enhancement feature
GitHub repository
Project source code and latest updates
Qdrant cloud registration
Register for a free Qdrant cloud account to obtain an API key
Google AI Studio
Obtain a free Gemini API key

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
16.3K
4.5 points

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
18.0K
4.3 points

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
26.3K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
52.0K
4.3 points

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
49.8K
4.5 points

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#
22.1K
5 points

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
35.9K
4.8 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
73.3K
4.7 points