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.
Setup
- Clone and enter the repository:
- Create a
.env
file by copying.env.example
: - Configure your
.env
file:Example: - Start the indexing server:
- Configure Cursor to use the local search server:
Create or edit
~/.cursor/mcp.json
: - Restart Cursor IDE to apply the changes.
The server will start indexing your specified projects, and you'll be able to use semantic code search within Cursor when those projects are active.
- Open a project that you configured as indexed.
Create a .cursorrules
file and add the following:
- Start using the Cursor Agent mode and see it doing local vector searches!
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
A Python-based local indexing server that creates semantic search capabilities for codebases using ChromaDB, allowing Cursor IDE to perform vector searches on your code without sending data to external services.
Related MCP Servers
- -securityAlicense-qualityFacilitates integration with the Cursor code editor by enabling real-time code indexing, analysis, and bi-directional communication with Claude, supporting concurrent sessions and automatic reconnection.Last updated -22131TypeScriptMIT License
Chroma MCP Serverofficial
-securityAlicense-qualityA server that provides data retrieval capabilities powered by Chroma embedding database, enabling AI models to create collections over generated data and user inputs, and retrieve that data using vector search, full text search, and metadata filtering.Last updated -157PythonApache 2.0- -securityAlicense-qualityA Python server that enables AI assistants to perform hybrid search queries against Apache Solr indexes through the Model Context Protocol, combining keyword precision with vector-based semantic understanding.Last updated -1PythonMIT License
- -securityFlicense-qualityA Managed Context Provider server that crawls and indexes Zerops documentation, making it available as a searchable context source for Cursor IDE.Last updated -TypeScript