chunkhound
by chunkhound·★ 1,258·Score 55
Local-first codebase intelligence tool with MCP integration for semantic code searching across 32+ languages.
Overview
ChunkHound is a local-first codebase intelligence tool that extracts architecture, patterns, and institutional knowledge from codebases. It uses a research-backed cAST algorithm for semantic code chunking and provides multi-hop semantic search capabilities beyond direct matches. The tool supports both semantic search using natural language queries and regex pattern matching without API keys, making it versatile for different use cases while maintaining local privacy.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose ChunkHound when you need deep code relationship analysis in security-sensitive environments or large multi-language codebases where traditional search falls short.
When NOT to choose this
Avoid ChunkHound if you need cloud-based search with minimal local setup or if you're working exclusively with codebases that don't benefit from semantic relationship analysis.
Tools this server exposes
6 tools extracted from the READMEsearch_codeSemantic search for code using natural language queries
regex_searchPattern matching search in code without API keys
index_codebaseIndex the codebase for semantic search and analysis
find_dependenciesDiscover interconnected code relationships and dependencies
code_analysisAnalyze code patterns and architecture
research_codeDeep research into code using multi-hop semantic search
Note: Tool names inferred from feature descriptions and documentation about capabilities. The README mentions MCP integration but doesn't explicitly list tool names with signatures.
Comparable tools
Installation
- Install uv package manager if needed:
curl -LsSf https://astral.sh/uv/install.sh | sh - Install ChunkHound:
uv tool install chunkhound - Create
.chunkhound.jsonin project root with your API keys (optional for regex search) - Index your codebase:
chunkhound index
For Claude Desktop integration, add to your config.json:
{
"mcpServers": {
"chunkhound": {
"command": "chunkhound",
"args": ["serve"]
}
}
}FAQ
- Does ChunkHound require internet connectivity?
- No, ChunkHound is local-first and works offline. However, some features like semantic search may require API keys for embeddings which would need internet.
- Which programming languages does ChunkHound support?
- ChunkHound supports 32 languages including Python, JavaScript/TypeScript, Java, C/C++, Go, Rust, and many others. It uses Tree-sitter for parsing programming languages and custom parsers for text-based files.
On Hacker News
Recent discussion from the developer community.
- Story by NadavBenItzhak · 2026-01-17
Compare chunkhound with
Last updated · Auto-generated from public README + GitHub signals.