MCP Database Doctor
NPM · MCP-DATABASE-DOCTOR
Offline PostgreSQL query, migration and EXPLAIN diagnostics for AI agents.
Available components
Last scanned (22 hours ago)
Scores higher than 47% of npm servers
Category Databases
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security98
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- No install/post-install scripts declared.Pass
- 31 of 93 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to petrovicistefan/mcp-database-doctor). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 7 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability60
- AI-judged instruction clarity (fair).Partial
- Tool/resource definitions use about 191 tokens (~38/item across 5 items; 5 tools + 0 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management0
- Stability not yet verified: not enough scan history yet (needs a 30-day window).Unverified
Tool Coverage67
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 0% of tool parameters carry a description.Fail
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 5 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 5 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Unverified: 1 category
A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 14 Oct 26 +26
- Injection markers: unverified → pass ▲ security
- First check of Judged manipulation: pass security
- Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
- Tool coverage: unverified → 100 ▲ functional
- MCP protocol: unverified → pass ▲ functional
- First check of Tool coverage: 0 functional
- First check of Schema quality: fail functional
- First check of Schema quality: fair functional
- First check of Destructive annotations: pass functional
- First check of Schema quality: pass functional
- 13 Oct 26 0
- Security disclosure: unverified → fail ▼ functional
- 12 Oct 26 49
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 16 Oct 2026 · Analysed npm/mcp-database-doctor@0.1.1
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | npm |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | petrovicistefan/mcp-database-doctor |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/petrovicistefan/mcp-database-doctor/.github/workflows/release.yml@refs/tags/v0.1.1 |
| Rekor log index | 3151714957 |
| Predicate type | SLSA build provenance https://slsa.dev/provenance/v1 |
| Subject digest | sha512:e9cc30d446320cf7426994245bffe08a2aa9ff07c968a422ee7fb218d0fdb719e573bc0e1a67d190c862d2e0d024ca9a8a22f025b51ce964f7e7f2661 |
Background: How many MCP packages publish verified provenance →
Dependencies 93 packages
| Packages resolved | 93 |
|---|---|
| Stale | 31 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
analyze_query ~33
Offline PostgreSQL SQL heuristics. No execution; no finding is not proof of safety.
| Name | Type | Req | Description |
|---|---|---|---|
| sql | string | yes | – |
No output schema declared.
No examples provided.
check_migration ~37
Review PostgreSQL migration SQL for destructive operations, lock/rewrite risks and transaction conflicts. Does not execute.
| Name | Type | Req | Description |
|---|---|---|---|
| sql | string | yes | – |
No output schema declared.
No examples provided.
explain_plan ~37
Interpret a supplied PostgreSQL EXPLAIN FORMAT JSON plan. Does not run EXPLAIN ANALYZE.
| Name | Type | Req | Description |
|---|---|---|---|
| plan | string | yes | – |
No output schema declared.
No examples provided.
health_report ~40
Aggregate diagnostics over supplied artifacts, not live database health.
| Name | Type | Req | Description |
|---|---|---|---|
| migrations | array | – | – |
| plans | array | – | – |
| queries | array | – | – |
No output schema declared.
No examples provided.
suggest_indexes ~44
Conservative index candidates for single unquoted table queries. Requires EXPLAIN validation; never applies DDL.
| Name | Type | Req | Description |
|---|---|---|---|
| existingIndexes | array | – | – |
| sql | string | yes | – |
No output schema declared.
No examples provided.
How do I install the MCP Database Doctor server?
MCP Database Doctor runs locally as an npm package, launched with npx -y mcp-database-doctor. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
npm · mcp-database-doctor
claude mcp add petrovicistefan-mcp-database-doctor -- npx -y mcp-database-doctor
What is the MCP Database Doctor server?
MCP Database Doctor is listed in the public MCP registry as io.github.petrovicistefan/mcp-database-doctor. Offline PostgreSQL query, migration and EXPLAIN diagnostics for AI agents. This page covers its npm package (mcp-database-doctor).
Is the MCP Database Doctor server safe to use?
MCP Database Doctor scores 75 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 16 October 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the MCP Database Doctor server expose?
MCP Database Doctor exposes 5 tools: analyze_query, check_migration, suggest_indexes, explain_plan, health_report. Their descriptions and schemas cost roughly 191 tokens of context every time the server is loaded.
Is the MCP Database Doctor server still maintained?
MCP Database Doctor is still listed as active in the MCP registry. We last reached this channel on 16 October 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the MCP Database Doctor server under?
MCP Database Doctor declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.