This release is a pre-release and may not be stable for production use.
Enterprise-scale engineering research. On your laptop.
Connect code, git history, rendered web pages, and technical documents through one local-first engine that returns cited understanding to AI agents through CLI or MCP.
Own the runtime. Own the index. Choose the models. Pay no license or per-seat fee.
Getting Started · Configuration · CLI Reference
Requirements
- Python 3.10+
- uv — install via
curl -LsSf https://astral.sh/uv/install.sh | sh - API keys (optional — regex search works without any):
Enterprise-scale research without an enterprise platform
Local code intelligence is often treated as a small-project compromise. Enterprise-scale systems are usually proprietary, hosted, and priced by seat or query. ChunkHound breaks that tradeoff: it has researched production codebases of up to 180 million lines from one developer laptop.
The runtime and index remain under your control. ChunkHound is MIT licensed, stores its database locally, and requires no hosted ChunkHound corpus, platform license, seat, or query fee. Your model APIs and hardware may still have their own costs.
One engine across engineering evidence
ChunkHound connects the sources needed to understand large software systems instead of treating each as a separate shallow lookup.
Current code at enterprise scale
Build a persistent structural index, combine exact and semantic retrieval, and trace behavior across large, multi-language repositories.
Git history through the same research pipeline
Investigate commits, diffs, branches, tags, and ranges with the retrieval and synthesis used for current code. Git diff research currently has a hard cap; streaming git research is proposed in #336, not shipped.
Technical web pages and documents
Research rendered web pages and PDFs, then connect cited external evidence to implementation and change history. Web discovery and fetching contact DuckDuckGo and source websites.
Cited synthesis for any agent
Use ChunkHound directly from the CLI or expose the same local research engine to higher-level AI agents through MCP over stdio or HTTP.
Own the deployment and its boundaries
- Ownership — keep the runtime, project database, deployment, and provider choices under your control.
- Privacy — indexing and research execute locally; choose local embedding, reranking, and LLM providers to keep model processing local.
- Cost control — the software is free and open source, with no mandatory ChunkHound license, seat, query, or index fee.
- Provider transparency — remote model providers receive the content required for their requests; external APIs and hardware may cost money.
What you can ask
Ground an agent before edits
chunkhound research "How does authentication work?"
chunkhound search "JWT refresh token validation"
chunkhound research "What changed in auth recently?" --last-n 20
Understand a large PR or release
chunkhound research "Summarize the behavior changes on this branch for reviewers" --commit-range main..HEAD
chunkhound research "Draft changelog bullets for billing since v2.4" --commit-range v2.4..HEAD
chunkhound search "database migration" --commit-hash abc1234
Get context before resolving conflicts
chunkhound research "Why did auth session handling change on each side?" --commit-range main..feature/auth
chunkhound search "session refresh conflict" --last-n 50
Trace a bug with external constraints
chunkhound research "why would webhook retries fail?"
chunkhound research "what changed in webhook handling this week?" --last-n 30
chunkhound websearch "Stripe webhook retry schedule"
Explain product behavior
chunkhound research "What happens when a user cancels a subscription?"
chunkhound research "What changed in billing since v2.4?" --commit-range v2.4..HEAD
What powers deep understanding
- Semantic code search — find relevant code by meaning, not only exact text
- Cited code research — explain behavior across files with source citations
- Git history research — ask by last N commits, commit hash, tag, branch, or range to understand large PRs and releases
- Pinpoint web research — bring cited external docs, APIs, issues, and articles into the same workflow as local code research
- Autodoc — generate shareable docs from code-backed research
- Local-first indexing — keep code search and indexing under your control
- Python, JavaScript, TypeScript, Java, Go, Rust, C/C++, and more via Tree-sitter
Install
uv tool install chunkhound
Try it
chunkhound index .
chunkhound research "How does authentication work?"
Index once, ask a real architecture question, and get a grounded answer with citations. Regex search works without providers. Semantic search requires an embedding provider. Deep research requires an LLM provider and an embedding provider with reranking support; web research uses the same provider stack. Choose local providers for zero-code-egress setups.
For a full configurable setup, create .chunkhound.json in your project root:
{
"embedding": { "provider": "voyageai", "api_key": "your-key" },
"llm": { "provider": "claude-code-cli" }
}
For editor integration, all provider options, and advanced configuration:
→ chunkhound.ai/docs/getting-started
Search git history
In addition to searching your indexed codebase, ChunkHound can search code changes across git history — useful for understanding what changed in a PR, a release, or since a specific commit.
# Last N commits
chunkhound search "authentication changes" --last-n 20
# Changes introduced by a specific commit
chunkhound search "database migration" --commit-hash abc1234
# Custom git range
chunkhound search "API changes" --commit-range v2.0..HEAD
# Deep research over recent changes
chunkhound research "what changed in the auth module?" --last-n 50
--vector-sourcecontrols scope:diff(default, changed code only),both(merges diff + DB),db(ignore diff).
Good fit
ChunkHound is especially useful for:
- large repos and monorepos
- multi-language codebases
- legacy systems
- local-only or security-sensitive environments
- engineering teams that want agents, support, and product questions grounded in the same code index
Community
ChunkHound is MIT licensed, open source, and community built.
License
MIT
Metadata
Release files for chunkhound 6.3.0a4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| chunkhound-6.3.0a4.tar.gz | 1.5 MB | Without provenance | Details for chunkhound-6.3.0a4.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chunkhound-6.3.0a4-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for chunkhound-6.3.0a4-py3-none-win_amd64.whl |
| chunkhound-6.3.0a4-py3-none-manylinux_2_31_x86_64.whl | Python 3 | none | Linux glibc 2.31+ x86-64 | Details for chunkhound-6.3.0a4-py3-none-manylinux_2_31_x86_64.whl |
Total release size: 21.2 MB
Release files / chunkhound-6.3.0a4.tar.gz
| Download URL | chunkhound-6.3.0a4.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e46d7772ee278a0c620c556ed643e1a6a18f9d222658e697ecbd3f82d0543a1a
|
|
BLAKE2b-256 checksum How to use checksums |
19a711c1b6410141aa7cf1d4f32305fd74f0cc4b88f7bff529f11691388a41d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / chunkhound-6.3.0a4-py3-none-win_amd64.whl
| Download URL | chunkhound-6.3.0a4-py3-none-win_amd64.whl |
|---|---|
| Size | 12.8 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1c9cd6dcac6f8fb23a34c0519ad5f9d0af576b4b0b2ff13036bd5b1674173ab5
|
|
BLAKE2b-256 checksum How to use checksums |
64f8713319a03799f920b99ba21991db02451690855fd309d1f89a9babf257e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / chunkhound-6.3.0a4-py3-none-manylinux_2_31_x86_64.whl
| Download URL | chunkhound-6.3.0a4-py3-none-manylinux_2_31_x86_64.whl |
|---|---|
| Size | 6.9 MB |
| Tags | Linux glibc 2.31+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
3cda6baafd64b93336491e918c4b1d3a693930fb5a2196067a28ec5e0383e124
|
|
BLAKE2b-256 checksum How to use checksums |
02df7041726b38a64e3b7d862b544f61bef465de0c2d0553a82fca56cf23709b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for chunkhound 6.3.0a4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.