Codeix
@montanetech
Fast semantic code search for AI agents — find symbols, references, and callers across any codebase. Pre-built index committed to git, instant queries via MCP
Overview
What is Codeix?
Codeix is a fast semantic code search server for AI agents. It provides structured code indexing via tree-sitter and exposes seven MCP tools to query symbols, references, callers, and prose across any codebase. The server is designed for developers and AI coding agents who need symbol-level navigation without scanning raw text.
How to use Codeix?
Install with npx codeix, uvx codeix, cargo install codeix, or brew install codeix. Run codeix build to index the current project, then codeix to start the MCP server (which watches for changes). Add "command": "codeix" to your MCP client config. Use -r <path> to serve from a specific directory.
Key features of Codeix
- Pre-built code index committed to Git and shareable
- Seven MCP tools: explore, search, get_file_symbols, get_children, get_callers, get_callees, flush_index
- Structured output with symbol kinds, signatures, and parent relationships
- Prose search targeting comments, docstrings, and string literals
- Fast indexing and querying (Rust + tree-sitter + SQLite FTS5)
- Composable – auto-discovers and mounts dependency indexes
- Local only, deterministic, offline-capable
Use cases of Codeix
- AI coding agents resolving symbols and callers without scanning source files
- Navigating large monorepos with multiple Git projects and submodules
- Searching for TODOs, error messages, or docstrings specifically
- Using dependency indexes shipped with packages (npm, PyPI, crates.io)
- Offline or air-gapped code analysis
FAQ from Codeix
How is Codeix different from grep or text search?
Grep finds text matches, not symbols. Codeix returns structured results (function definitions, classes, imports) with line ranges and signatures, so the agent doesn't confuse a definition with a comment.
What are the system requirements?
Codeix is a single binary with no runtime dependencies. It requires a recent operating system and works offline. Source code must be buildable (Rust toolchain required only if building from source).
Can I share the index with teammates?
Yes. The index (.codeindex/) is committed to Git, so cloning the repo gives every developer instant access. Library authors can include it in their packages.
Does Codeix require network access?
No. Codeix is local-only – no network calls, no API keys, and works air-gapped.
Which languages are supported?
Python, Rust, JavaScript, TypeScript, Go, Java, C, C++, Ruby, C#, and Markdown. HTML, Vue, Svelte, and Astro files have embedded script support. All listed languages are enabled by default.