Octocode is a free, open-source code intelligence tool that helps AI coding assistants understand and navigate software repositories. Built in Rust, it combines semantic search, structural analysis, and dependency graphs in a single application. Developers can locate code using natural language queries or search for specific symbol definitions and references. Its knowledge graph identifies relationships involving imports, function calls, inheritance, and implementations. Language server integration provides additional code navigation and symbol information. A built-in MCP server connects Octocode to Claude Code, Codex, Cursor, and other compatible assistants. Local embedding and reranking models enable private code indexing without requiring API credentials. Octocode also supports document searching and command-line workflows.
Features
- Hybrid semantic and keyword code searching with configurable result reranking
- Structural source code analysis for locating symbol definitions and usages
- Live dependency graphs tracking imports, calls, inheritance, and implementations
- Built-in MCP server integration with Claude Code, Codex, Cursor, and other assistants
- Local embedding models with optional remote AI providers for code indexing
- Language server integration and documentation searching with command-line controls