Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ChunkHoundExplain how the authentication flow interacts with the session management logic."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Your AI assistant searches code but doesn't understand it. ChunkHound researches your codebase—extracting architecture, patterns, and institutional knowledge at any scale. Integrates via MCP.
Features
cAST Algorithm - Research-backed semantic code chunking
Multi-Hop Semantic Search - Discovers interconnected code relationships beyond direct matches
Semantic search - Natural language queries like "find authentication code"
Regex search - Pattern matching without API keys
Local-first - Your code stays on your machine
30 languages with structured parsing
Programming (via Tree-sitter): Python, JavaScript, TypeScript, JSX, TSX, Java, Kotlin, Groovy, C, C++, C#, Go, Rust, Haskell, Swift, Bash, MATLAB, Makefile, Objective-C, PHP, Vue, Svelte, Zig
Configuration: JSON, YAML, TOML, HCL, Markdown
Text-based (custom parsers): Text files, PDF
MCP integration - Works with Claude, VS Code, Cursor, Windsurf, Zed, etc
Real-time indexing - Automatic file watching, smart diffs, seamless branch switching
Documentation
Visit
Requirements
Python 3.10+
API keys (optional - regex search works without any keys)
Embeddings: VoyageAI (recommended) | OpenAI | Local with Ollama
LLM (for Code Research): Claude Code CLI or Codex CLI (no API key needed) | Anthropic | OpenAI
Installation
Quick Start
Create
.chunkhound.jsonin project root
Note: Use
"codex-cli"instead if you prefer Codex. Both work equally well and require no API key.
Index your codebase
For configuration, IDE setup, and advanced usage, see the
Why ChunkHound?
Approach | Capability | Scale | Maintenance |
Keyword Search | Exact matching | Fast | None |
Traditional RAG | Semantic search | Scales | Re-index files |
Knowledge Graphs | Relationship queries | Expensive | Continuous sync |
ChunkHound | Semantic + Regex + Code Research | Automatic | Incremental + realtime |
Ideal for:
Large monorepos with cross-team dependencies
Security-sensitive codebases (local-only, no cloud)
Multi-language projects needing consistent search
Offline/air-gapped development environments
Stop recreating code. Start with deep understanding.
License
MIT