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 🙏

© 2026 – Pkg Stats / Ryan Hefner

airbrake-mcp-server

v1.0.1

Published

MCP server for Airbrake error tracking

Readme

Airbrake MCP Server

Model Context Protocol (MCP) server for Airbrake. It lets you query errors, manage deploys, and fetch project stats directly from your MCP client.

Requirements

  • Node.js 18+ (recommended 20+)
  • Airbrake API key with read/write permissions
  • Airbrake Project ID

Install

npm install
npm run build

VS Code MCP

This repo now includes the pieces needed to run as a VS Code MCP server and to publish to the MCP Registry:

  • .vscode/mcp.json for direct workspace installation
  • server.json for MCP Registry publication
  • mcpName in package.json for npm ownership verification

Quick start in VS Code

  1. Open this folder in VS Code.
  2. Run MCP: Open Workspace Folder Configuration or MCP: List Servers.
  3. The committed .vscode/mcp.json points to npx -y airbrake-mcp-server.
  4. Enter your Airbrake API key and project ID when VS Code prompts for them.

Install from the MCP Gallery

Once the package is published to npm and registered in the MCP Registry, it can be installed from the VS Code MCP gallery by searching for @mcp airbrake.

Automated publishing

This repo includes a GitHub Actions workflow at .github/workflows/publish-mcp-registry.yml that publishes to the MCP Registry on version tags like v1.0.0 using GitHub OIDC.

Configuration

Set the following environment variables:

export AIRBRAKE_API_KEY="your_api_key"
export AIRBRAKE_PROJECT_ID="your_project_id"
export AIRBRAKE_HOST="https://api.airbrake.io"  # optional

Where to get credentials

  1. Open your project in Airbrake
  2. Go to Settings → API Keys
  3. Create a new API key with read/write permissions
  4. Your Project ID is in the project URL

Configure in Cursor

Edit your global MCP config:

/Users/<your-username>/.cursor/mcp.json

Example:

{
  "mcpServers": {
    "airbrake": {
      "command": "/absolute/path/to/node", // which node
      "args": ["/absolute/path/to/airbrake-mcp-server/dist/index.js"],
      "env": {
        "AIRBRAKE_API_KEY": "your_api_key",
        "AIRBRAKE_PROJECT_ID": "your_project_id"
      }
    }
  }
}

Notes

  • Use absolute paths for command and args. Relative paths may fail because MCP is started from a different working directory.
  • If you use a version manager (mise, nvm, asdf), point command to the actual Node binary shown by which node.
  • If you want logs during startup, set AIRBRAKE_MCP_DEBUG=1 in env.
  • If you use the workspace configuration in this repo, VS Code will prompt for the Airbrake credentials instead of requiring you to edit the file manually.

Tools (Available Commands)

Error Queries

  • list_errors: List recent errors (pagination supported)
  • get_error_details: Full details for a specific error group
  • get_error_notices: All occurrences (notices) for an error group
  • get_notice_details: Full details of a single notice

Search & Filter

  • search_errors: Text search across errors
  • filter_errors_by_status: Filter by open, resolved, or ignored
  • get_error_trend: Occurrence trend over time

Error Management

  • resolve_error: Mark error as resolved
  • ignore_error: Mark error as ignored
  • reopen_error: Reopen a resolved/ignored error

Deploys

  • list_deploys: List recent deploys
  • create_deploy: Create a deploy notification

Stats

  • get_project_stats: Project health and statistics

Usage Examples

These depend on your MCP client, but typical prompts look like:

List the last 20 Airbrake errors
Get details for error 123456
Search errors for "NoMethodError"
Resolve error 123456

Development

npm run watch
npm run dev

Resources

  • Airbrake API docs: https://airbrake.io/docs/api/
  • MCP: https://modelcontextprotocol.io/