kodit
by helixml
👩💻 MCP server to index external repositories
# Add to your Claude Code skills
git clone https://github.com/helixml/kodit:star: Help us reach more developers and grow the Helix community. Star this repo!
Helix Kodit is an MCP server that connects your AI coding assistant to external codebases. It can:
- Improve your AI-assisted code by providing canonical examples direct from the source
- Index local and public codebases
- Integrates with any AI coding assistant via MCP
- Search using keyword and semantic search
- Integrate with any OpenAI-compatible or custom API/model
If you're an engineer working with AI-powered coding assistants, Kodit helps by providing relevant and up-to-date examples of your task so that LLMs make less mistakes and produce fewer hallucinations.
Features
Codebase Indexing
Kodit connects to a variety of local and remote codebases to build an index of your code. This index is used to build a snippet library, ready for ingestion into an LLM.
- Index local directories and public Git repositories
- Build comprehensive snippet libraries for LLM ingestion
- Support for 20+ programming languages including Python, JavaScript/TypeScript, Java, Go, Rust, C/C++, C#, HTML/CSS, and more
- Advanced code analysis with dependency tracking and call graph generation
- Intelligent snippet extraction with context-aware dependencies
- Efficient indexing with selective reindexing (only processes modified files)
- Privacy first: respects .gitignore and .noindex files
- NEW in 0.3: Auto-indexing configuration for shared server deployments
- NEW in 0.3: Enhanced Git provider support including Azure DevOps
- NEW in 0.3: Index private repositories via a PAT
- NEW in 0.3: Improved progress monitoring and reporting during indexing
- NEW in 0.3: Advanced code slicing infrastructure with Tree-sitter parsing
- NEW in 0.4: Automatic periodic sync to keep indexes up-to-date
MCP Server
Relevant snippets are exposed to an AI coding assistant via an MCP server. This allows the assistant to request relevant snippets by providing keywords, code, and semantic intent. Kodit has been tested to work well with:
- Seamless integration with popular AI coding assistants
- Tested and verified with:
- [Cursor](https://docs.helix.ml/k...