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

  1. Index a local path

    kodit index /path/to/your/code
  2. or index a public git repository

    kodit index https://github.com/pydantic/pydantic-ai

2. Manually search your index

  1. Search with a semantic description of the code:

    kodit search text "an example function"
  2. or with a keyword

    kodit search keyword "test"
  3. or with code

    kodit search code "def main()"
  4. or via hybrid search

    kodit search code hybrid --keywords "main" --code "def main()" --text "example main function"

3. Start an MCP server

kodit serve

Now add the Kodit MCP server to your AI coding assistant.