Skip to content

Summary

Local-first code research engine over MCP: semantic and regex code search, cited deep research across code and git history, and web and document research, all from your own index.

Features

  • Local Tree-sitter index across many languages
  • Semantic plus regex code search
  • Cited research answers across files
  • Research over commits, tags, branches and ranges
  • Web page and PDF research tied to the code
  • Works with Claude Code or Codex CLI as the LLM

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it.
  3. Restart the agent — the "ChunkHound" tools will be available.
{
  "mcpServers": {
    "chunkhound": {
      "command": "chunkhound",
      "args": [
        "mcp"
      ]
    }
  }
}

Description

ChunkHound indexes a codebase locally and answers questions about it with citations, either from its CLI or as an MCP server that coding agents query. It parses Python, JavaScript, TypeScript, Java, Go, Rust, C/C++ and more with Tree-sitter, keeps the index in a local database, and combines exact and semantic retrieval; the project says it has researched production codebases of up to 180 million lines.

Beyond search, its research mode synthesises an answer across files with source citations ("How does authentication work?"), and the same pipeline runs over git history: by the last N commits, a commit hash, a tag, a branch or a range, which helps with summarising a large PR, drafting changelog bullets or understanding both sides of a merge conflict. It can also fetch rendered web pages and PDFs and connect that external evidence to the code, and its autodoc feature turns code-backed research into shareable docs. Regex search works with no providers at all; semantic search needs an embedding provider (VoyageAI, OpenAI or local Ollama), and deep research also needs an LLM, which can be the Claude Code or Codex CLI.

Install with uv tool install chunkhound (Python 3.10+), run chunkhound index ., then register chunkhound mcp with Claude Code, Codex, Cursor, VS Code, Windsurf or OpenCode; the getting-started guide has the snippet for each. MIT-licensed with no seat or query fees; your model providers may charge, and web research contacts DuckDuckGo and the source sites.

MCP: Codanna

by Codanna

Local code intelligence MCP server that returns symbol context, call graphs and impact analysis in a single call — 15 languages, indexed on your own machine.

MCP: Semble

by MinishLab

New

Local code search MCP server for agents: natural-language queries return just the relevant snippets from a repo, on CPU with no API keys, using far fewer tokens than grep and file reads.

Zilliz's MCP server for semantic code search: it indexes a whole repository into Milvus or Zilliz Cloud and hands coding agents only the relevant chunks.

MCP: ripwire

by Red Hat

Featured

Red Hat's zero-dependency C++23 code-context engine — ranked call graphs and blast-radius analysis, indexing a repo in under half a second with no server and no database.

Browse all MCP servers →