Codebase Doctor runs on your own machine — the client starts it, so there is no endpoint to ping. 2 652 installs a week from npm. Last commit 11 Oct 2026.
Read-only codebase audits for coding agents: secrets, RLS, deps, review verdicts. No writes.
We read the source, 7 h ago · rules ccca72095570
Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.
const child = spawn(plan.executable, [...plan.args], {
"chmod 777 or a+rwx in RUN",
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
const child = spawn(plan.executable, [...plan.args], {
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch Codebase Doctor and you get told the day something new turns up.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add codebase-doctor -- npx -y codebase-doctor
{
"mcpServers": {
"codebase-doctor": {
"args": [
"-y",
"codebase-doctor"
],
"command": "npx"
}
}
}
[mcp_servers.codebase-doctor]
command = "npx"
args = ["-y", "codebase-doctor"]
{
"mcpServers": {
"codebase-doctor": {
"args": [
"-y",
"codebase-doctor"
],
"command": "npx"
}
}
}
{
"mcpServers": {
"codebase-doctor": {
"args": [
"-y",
"codebase-doctor"
],
"command": "npx"
}
}
}
Security audit for AI agents — scan code/diffs for leaked secrets, check deps via OSV.
Deterministic release gate for AI-written code and coding agents.
SQL Server / Azure SQL for agents: real schema, lint, read-only runs, plans, write previews.
Encrypted store for API keys and database URLs your code needs. Use them without reading them.
Security audit for AI agents: code, deps, exposure, secrets, drift, SBOM, and IoC.
Local read-only repository context retrieval for AI coding agents.
Read-only, commit-pinned repository context for coding agents.
Mechanical write gates, evidence receipts, and adversarial review for AI coding agents.
Answers built from our own checks of this server.