Predicts where JavaScript and TypeScript code will fail at runtime, for coding agents.
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.
Website and docs: predictivedebugger.dev
MCP server for finding likely runtime failures in JavaScript and TypeScript. Seven tools help your coding agent check types, rank risky files, trace dependencies, inspect logs and get an independent model review with a line number and reason.
Uses the Claude Code, Codex or GitHub Copilot CLI you already have installed. Prediction calls use that CLI's model access and usage allowance. No separate API key is needed. Your provider's terms apply to those calls; check them before use, especially on a Claude subscription. See Provider terms.
Requires Node.js 22 or later. For model predictions, install and sign in to at least one supported CLI. Python 3 is optional for log analysis.
Choose your agent below. npx downloads and runs the package automatically.
Run in your project on macOS, Linux or WSL:
On native Windows, from PowerShell:
Use --scope user to make it available in every project.
For a user-level setup on macOS, Linux or WSL:
On native Windows, from PowerShell:
For project-only setup or a longer startup timeout, see Codex configuration.
Add to .mcp.json in your project:
On native Windows, use "command": "cmd" and
"args": ["/d", "/c", "npx", "-y", "predictive-debugger@latest"].
For every project, see Copilot user-level setup.
Restart your agent and check /mcp for predictive-debugger and its seven tools.
To check that the package downloads and print its version:
Running without --version starts a stdio server that waits for your agent's
messages. See setup help for local builds and troubleshooting.
| Tool | What it does | Model call |
|---|---|---|
scan_project | Rank source files by risk density. Excludes tests by default. | No |
analyze_file | Return complexity metrics, risk scores and contributing signals. | No |
check_types | Return selected files' TypeScript compiler diagnostics using local project settings. | No |
map_dependencies | Find imports, reverse imports and connected test files, with source-line evidence. | No |
analyze_logs | Return log anomalies, ranked by severity and unusual wording. | No |
predict_failures | Get an independent model verdict with a line number, reason and confidence. Supports batches. | Yes |
list_providers | Check which supported CLIs are installed and their sign-in status. | No |
Start with scan_project and check_types, then read the files they highlight. Use
map_dependencies to find related files and predict_failures when you want a
second opinion. Pass several paths as files so small files share bounded model
calls and avoid repeating the CLI context for every file.
See the tool reference for parameters, result fields and limits.
The server's MCP instructions ask agents to check code they wrote in the current session from a fresh context. The routing depends on file count:
| Change | Requested check |
|---|---|
| One file, including a feature contained in one file | A fresh predict_failures call |
| Several files | A sub-agent scoped to the changed files and intended behavior, where the host supports it |
| Mechanical correction with one clear answer | Neither check required |
Grouped predictions retain per-file verdicts. They do not verify a feature's requirements. The benefit of the sub-agent rule has not been measured.
predict_failures
sends source and bounded dependency context to your CLI's model provider.
Set calleeContext: false to omit dependency context.An unfinished extension can show findings in the Problems panel. It requires a local build and is not available on the Marketplace or as a prebuilt VSIX. See trying the extension.
MIT.
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/predictive-debugger)<a href="https://allmcps.com/mcp/predictive-debugger"><img src="https://allmcps.com/api/badge/predictive-debugger?style=directory" alt="Predictive Debugger on AllMCPs" /></a>