npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@cazon/mcp-server

v1.0.2

Published

Model Context Protocol server for Cazon error intelligence - gives Claude, Copilot, and Cursor an engineering manager

Readme

Cazon MCP Server

Give Claude, Copilot, and Cursor an engineering manager. This MCP server connects AI coding assistants to Cazon's error intelligence, enabling them to triage your bug backlog by impact, find patterns, and prioritize what to fix first.

Features

  • 🚨 Intelligent Triage - Categorizes errors by impact (Critical/High/Medium/Low) with occurrence counts, trends, and user impact
  • 🔍 Error Analysis - Get AI-powered debugging suggestions for any error
  • 📊 Pattern Recognition - Discover common error patterns across your codebase
  • 🔎 Similar Errors - Find previously seen similar errors with solutions
  • 📖 Rich Context - Full stack traces, impact scores, affected users, and status tracking
  • 🤖 AI Integration - Works with Claude Desktop, Continue.dev, and other MCP clients

Installation

From npm (recommended):

npm install -g @cazon/mcp-server

From source:

cd mcp-server
npm install
npm run build

Configuration

Create a .env file:

CAZON_API_KEY=your-cazon-api-key
CAZON_BASE_URL=https://cazon.dev  # or http://localhost:3030 for local
**After installing via npm:**

Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):

```json
{
  "mcpServers": {
    "cazon": {
      "command": "cazon-mcp",
      "env": {
        "CAZON_API_KEY": "your-api-key-here",
        "CAZON_BASE_URL": "https://cazon.dev"
      }
    }
  }
}

If running from source:

Get your API key from cazon.dev/dashboard.

Usage

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "cazon": {
      "command": "node",
      "args": ["/absolute/path/to/cazon/mcp-server/dist/index.js"],
      "env": {
        "CAZON_API_KEY": "your-api-key-here",
        "CAZON_BASE_URL": "https://cazon.dev"
      }
    }
  }
}

Restart Claude Desktop. You should see Cazon resources and tools available.

Continue.dev

Add to your Continue config (~/.continue/config.json):

{
  "mcpServers": [
    {
      "name": "cazon",
      "command": "node",
      "args": ["/absolute/path/to/cazon/mcp-server/dist/index.js"],
      "env": {
        "CAZON_API_KEY": "your-api-key-here"
      }
    }
  ]
}

Direct Usage (stdio)

npm run dev

MCP Resources

Resources provide read-only context for AI assistants:

cazon://history/recent

Recent errors captured by Cazon with their analysis

cazon://patterns/common

Frequently occurring error patterns in your codebase

cazon://errors/{errorId}

Detailed analysis of a specific error

MCP Tools

Tools are actions AI assistants can invoke:

cazon_triage_errors ⭐ NEW

Intelligent error prioritization - Analyzes all errors and categorizes them by urgency

Returns a formatted report with:

  • 🚨 Critical - Impact ≥80, Occurrences ≥50, or Increasing trend (fix immediately)
  • 🔴 High - Impact 60-80 (fix this sprint)
  • 🟡 Medium - Impact 30-60 (schedule for next sprint)
  • 🟢 Low - Impact <30 (backlog)

Each error includes:

  • Impact score (0-100)
  • Occurrence count
  • Affected user count
  • Trend indicator (📈 Increasing, 📉 Decreasing, ➡️ Stable)
  • Stack location
  • AI-generated suggestion
  • Error ID for deep linking

Parameters: None

Example output:

## 🚨 CRITICAL (Fix Immediately)

### 1. TypeError: Cannot read property 'length' of undefined
- **Impact Score:** 87/100 (critical)
- **Occurrences:** 45
- **Affected Users:** 15
- **Trend:** 📈 Increasing
- **Location:** checkout.js:156
- **Suggestion:** Add null check before accessing array properties
- **Error ID:** abc123...

## Key Insights
- 2 errors with increasing frequency (potential regressions)
- 1 high-occurrence errors (≥50 occurrences)
- 3 errors affecting multiple users

cazon_analyze_error

Analyze an error and get debugging suggestions

Parameters:

  • errorMessage (string, required) - The error message
  • stack (string, optional) - Stack trace
  • metadata (object, optional) - Additional context

Example:

{
  "errorMessage": "TypeError: Cannot read property 'length' of undefined",
  "stack": "at calculateTotal (app.js:42:15)",
  "metadata": {
    "environment": "development"
  }
}

cazon_find_similar

Find similar errors from your history

Parameters:

  • errorMessage (string, required) - Error to find similarities for

cazon_get_patterns

Get common error patterns from your codebase

Parameters: None

Development

# Watch mode for development
npm run watch

# In another terminal
npm run dev

# Build for production
npm run build

Example Conversations

Once configured, you can ask Claude:

"Triage my errors and tell me what to fix first"

Claude will use cazon_triage_errors to analyze all errors, categorize by priority, and give you a report like an engineering manager would.

"What are the most critical bugs affecting users?"

Claude accesses the cazon://history/recent resource which includes impact scores, affected user counts, and trends.

"I'm getting a TypeError: Cannot read property 'length' of undefined. Can you help?"

Claude will use cazon_analyze_error to get AI-powered debugging suggestions.

"What are the most common errors in my codebase?"

Claude will use cazon_get_patterns to show frequently occurring patterns.

"Have I seen this error before: 'ReferenceError: foo is not defined'?"

Claude will use cazon_find_similar to search your error history.

Architecture

┌─────────────────────────────────────────────────────────────┐
│  AI Assistant (Claude, Continue.dev, etc.)                  │
└────────────────────┬────────────────────────────────────────┘
                     │ MCP Protocol (stdio)
                     ▼
┌─────────────────────────────────────────────────────────────┐
│  Cazon MCP Server                                            │
│  • Resources (read-only context)                             │
│  • Tools (actions)                                           │
└────────────────────┬────────────────────────────────────────┘
                     │ HTTP/REST
                     ▼
┌─────────────────────────────────────────────────────────────┐
│  Cazon API (cazon.dev)                                       │
│  • Pattern matching                                          │
│  • AI analysis                                               │
│  • Error storage                                             │
└─────────────────────────────────────────────────────────────┘

Troubleshooting

Server not appearing in Claude Desktop

  1. Check the config path is correct (absolute path)
  2. Verify API key is valid
  3. Look at Claude Desktop logs: ~/Library/Logs/Claude/mcp*.log

Connection errors

  • Verify CAZON_BASE_URL is correct
  • Check API key has proper permissions
  • Ensure Cazon backend is running (if using localhost)

TypeScript errors

npm run build

Fix any compilation errors before running.

License

MIT

Support