Local Code Indexing for Cursor
@LuotoCompany
关于 Local Code Indexing for Cursor
ChromaDB-powered local indexing support for Cursor, exposed as an MCP server
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"workspace-code-search": {
"type": "http",
"url": "http://localhost:8978/sse"
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Local Code Indexing for Cursor?
An experimental Python-based server that locally indexes codebases using ChromaDB and provides a semantic search tool via an MCP (Model Context Protocol) server for tools like Cursor.
How to use Local Code Indexing for Cursor?
Clone the repository, create a .env file with PROJECTS_ROOT and FOLDERS_TO_INDEX, then start the server with docker-compose up -d. Configure Cursor by adding the server URL http://localhost:8978/sse to ~/.cursor/mcp.json. Optionally create a .cursorrules file to prompt the Cursor Agent to use the @search_code tool.
Key features of Local Code Indexing for Cursor
- Fully local code indexing using ChromaDB
- Semantic code search via MCP for Cursor
- Configurable project root and folders to index
- Docker-based deployment for easy setup
- SSE transport on port 8978
Use cases of Local Code Indexing for Cursor
- Enable Cursor Agent to semantically search your codebase instead of relying on grep
- Quickly find relevant code across multiple projects without leaving the IDE
- Offline, privacy-preserving code search that never sends code to external servers
FAQ from Local Code Indexing for Cursor
What is Local Code Indexing for Cursor?
It is an experimental Python server that indexes your local projects using ChromaDB and exposes a semantic search tool via MCP for use in Cursor.
How do I configure which folders are indexed?
Set PROJECTS_ROOT and FOLDERS_TO_INDEX in your .env file before starting the server.
Does it require Docker?
Yes, the recommended way to run the server is using Docker Compose (docker-compose up -d).
How do I connect it to Cursor?
Edit ~/.cursor/mcp.json to include the server URL http://localhost:8978/sse under mcpServers.workspace-code-search, then restart Cursor.
Where does the indexed data live?
The README does not specify the storage location, but since it uses ChromaDB and runs locally, data is stored on your machine.
开发工具 分类下的更多 MCP 服务器
test
harlancA simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
OpenSumi
opensumiA framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.
Unity MCP (Server + Plugin)
IvanMurzakAI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for fr
DevDocs by CyberAGI 🚀
cyberagiincCompletely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers in mind. Easily integrate into Cursor, Windsurf, Cline, Roo Code, Claude Desktop App
MCP-Bridge
SecretiveShellA middleware to provide an openAI compatible endpoint that can call MCP tools
评论