Chunkhound
MCP server by chunkhound Verified · gh:chunkhound
ChunkHound gives agents and teams cited context from current code, git history, and technical web research. It is open source and local-first, aimed at engineers working on large or security-sensitive codebases.
Install Chunkhound
Built from the published package, never by AI.
claude mcp add chunkhound -- uvx chunkhoundRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"chunkhound": {
"args": [
"chunkhound"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"chunkhound": {
"args": [
"chunkhound"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"chunkhound": {
"args": [
"chunkhound"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add chunkhound -- uvx chunkhound{
"mcpServers": {
"chunkhound": {
"args": [
"chunkhound"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add chunkhound uvx chunkhoundGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the chunkhound block.
About
ChunkHound is an open-source codebase intelligence tool. It indexes current code and answers questions with citations, covering semantic code search, cited code research across files, git history research, and pinpoint web research. It supports Python, JavaScript, TypeScript, Java, Go, Rust, C/C++, and more through Tree-sitter.
The tool is local-first, so code search and indexing stay under the user's control. Regex search works without any API keys. Semantic search needs an embedding provider, and deep research needs an LLM provider plus an embedding provider with reranking support. It is aimed at engineers and teams that want coding agents, reviewers, support, and product staff working from the same code index, especially in large repos, monorepos, legacy systems, and security-sensitive environments.
Written from the project's README and checked against it.
Tools it gives your assistant
Semantic code searchFinds relevant code by meaning, not only exact text.Cited code researchExplains behavior across files with source citations.Git history researchSearches by last N commits, commit hash, tag, branch, or range.Pinpoint web researchBrings cited external docs, APIs, issues, and articles into code research.AutodocGenerates shareable docs from code-backed research.Local-first indexingKeeps code search and indexing under the user's control.
What you need
- Python 3.10+
- uv
- Embedding provider API key for semantic search (VoyageAI, OpenAI, or Ollama)
- LLM provider for deep research (Claude Code CLI, Codex CLI, Anthropic, OpenAI, or Grok)
Try asking
- Use ChunkHound to explain how authentication works in this repo.
- Search the git history for changes to the auth module in the last 20 commits.
- Use ChunkHound web research to find the Stripe webhook retry schedule.
Good to know
- Regex search works without providers, but semantic search needs an embedding provider.
- Deep research requires an LLM provider and an embedding provider with reranking support.
- Web research uses the same provider stack as deep research.
Security check
B- Downloads a script from the internet and runs it (a well-known installer)In
README.md:curl -LsSf https://astral.sh/uv/install.sh | sh
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Chunkhound
All alternatives →Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.
Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.
Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.
A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner
Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.
Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.
Compare with Agentmesh MCP Proxy, Bla or Bla Agents
Chunkhound: common questions
Does ChunkHound work without API keys?
Yes, regex search works without any providers. Semantic search requires an embedding provider, and deep research requires an LLM provider.
Which languages does ChunkHound support?
The source lists Python, JavaScript, TypeScript, Java, Go, Rust, and C/C++, plus more, through Tree-sitter, and says it supports dozens of languages and file types.
Is ChunkHound open source?
Yes, the source says ChunkHound is MIT licensed and open source.
How do I install Chunkhound?
In Claude Code run claude mcp add chunkhound -- uvx chunkhound. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Chunkhound the official server?
Chunkhound is published by gh:chunkhound from its verified domain in the official MCP Registry.
Is Chunkhound free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Chunkhound safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (downloads a script from the internet and runs it (a well-known installer)). Review the code before you install. How grades work.
What are alternatives to Chunkhound?
Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.
Does Chunkhound work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
