Skip to content
MCP server

Dev error explainers

Offline, deterministic cause and fix for Node, npm, Next.js, CORS and Postgres URL errors

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, API, self-hosted
Runs
Locally
Version
0.2.1
Listing updated
1 day ago

About Dev error explainers

Dev error explainers is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

This server gives an assistant a lookup for developer errors instead of letting it guess. It exposes a single tool, explain_error, which runs 121 rules across seven pure JavaScript modules with no runtime dependencies. There is no LLM, API or network call, so the same input gives the same answer, and an unrecognised error is reported as not recognised rather than matched loosely.

Covered areas include Next.js build errors and chunk load failures, ESM versus CommonJS errors such as ERR_REQUIRE_ESM, npm ERESOLVE peer conflicts, CORS errors and Postgres connection URLs. Secrets are masked before analysis, except the DATABASE_URL doctor which reads the raw URL and never prints its password. A public set of 74 cases is run on every change.

The same logic is available as a terminal pipe, a GitHub Action that writes the fix to the job summary, and an npm library for Node 20 or later. It is MIT-licensed.

Install

Run in a terminal

claude mcp add dev-error-explainers -- npx -y dev-error-explainers

Add to claude_desktop_config.json

{
  "mcpServers": {
    "dev-error-explainers": {
      "command": "npx",
      "args": [
        "-y",
        "dev-error-explainers"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "dev-error-explainers": {
      "command": "npx",
      "args": [
        "-y",
        "dev-error-explainers"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "dev-error-explainers": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "dev-error-explainers"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "dev-error-explainers": {
      "command": "npx",
      "args": [
        "-y",
        "dev-error-explainers"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "dev-error-explainers": {
      "command": "npx",
      "args": [
        "-y",
        "dev-error-explainers"
      ]
    }
  }
}

Tools this server provides (1)

Taken from the project documentation; the running server may differ.

explain_error
Explain the cause and fix of a developer error.

What it does

Single tool
explain_error checks documented causes before guessing.
Offline rules
121 rules run locally with no network.
Honest misses
Unrecognised errors are reported as such.
Secret masking
Looks-like-secret text is masked before analysis.
CI action
Writes the cause and fix into a GitHub job summary.
Terminal pipe
Pipe a failing command into the CLI.

Good for

  • Explain a failed Next.js build
  • Fix an ESM or CommonJS import error
  • Resolve npm peer-dependency conflicts
  • Diagnose a CORS or Postgres URL problem

Pricing

Open source

Free, MIT-licensed

Prices change. Check iloveblogs.blog before you buy.

Dev error explainers FAQ

Does it use an LLM?

No, it is deterministic and offline.

What if it doesn't recognise an error?

It says so rather than guessing.

Which Node version does the library need?

Node.js 20 or later.

What licence?

MIT.

Is Dev error explainers free?

Yes. Dev error explainers is open source, so you can use and self-host it for free.

How do I add Dev error explainers to Claude Code?

Run this command in your terminal: claude mcp add dev-error-explainers -- npx -y dev-error-explainers

What are the best alternatives to Dev error explainers?

The closest alternatives to Dev error explainers are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Dev error explainers

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools