Kodit: A Code Indexing MCP Server
Kodit connects your AI coding assistant to external codebases to provide accurate and up-to-date snippets of code.
⭐ 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:
- Please contribute more instructions! ... any other assistant is likely to work ...
- New in 0.3: Advanced search filters by source, language, author, date range, and file path
- New in 0.3: Hybrid search combining BM25 keyword search with semantic search
- New in 0.4: Enhanced MCP tools with rich context parameters and metadata
Hosted MCP Server
New in 0.4: Try Kodit instantly with our hosted MCP server at https://kodit.helix.ml/mcp! No installation required - just add it to your AI coding assistant and start searching popular codebases immediately.
The hosted server provides:
- Pre-indexed popular open source repositories
- Zero configuration - works out of the box
- Same powerful search capabilities as self-hosted Kodit
- Perfect for trying Kodit before setting up your own instance
Find out more in the hosted Kodit documentation.
Enterprise Ready
Out of the box, Kodit works with a local SQLite database and very small, local models. But enterprises can scale out with performant databases and dedicated models. Everything can even run securely, privately, with on-premise LLM platforms like Helix.
Supported databases:
- SQLite
- Vectorchord
Supported providers:
- Local (which uses tiny CPU-only open-source models)
- OpenAI
- Secure, private LLM enclave with Helix.
- Any other OpenAI compatible API
NEW in 0.3: Enhanced deployment options:
- Docker Compose configurations with VectorChord
- Kubernetes manifests for production deployments
Quick Start
Documentation
Roadmap
The roadmap is currently maintained as a Github Project.
💬 Support
For commercial support, please contact Helix.ML. To ask a question, please open a discussion.
License
Metadata
Release files for kodit 0.5.24
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kodit-0.5.24.tar.gz | 682.3 kB | Without provenance | Details for kodit-0.5.24.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kodit-0.5.24-py3-none-any.whl | Python 3 | none | any | Details for kodit-0.5.24-py3-none-any.whl |
Total release size: 967.0 kB
Release files / kodit-0.5.24.tar.gz
| Download URL | kodit-0.5.24.tar.gz |
|---|---|
| Size | 682.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
232fbc5f6c18d8f6c830bd00874d36067442859dc8642254a94e5873b28e738e
|
|
BLAKE2b-256 checksum How to use checksums |
a7366f3527023d031d322fcf042b8829b5d06fecabc15477be4f582858488c13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / kodit-0.5.24-py3-none-any.whl
| Download URL | kodit-0.5.24-py3-none-any.whl |
|---|---|
| Size | 284.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6aa0cb356b8d06feebb41436a03330a93ead7f86a4730d6712d4be8117d22f86
|
|
BLAKE2b-256 checksum How to use checksums |
d981a51a35f458709b9ca55ba53ae9b5e702161b4c8ccb411157c49168abb002
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for kodit 0.5.24
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.