SkillAgentSearch skills...

BackendMax

🩺 AI-powered backend diagnostic MCP server. Understands what you're building and makes sure it actually works. Cross-boundary contract verification, living API docs, issue lifecycle tracking.

Install / Use

/learn @rish-e/BackendMax
About this skill

Quality Score

0/100

Supported Platforms

Claude Code
Claude Desktop
Cursor

README

<div align="center">
╔══════════════════════════════════════════════════════════════╗
β•‘                                                              β•‘
β•‘   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—  β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β•‘
β•‘   β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•‘
β•‘   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β•‘
β•‘   β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β•‘
β•‘   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β•‘
β•‘   β•šβ•β•β•β•β•β• β•šβ•β•  β•šβ•β• β•šβ•β•β•β•β•β•β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β•β•β•šβ•β•  β•šβ•β•β•β•β•šβ•β•β•β•β•β•β•‘
β•‘                                                              β•‘
β•‘           β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—  β–ˆβ–ˆβ•—                        β•‘
β•‘           β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•                        β•‘
β•‘           β–ˆβ–ˆβ•”β–ˆβ–ˆβ–ˆβ–ˆβ•”β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ•”β•                         β•‘
β•‘           β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•”β–ˆβ–ˆβ•—                         β•‘
β•‘           β–ˆβ–ˆβ•‘ β•šβ•β• β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β• β–ˆβ–ˆβ•—                        β•‘
β•‘           β•šβ•β•     β•šβ•β•β•šβ•β•  β•šβ•β•β•šβ•β•  β•šβ•β•                        β•‘
β•‘                                                              β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

🩺 AI-Powered Backend Diagnostics for Claude Code

The backend bugs your linter can't see. The contract drift your tests don't cover. Caught before deploy.

<br />

MIT License Version Node TypeScript MCP

<br />

Quick Start Β· Features Β· Tools Β· Roadmap

</div> <!-- ═══════════════════════════════════════════════════════════ --> <br />

πŸ€” What Is This?

Backend Max is a Model Context Protocol (MCP) server that gives Claude deep diagnostic vision into your backend. It statically analyzes your codebase β€” both frontend and backend β€” to surface bugs, contract drift, missing validation, security gaps, and performance anti-patterns that no other single tool catches.

Think of it as a senior backend engineer that reviews every route, checks every contract, and never goes on vacation.

<br /> <!-- ═══════════════════════════════════════════════════════════ -->

πŸ”­ How It Works

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                                                                     β”‚
β”‚   πŸ“‚ Your Codebase          🩺 Backend Max           πŸ“‹ Report     β”‚
β”‚                                                                     β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚   β”‚ Frontend   │────────▢   β”‚  Cross-       β”‚        β”‚ Health    β”‚  β”‚
β”‚   β”‚ API Calls  β”‚            β”‚  Boundary     │──────▢ β”‚ Score     β”‚  β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜             β”‚  Analysis     β”‚        β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€  β”‚
β”‚                             β”‚              β”‚        β”‚ Issues    β”‚  β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”             β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚        β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€  β”‚
β”‚   β”‚ Backend   │────────▢   β”‚  β”‚ 6 Audit  β”‚ │──────▢ β”‚ API Docs  β”‚  β”‚
β”‚   β”‚ Routes    β”‚            β”‚  β”‚ Engines  β”‚ β”‚        β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€  β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜             β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚        β”‚ Fixes     β”‚  β”‚
β”‚                             β”‚              β”‚        β”‚ Guide     β”‚  β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”             β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β”‚   β”‚ Config    │────────▢   β”‚  β”‚ Intent   β”‚ β”‚                       β”‚
β”‚   β”‚ & Env     β”‚            β”‚  β”‚ Engine   β”‚ β”‚                       β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜             β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚                       β”‚
β”‚                             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                       β”‚
β”‚                                                                     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
<br /> <!-- ═══════════════════════════════════════════════════════════ -->

⚑ Why Backend Max?

Existing tools catch syntax errors and type mismatches. Backend Max catches the bugs that ship to production.

| Bug Category | TypeScript | ESLint | Jest/Vitest | Backend Max | |:---|:---:|:---:|:---:|:---:| | Frontend calls /api/user but backend exposes /api/users | ❌ | ❌ | ❌ | βœ… | | Frontend sends { name } but backend expects { username } | ❌ | ❌ | ❌ | βœ… | | Route handler missing try/catch | ❌ | ❌ | ❌ | βœ… | | Zod schema missing on POST route | ❌ | ❌ | ❌ | βœ… | | process.env.SECRET used but not in .env | ❌ | ❌ | ❌ | βœ… | | Auth middleware missing on sensitive route | ❌ | ❌ | ❌ | βœ… | | N+1 query in a loop | ❌ | ❌ | ❌ | βœ… | | API docs out of date | ❌ | ❌ | ❌ | βœ… |

πŸ’‘ Backend Max doesn't replace your existing tools. It catches what they architecturally cannot β€” cross-boundary issues that require understanding both sides of the stack.

<br /> <!-- ═══════════════════════════════════════════════════════════ -->

πŸš€ Quick Start

Install with your MCP client

<details> <summary><strong>Claude Code (recommended)</strong></summary>
claude mcp add backend-max -- npx -y backend-max

Done. Open any project and type /backendmax run a full diagnosis.

</details> <details> <summary><strong>Claude Desktop</strong></summary>

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "backend-max": {
      "command": "npx",
      "args": ["-y", "backend-max"]
    }
  }
}
</details> <details> <summary><strong>VS Code / Cursor</strong></summary>

Add to .vscode/settings.json:

{
  "mcp.servers": {
    "backend-max": {
      "command": "npx",
      "args": ["-y", "backend-max"]
    }
  }
}
</details> <details> <summary><strong>Windsurf</strong></summary>

Add to your MCP config:

{
  "mcpServers": {
    "backend-max": {
      "command": "npx",
      "args": ["-y", "backend-max"]
    }
  }
}
</details> <details> <summary><strong>From source (for development)</strong></summary>
git clone https://github.com/rish-e/backend-max.git
cd backend-max
npm install && npm run build

Then add to your MCP client config:

{
  "command": "node",
  "args": ["/path/to/backend-max/dist/server.js"]
}
</details>

Run Your First Diagnosis

Open your MCP client in any project and ask:

/backendmax run a full diagnosis on my project

That's it. Backend Max will analyze your project and return a full diagnostic report with health score, issues, and fix suggestions.

4. CI/CD Mode (Optional)

Run diagnostics from the command line or GitHub Actions:

# Basic diagnosis
npx backend-max-cli diagnose ./my-project

# CI mode β€” fail if health score drops below 75 or critical issues found
npx backend-max-cli diagnose ./my-project --ci --min-score 75 --fail-on critical

# Output formats
npx backend-max-cli diagnose ./my-project --format markdown  # PR comments
npx backend-max-cli diagnose ./my-project --format sarif     # GitHub Code Scanning
npx backend-max-cli diagnose ./my-project --format json      # Raw data
<br /> <!-- ═══════════════════════════════════════════════════════════ -->

πŸ”¬ Features Deep Dive

πŸ†• v2.2 β€” Tier 2 Feature Drop

| Feature | Description | |---------|-------------| | ⚑ Fastify Support | Full route analysis with built-in JSON Schema validation detection, error handler checks, param extraction | | πŸ”₯ Hono Support | Route analysis with basePath resolution, zValidator detection, middleware arg parsing | | 🚦 Rate Limiting Audit | Detects rate limiting packages/patterns, flags unprotected auth endpoints, checks caching coverage | | πŸ“ API Versioning | Detects path/header versioning, finds version gaps, flags inconsistent versioning | | πŸ”— Middleware Visualization | Maps global/inline middleware chains per route, checks ordering, generates markdown visualization | | πŸ” Multi-Layer Type Tracing | Traces types across frontend β†’ route β†’ service β†’ repository β†’ DB, finds cross-layer mismatches |

v2.1 β€” Tier 1 Feature Drop

| Feature | Description | |---------|-------------| | πŸ”§ Auto-Fix Engine | Generates real unified diff patches for common issues β€” try/catch wrapping, Zod validation, auth guards, pagination. Apply with git apply | | πŸ‘οΈ Watch Mode | Incremental analysis β€” shows new issues, fixed issues, and health score delta since last run. No full re-scan needed | | πŸ”€ tRPC Support | Full router analysis β€” procedures, input validation, protected/public, queries vs mutations. 3 tRPC-specific checks | | πŸ•ΈοΈ GraphQL Analysis | Resolver scanning for Apollo, Yoga, Mercurius, type-graphql, NestJS. N+1 detection, auth checks, input validation | | πŸ“¦ Dependency Scanner | Built-in vulnerability database (12+ packages), deprecated package detection, lock file checks, npm audit integration |

v2.0 Features

| Feature | Description | |---------|-------------| | πŸ—„οΈ Prisma Schema Integration | Parses your .prisma schema and cross-references every database call β€” catches nonexistent models, fields, and missing indexes | | πŸ” Deep Type Flow Analysis | Traces frontend response variables to check property access against backend return types β€” catches data.user.firstName vs data.user.first_name | | ⚑ Server Actions | Full audit of Next.js Server Actions ('use server') β€” validation, auth, error handling, database patterns | | πŸš€ CI/CD Mode | CLI entry point with --ci, --min-score, --fail-on, and 4 output formats (text, markdown, JSON, SARIF) | | 🟒 Express.js Support | Route scanning, middleware detection, Express-specific checks (error middleware, 404, helmet/CORS) | | πŸ“„ Pages Router | Next.js Pages Router API routes (pages/api/) full

View on GitHub
GitHub Stars3
CategoryDevelopment
Updated5h ago
Forks0

Languages

TypeScript

Security Score

90/100

Audited on Apr 2, 2026

No findings