octocode: Local-First Semantic + Structural Code Search MCP

donk8r · reddit · 2026-07-06

donk8r open-sourced octocode (Rust, Apache-2.0), a local-first MCP server that indexes codebases to provide semantic and structural search, preventing agents from repeatedly grepping and reading entire files. Features: chunking based on tree-sitter AST using real code boundaries (functions/classes/methods); semantic + BM25 hybrid retrieval; incremental rebuilds via content hashing to keep indexes fresh; GraphRAG disabled by default and available on demand; local embeddings (fastembed) requiring no API key, keeping code entirely on-device.

Original post →

More from coding & agent

coding & agent channel →