The cloud tradeoff
Understanding or exposure. The deeper the agent reads, the more your code travels — so teams hold back, and the agent stays shallow.
BORN AT APPLIED MATERIALS
ChunkHound was created by engineers at Applied Materials to reverse-engineer a 180-million-line, 24-year-old codebase; today it is an independent, MIT-licensed community project.
That result comes from a single engine, running on your machine — see how the engine works
We’ve repeatedly demonstrated compressing what used to take 2–3 months down to 2–3 days. Claude Code orchestrates tens to hundreds of deep research calls over our monorepo, zooming into each subsection systematically.
— Ofir Rozenfeld, AI Transformation Product Manager at Applied Materials
Disclaimer
ChunkHound is an independent open-source project, not affiliated with, endorsed, or sponsored by Applied Materials.
LOCAL INDEX
ChunkHound builds and searches the index locally, so your agent can explore the whole codebase without a hosted index service. Model processing is a separate choice: use local providers for local processing, or send request content to remote providers you select.
Understanding or exposure. The deeper the agent reads, the more your code travels — so teams hold back, and the agent stays shallow.
ChunkHound lives where your code lives. The agent gets the whole territory — every module, every commit — while the index stays on your machine. You choose which providers process request content.
Cheap embeddings and a cheap reranker narrow every question to high-signal context, so affordable models carry the research. You pay your providers at cost; ChunkHound takes no markup.
You draw the trust boundary: choose local providers (Ollama, vLLM) for local model processing, or remote embedding and LLM providers when their data boundary fits. Remote embedding, reranking, and LLM providers receive request content. Web research also contacts external sites and services.
THE WAY DEVELOPERS ACTUALLY WORK
When developers get stuck, they trace the code, read the commit history and diffs, and search the web. ChunkHound lets agents do the same across your entire codebase, docs, GitHub issues, tutorials, benchmarks, and fixes buried online—then returns one answer with links back to every source.
INSIDE YOUR REPO
OPEN IN THE BROWSER
THE QUESTIONS THAT NEED BOTH
Stack trace + code + git + upstream issues
Follow the failure through your code, find the commit that changed the behavior, then connect it to upstream issues, release notes, and known fixes.
Architecture + docs + tutorials + benchmarks
Start with your architecture and constraints, compare real solutions, read the docs and tutorials, and see how the options perform in practice.
Diff + project history + current best practices
Check the diff against the surrounding system and its history, then compare its APIs, tests, and security choices with current guidance.
Privacy
Web discovery and fetching contact DuckDuckGo and source websites. Full model-processing privacy requires local embedding, reranking, and LLM providers.
FROM LAPTOP TO COMPANY NETWORK
Run enterprise-scale research today on developer laptops, in CI, or over HTTP MCP while keeping the runtime, index, provider boundaries, and software economics under your control.
Give agents relevant code, call paths, and history across tens of millions of lines—without manually assembling context.
Run the research process and project database on infrastructure you control. MIT software adds no mandatory ChunkHound license, seat, query, or index fee.
Use local endpoints to keep model processing local, or remote embedding, reranking, and LLM providers when their data boundary and API cost fit. Remote providers receive request content.
Each layer is independent — pick any embedding, research model, and agent.
First, install ChunkHound
Requires uv.
Choose the embeddings that index and find your code.
The model for deep research — configured separately from retrieval.
Connect the MCP tools to the coding agent you use.
Review the generated commands, choose a shell, then copy them.
# Keep generated configuration files out of version control.
echo .chunkhound.json >> .gitignore
echo .pi/mcp.json >> .gitignore
# Configure ChunkHound with VoyageAI embeddings and Vercel AI Gateway for research. Embedding and LLM providers are independent — either works without the other. Field details: https://chunkhound.ai/docs/configuration/
# You'll need: VoyageAI API key · Vercel AI Gateway API key
cat > .chunkhound.json <<'CHUNKHOUND_EOF'
{
"embedding": {
"provider": "voyageai",
"model": "voyage-4-lite",
"rerank_model": "rerank-3-lite",
"api_key": "<YOUR_VOYAGE_API_KEY>"
},
"llm": {
"provider": "vercel",
"model": "deepseek/deepseek-v4.1-flash",
"api_key": "<YOUR_VERCEL_API_KEY>"
}
}
CHUNKHOUND_EOF
# Configure Pi to connect to ChunkHound via MCP. Restart Pi from your project root and grant project trust so it can read .pi/mcp.json.
if [ -f .pi/mcp.json ]; then
cat <<'CHUNKHOUND_EOF'
.pi/mcp.json already exists — merge this block into it manually:
{
"mcpServers": {
"ChunkHound": {
"command": "chunkhound",
"args": [
"mcp"
],
"timeout": 1200,
"exposure": "direct"
}
}
}
CHUNKHOUND_EOF
else
mkdir -p .pi
cat > .pi/mcp.json <<'CHUNKHOUND_EOF'
{
"mcpServers": {
"ChunkHound": {
"command": "chunkhound",
"args": [
"mcp"
],
"timeout": 1200,
"exposure": "direct"
}
}
}
CHUNKHOUND_EOF
fi
# Build ChunkHound's search index for this project.
chunkhound index . Run these local model commands first.
START HERE
Install once, index the repo you are already in, and ask your agent a question that needs the whole system.
No license or per-seat fee · Your index stays on your machine · MIT licensed