Skip to content
Getting Started

Getting Started

chunkhound.ai • November 24, 2026

Install the CLI, choose a setup route, and index your code. Start with the recommended APIs or keep model processing local.

Verify the install resolved on your shell:

Choose a route below, review its requirements, then copy the generated setup from your project root.

For local or proxied OpenAI-compatible LLM backends like Ollama or vLLM, keep the generated llm.model value in place. ChunkHound requires an explicit model name for custom base_url endpoints, including per-role overrides that resolve to OpenAI-compatible providers.

Run ChunkHound locally

Each layer is independent — pick any embedding, research model, and agent.

Choose the embeddings that index and find your code.

Voyage-4-Lite — a fast, low-cost embedder paired with VoyageAI's included reranker, which drives retrieval quality.

Opt out of VoyageAI training for true privacy

Included by VoyageAI.

Use an absolute HTTP(S) URL for this preset.

TEI uses the model configured on its server. Cohere and Voyage require a model. Voyage is for native Voyage-compatible endpoints such as MongoDB Atlas (uses top_k and returns a data array).

qwen3-embedding model

Qwen3 embedding + reranker endpoints

The model for deep research — configured separately from retrieval.

DeepSeek V4.1 Flash ( deepseek/deepseek-v4.1-flash ) — DeepSeek's open-weights model for coding and agentic work, served through Vercel AI Gateway. It is the default research route, not a compromise.

Vercel AI Gateway API key

DeepSeek V4.1 Flash — the OpenRouter preset for research workloads, pinned to deepseek/deepseek-v4.1-flash .

Qwen3.7 Flash — a fast, cost-effective research model routed through OrcaRouter.

DeepSeek V4.1 Flash — a fast, cost-efficient model routed through Requesty.

Gemini 3.5 Flash — a fast, low-cost model routed through API Route.

Claude Sonnet 5 — a strong synthesis model routed through Opper.

DeepSeek V4 Flash — a fast, cost-efficient model routed through Obscurify.ai.

DeepSeek V4 Flash — a fast, cost-efficient model routed through Atlas Cloud.

DeepSeek V4.1 Flash — a fast, cost-efficient model routed through Runcrate.

DeepSeek V4.1 Flash — a fast, cost-efficient model routed through cheapaimodel.

DeepSeek V4.1 Flash ( deepseek/deepseek-v4.1-flash ) — the OpenAI-compatible route through UberLLM.

Claude Haiku 5.5 — the OpenAI-compatible route through AIGROW.

Claude Haiku 4.5 — Anthropic's fastest and cheapest model.

GPT-5 — OpenAI's default model for deep research.

Gemini 3.5 Flash — Google's fast, low-cost research model.

DeepSeek V4 Flash — DeepSeek's fastest and cheapest model.

Grok 4.3 — xAI's fastest model for research.

Qwen3 Coder 30B — the recommended local model for research.

qwen3-coder:30b model

Qwen3 Coder 30B — the recommended local model for research.

Qwen/Qwen3-Coder-30B-A3B-Instruct

Codex CLI (signed in)

Claude Code CLI (signed in)

DeepSeek V4.1 Flash — OpenCode's fastest and cheapest model.

OpenCode CLI (signed in)

Connect the MCP tools to the coding agent you use.

Cursor with MCP support

Claude Code CLI (signed in)

VS Code with MCP support

OpenCode CLI (signed in)

Codex CLI (signed in)

Windsurf with MCP support

Review the generated commands, choose a shell, then copy them.

Run these local model commands first.

For a fully local deployment, we recommend Pi . Pi 1.0 and later include MCP support, so no adapter is needed. Use the recommended or local route above to generate .pi/mcp.json .

If you installed pi-mcp-adapter , remove it before restarting Pi. The adapter disables native MCP in sessions, even when pi mcp list succeeds.

Add --local if you installed the adapter in project settings. Restart Pi from your project root and grant project trust only if you trust the project. Pi needs this approval to load .pi/mcp.json . Check the connection from your shell:

In the Pi session, run /mcp and confirm that ChunkHound is connected. This verifies session MCP, not only the shell connection.

Run these four commands in order. Each one verifies a different layer of the stack: database, regex , embeddings, then LLM. The embedding and LLM providers are configured independently, so you can set either on its own.

2. Confirm regex

3. Confirm semantic

Use it from your agent

Your agent already has ChunkHound — the editor command from setup route registered it as an MCP tool. The biggest unlock is calling code_research before writing code, not after.

code_research synthesises a cited markdown report covering architecture, key locations, and cross-file flows. One call usually replaces 5–10 manual searches.

The pattern is one line. Paste it into your editor chat with a topic of your own:

explain how authentication works end to end, with file:line citations

map every caller of the email subsystem and the helpers they

trace the login flow from form submit to Set-Cookie before editing it

diagnose duplicate webhook deliveries by tracing the handler outward through retries, queues, and idempotency keys

find the most likely code path for this stack trace and list a safe workaround

compare every file-upload handler's size limits, MIME validation, and storage targets

explain what happens when a user changes billing plans, including edge cases

summarize the onboarding flow for a product brief with citations to the code

generate docs for the permission model from the current implementation

Need just a file or symbol? Ask the agent to use chunkhound instead — it's faster and skips the LLM.

ChunkHound exposes code_research , , and a handful of other tools as an MCP server; your editor connected to it via the command in setup route .

Full config shape, provider details, indexing controls, and environment-variable overrides.

Every command, every flag, and the syntax for advanced indexing and research workflows.

Stuck? Ask in Discord or open an issue .

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.