Quick Start
Kodit has two key components. A configuration CLI to manage what gets indexed and an MCP server to expose your code to an AI coding assistant.
1. Index a source
Index a local path
kodit index /path/to/your/code
or index a public git repository
kodit index https://github.com/pydantic/pydantic-ai
2. Manually search your index
Search with a semantic description of the code:
kodit search text "an example function"
or with a keyword
kodit search keyword "test"
or with code
kodit search code "def main()"
or via hybrid search
kodit search code hybrid --keywords "main" --code "def main()" --text "example main function"
3. Start an MCP server
kodit serve