Performance
Index once, search many times Initial indexing takes time, but subsequent searches are instant
ChunkHound transforms your codebase into a searchable knowledge base for AI assistants. It provides two powerful search methods:
For large codebases, indexing is a separate step that provides significant benefits:
Performance
Index once, search many times Initial indexing takes time, but subsequent searches are instant
Smart Diffing
Only processes changed files Preserves embeddings for unchanged code
Fix Command
Repairs inconsistencies
chunkhound index
detects and fixes database drift
Enterprise Ready
Battle-tested scaling Used on codebases with 75k+ LOC
$ chunkhound index /path/to/large-codebaseScanning 10,000 files...Processing 8,234 Python files, 1,766 TypeScript files...✓ 45,000 chunks indexed✓ Embeddings: 45,000 generated⏱️ Time: 34m 30s
$ chunkhound index # After editing 3 filesDetecting changes...✓ 3 files modified, 8,234 files unchanged✓ 150 chunks updated✓ Embeddings: 150 generated, 45,000 reused⏱️ Time: 18 seconds
Use Case | Mode | Command |
---|---|---|
Personal development | stdio | chunkhound mcp |
Team/production use | HTTP | chunkhound mcp --http |
Your IDE starts/stops the server automatically. The index stays in memory for instant searches. Perfect for personal development with a single IDE.
chunkhound mcp /path/to/project
You start the server once, multiple IDEs can connect. Ideal for teams or when switching between multiple git worktrees.
chunkhound mcp /path/to/project --http --port 8000# Connect IDEs to http://localhost:8000
ChunkHound is production-ready and actively tested. For detailed configuration options, see the Configuration Guide:
Enterprise Scale
75k+ LOC indexed
Proven on massive monorepos with complex dependency graphs
Real-World Testing
Enterprise Validated
Tested on multiple enterprise projects and GoatDB’s TypeScript codebase. See Configuration for production setup.
Multi-Language Support
20+ Languages
Python, TypeScript, Go, Rust, Java, C++, and more via Tree-sitter
AI-Built Architecture
100% AI-Generated
Entire codebase written by AI agents, using cAST algorithm for intelligent code chunking
Now that you understand ChunkHound’s core concepts: