chunkhound/chunkhound
Enterprise-scale engineering research. On your laptop.
What it solves
Large software projects are hard to understand, and typical solutions either force you onto hosted, per-seat enterprise platforms or leave you with shallow, disconnected lookups. ChunkHound removes that tradeoff: it brings enterprise-scale research — even codebases up to 180 million lines — to a single developer laptop, while keeping the runtime, index, and data under your control. It also solves the fragmentation problem by treating code, git history, and external web pages as one connected source of evidence, so you don't have to switch between separate tools.
How it works
ChunkHound builds a persistent structural index of your codebase using Tree-sitter for many languages (Python, JavaScript, TypeScript, Java, Go, Rust, C/C++, and more). It then combines exact and semantic retrieval — you can search by meaning, not just text — and can also research git history across commits, diffs, branches, tags, and ranges. For external context, it fetches and indexes rendered web pages and PDFs. Every answer is produced with citations, so you can trace it back to specific files, commits, or web sources. You interact with it through a CLI, or expose the same engine to higher-level AI agents via MCP over stdio or HTTP. The engine runs locally by default; you choose which embedding, reranking, and LLM providers to use (including fully local ones), and you pay only for those external services if you use them.
Who it’s for
ChunkHound is built for developers and engineering teams working on large repositories, monorepos, multi-language codebases, or legacy systems. It’s also a strong fit for security-sensitive or local-only environments where data must stay on your own machine. And if you’re building AI agents that need to answer questions about code, git history, or product behavior with grounded citations, ChunkHound gives you a local, private research backend.
Highlights
- Semantic code search that finds code by meaning, not only exact text
- Cited code research that explains behavior across files with source references
- Git history research over last N commits, commit hashes, tags, branches, or ranges
- Pinpoint web research that brings external docs, APIs, and issues into the same workflow
- Autodoc for generating shareable, code-backed documentation
- Local-first indexing — your index, runtime, and data stay under your control
- Multi-language support via Tree-sitter (Python, JavaScript, TypeScript, Java, Go, Rust, C/C++, and more)
- MIT licensed, free, with no mandatory license, seat, query, or index fees
Related
- Project
- Project
- Project
- Project
- Project