kodit
by helixml·★ 119·Score 49
Kodit is a code and document intelligence server that indexes Git repositories and provides search through MCP and REST APIs.
Overview
Kodit is a powerful tool that indexes Git repositories and documents, splitting source files into searchable snippets accessible through MCP or REST APIs. It supports multiple search strategies including BM25 keyword search, semantic vector search, regex grep, and visual document search. The server can be deployed with Docker, pre-built binaries, or as a Go library, making it flexible for different use cases.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose Kodit when you need a self-hosted solution for indexing your own repositories and want to give AI assistants direct access to your codebase patterns without sending code to external services.
When NOT to choose this
Avoid Kodit if you need write access to repositories (this is read-only) or if you're looking for a cloud-hosted solution with minimal infrastructure management.
Tools this server exposes
12 tools extracted from the READMEkodit_repositoriesList all indexed repositories
kodit_semantic_searchSemantic similarity search across code
kodit_keyword_searchBM25 keyword search
kodit_visual_searchSearch document page images
kodit_grepRegex pattern matching
kodit_lsList files by glob pattern
kodit_read_resourceRead file content by URI
kodit_architecture_docsArchitecture documentation for a repo
kodit_api_docsPublic API documentation
kodit_database_schemaDatabase schema documentation
kodit_cookbookUsage examples and patterns
kodit_commit_descriptionCommit description
Comparable tools
Installation
Installation
Docker (recommended)
docker run -p 8080:8080 registry.helix.ml/helix/kodit:latestPre-built binaries
Download a binary from the [releases page](https://github.com/helixml/kodit/releases), then:
chmod +x kodit
./kodit serveClaude Desktop integration
Add to claude_desktop_config.json:
{
"mcpServers": {
"kodit": {
"command": "kodit",
"args": ["serve"],
"env": {
"DATA_DIR": ".kodit"
}
}
}
}FAQ
- What search methods does Kodit support?
- Kodit supports BM25 keyword search, semantic vector search, regex grep, and visual document search, each exposed as separate MCP tools.
- Can Kodit work with AI coding assistants?
- Yes, Kodit works with Claude Code, Cursor, Cline, Kilo Code, and any other MCP-compatible assistant through its MCP endpoint.
On Hacker News
Recent discussion from the developer community.
- Story by lewq · 2025-06-10
Compare kodit with
Last updated · Auto-generated from public README + GitHub signals.