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.
More from coding & agent
- Reticle builds a verification layer that lets AI coding agents check their own generated code — Scobleizer · 2026-10-27
- Trust your agent, but read its logs: Claude managed agents tips — brada · 2026-10-27
- Dev training a guard model to block prompt injection, tool and memory poisoning — gnukeith · 2026-10-27
- Dev trains a ~4GB-VRAM sentinel model to guard against prompt injection and poisoned memory — gnukeith · 2026-10-27
- Superset rebrands as Paradev, raises $11.5M seed led by USV — massimosgrelli · 2026-10-27
- Ex-Big Tech managers may thrive in the AI era: manage agents like you managed teams — lxfater · 2026-10-27