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

@inariwatch/mcp

v1.0.7

Published

One command to connect all your AI coding tools to InariWatch — auto-detects Claude, Cursor, Windsurf, VS Code, Codex & Gemini, configures MCP, installs capture SDK

Readme


npx @inariwatch/mcp init

That's it. Here's what happens:

InariWatch Setup

  AI tools
    ✓ Claude Code (1.0.16)
    ✓ Cursor
    ✓ VS Code + Copilot (1.96.0)
    ✗ Windsurf
    ✗ Codex CLI
    ✓ Gemini CLI (0.1.8)
    ✓ OpenClaw (3.2.1)
    ✓ GitHub CLI (username)

  Project
    ● Next.js detected — will install @inariwatch/capture

  Authenticating via browser...
  Code: ABC123
  Opening: https://app.inariwatch.com/cli/verify?code=ABC123

  Configuring MCP
    ✓ Claude Code
    ✓ Cursor
    ✓ VS Code + Copilot
    ✓ Gemini CLI
    ✓ OpenClaw

  Link GitHub (username) to InariWatch? (y/N) y
    ✓ GitHub linked (username)

  Installing @inariwatch/capture
    ✓ @inariwatch/capture installed
    ✓ next.config wrapped with withInariWatch
    ✓ instrumentation.ts created

  Enable Substrate I/O recording? (y/N) y
    ✓ INARIWATCH_SUBSTRATE=true added to .env

  Done! MCP in 4 tools + capture SDK + Substrate I/O.

What it does

| Step | What happens | You do | |------|-------------|--------| | Detect | Scans your machine for AI coding tools | Nothing | | Auth | Opens browser for secure device-flow login | Click "Approve" | | Configure MCP | Writes MCP config to every detected tool | Nothing | | Install SDK | Adds @inariwatch/capture to your project | Nothing | | Link GitHub | Connects your GitHub account | Type y (optional) |

One command. Five steps. All automatic.

Supported tools

| Tool | Detection | MCP config location | |------|-----------|-------------------| | Claude Code | claude in PATH | claude mcp add | | Cursor | Config directory | ~/.cursor/mcp.json | | Windsurf | Config directory | ~/.windsurf/mcp.json | | VS Code + Copilot | code in PATH | .vscode/mcp.json | | Codex CLI | codex in PATH | codex mcp add | | Gemini CLI | gemini in PATH | gemini mcp add |

Works on macOS, Linux, and Windows. Paths resolve per-platform automatically.

What your AI tool gets

Once configured, your AI coding tool has access to 25 MCP tools:

| Tool | What it does | |------|-------------| | query_alerts | Search and filter your alerts | | trigger_fix | Start AI-powered remediation | | assess_risk | Analyze PR risk before merge | | search_codebase | Semantic code search (pgvector + BM25) | | get_root_cause | AI root cause analysis | | rollback_vercel | One-click deploy rollback | | ask_inari | Chat with your monitoring data | | get_error_trends | Error trend analytics | | run_health_check | Production health check | | simulate_fix | Test a fix before applying | | ... | 15 more tools |

Plus 4 resources (critical alerts, recent alerts, status overview, active remediations), 7 prompts (diagnose, status-report, fix-this, post-deploy-check, weekly-summary, production-health-check, daily-report), and real-time alert streaming.

Options

npx @inariwatch/mcp init [options]

| Flag | Description | |------|-------------| | --token <token> | Skip browser auth, use an existing API token | | --no-capture | Skip @inariwatch/capture SDK installation |

Framework detection

When run inside a Node.js project, init also installs the @inariwatch/capture SDK:

| Framework | What it does | |-----------|-------------| | Next.js | Installs SDK, wraps next.config with withInariWatch, creates instrumentation.ts | | Node.js | Installs SDK (use --import @inariwatch/capture/auto to activate) |

Detects your package manager automatically (npm, yarn, pnpm, bun).

Manual setup

If you'd rather configure one tool manually:

Claude Code:

claude mcp add inariwatch https://mcp.inariwatch.com -t http -H "Authorization: Bearer YOUR_TOKEN"

Cursor / Windsurf — add to mcp.json:

{
  "mcpServers": {
    "inariwatch": {
      "url": "https://mcp.inariwatch.com",
      "headers": { "Authorization": "Bearer YOUR_TOKEN" }
    }
  }
}

VS Code — add to .vscode/mcp.json:

{
  "servers": {
    "inariwatch": {
      "url": "https://mcp.inariwatch.com",
      "headers": { "Authorization": "Bearer YOUR_TOKEN" }
    }
  }
}

Get your token at app.inariwatch.com/settings.

How it works

The MCP server runs at mcp.inariwatch.com using Streamable HTTP (JSON-RPC 2.0). Auth uses Bearer tokens with SHA-256 hashing. Rate limits apply per tool tier:

| Tier | Limit | Tools | |------|-------|-------| | Cheap | 200/min | query_alerts, get_status, get_uptime | | Moderate | 30/min | assess_risk, get_root_cause, ask_inari | | Expensive | 5/min | trigger_fix, rollback_vercel, simulate_fix |

Every tool call is logged to the audit trail.

Related packages

License

MIT