Local-first codebase intelligence: cited answers, audits, reports. EN/FR.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.
Chat, search, and audit any repository - every answer cited [source: file:line].
Works inside Cursor, Claude, Windsurf, VS Code, Zed and any MCP client - or standalone in your terminal.
Website · MCP docs · Roadmap · Changelog · Contributing
One command. The wizard detects Cursor, Claude, Windsurf, VS Code, Zed, Gemini CLI, Kiro, Cline and Roo Code, asks how you want answers (host model or API key), writes the config - done. No JSON to edit, no API key required.

Real MCP session on a real 422-file codebase - codebase_health finds 324 circular deps, codebase_chat answers with [source: file:line] receipts · PR review (--diff + --watch) · CLI tour · MCP stdio · French mode
| In your IDE | In your terminal | Fully offline |
|---|---|---|
| 21 MCP tools inside Cursor, Claude, Windsurf & more - answers land where you code | npx codebase-chat - index, search, health, check. Drop --check --strict into CI | --no-llm deterministic reports + --ui dashboard - no model, no key, no cloud |
Every claim comes with a citation. Every metric is computed from your code. Your repo is never uploaded - the model only sees the excerpts that matter.
| Understand | Verify | Act |
|---|---|---|
chat · search · explain · intelligence | health · impact · check vs baseline · deep_audit (30 metrics) | refactor · tasks · fix · apply - dry-run, backups, protected paths |
--ui
The audit as a real app - dense IDE-style UI, not a webpage:
Ctrl+K - jump between views, build a prompt, export, toggle zen modez · view shortcuts 1–5 · / filters findings by text or severity.md / .html - all in clicksWhat a session actually returns - run on this repository:
codebase_health runs fully offline - deterministic, no LLM, same input → same score.
Every answer from codebase_chat arrives with receipts you can verify in seconds.
From an IDE: codebase_check / codebase_doctor MCP tools, or /codebase check in DeepSeek Harness.
| Paste into a chat | Hosted assistant | codebase-chat | |
|---|---|---|---|
| Sees your whole repo, not one file | ❌ | ✅ | ✅ |
[source: file:line] citations | ❌ | ~ | ✅ |
| Repo never uploaded - model sees only relevant excerpts | ❌ | ❌ | ✅ |
| Inside Claude / Cursor / Windsurf | ❌ | ~ | ✅ |
Fully offline - --no-llm report & --ui dashboard, zero model | ❌ | ❌ | ✅ |
| Free - no API key, no account | ~ | ❌ | ✅ |
Writes are safe by construction - dry-run · .dsh-backups/ before overwrite · protected paths · never outside the project.
Ten tools run fully deterministic - no model, no key, works offline: health, impact, check, doctor, ignore, fix, stats, history, baseline, deep_audit (9 sections, ~30 metrics: git churn, bus factor, secrets, deps, per-function complexity).
MCP server - manual config
Without DEEPSEEK_API_KEY / OPENAI_API_KEY the server runs promptOnly. Set either key for direct-LLM calls - see mcp/README.md.
CLI
DeepSeek Harness plugin
Then restart dsh web → http://127.0.0.1:3080 → Codebase Pro button.
From source
.codebase-chat.json - per-project settings| Key | Effect |
|---|---|
lang | Default prompt language (en/fr) - CLI, MCP tools, slash commands |
maxTokens | Context budget when the caller passes none |
ignoreDirs / ignoreFiles | Extra names skipped by indexing, codebase_health, file tree |
ignoreGlobs | Globs on project-relative paths - ** spans dirs, * one segment |
protectedPaths | Paths the apply pipeline can never patch |
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/codebase-chat)<a href="https://allmcps.com/mcp/codebase-chat"><img src="https://allmcps.com/api/badge/codebase-chat?style=directory" alt="Codebase Chat on AllMCPs" /></a>