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

koalr-mcp

v0.5.1

Published

Koalr MCP server — connect engineering metrics to AI agents

Readme

koalr-mcp

Koalr MCP server — connect your engineering metrics, deploy risk scoring, and DORA performance data to Claude, Cursor, Windsurf, and any MCP-compatible AI assistant.

npm version smithery badge

Quick Start

Generate an API Key

  1. Go to app.koalr.com/settings/api-keys
  2. Create a new API key with the scopes you need
  3. Copy the key (shown once) — it starts with koalr_

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "koalr": {
      "command": "npx",
      "args": ["-y", "koalr-mcp@latest"],
      "env": {
        "KOALR_API_KEY": "koalr_your_key_here"
      }
    }
  }
}

Cursor

Add to your Cursor MCP settings (~/.cursor/mcp.json):

{
  "mcpServers": {
    "koalr": {
      "command": "npx",
      "args": ["-y", "koalr-mcp@latest"],
      "env": {
        "KOALR_API_KEY": "koalr_your_key_here"
      }
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "koalr": {
      "command": "npx",
      "args": ["-y", "koalr-mcp@latest"],
      "env": {
        "KOALR_API_KEY": "koalr_your_key_here"
      }
    }
  }
}

Claude Code (CLI)

claude mcp add koalr \
  -e KOALR_API_KEY=koalr_your_key_here \
  -- npx -y koalr-mcp@latest

Environment Variables

| Variable | Description | Default | | --------------- | ---------------------------------------------------- | ----------------------- | | KOALR_API_KEY | Your Koalr API key (required). Starts with koalr_. | — | | KOALR_API_URL | Koalr API base URL (for self-hosted or local dev) | http://localhost:3001 | | MCP_TRANSPORT | Transport mode: stdio (default) or http | stdio | | PORT | Port for HTTP transport mode | 3010 |

Available Tools

Organization

| Tool | Description | | ------------------------ | ----------------------------------------------------------------- | | get_org_health | Comprehensive org health: DORA tier, cycle time, teams, incidents | | get_well_being_summary | Developer well-being: focus time, meeting load, burnout signals |

DORA Metrics

| Tool | Description | | ------------------ | ------------------------------------------------------ | | get_dora_summary | Deploy frequency, lead time, change failure rate, MTTR | | get_dora_trend | Weekly trend for any DORA metric |

Pull Requests

| Tool | Description | | ----------------- | ----------------------------------------------- | | get_pr_summary | Cycle time, throughput, review health metrics | | get_open_prs | Currently open PRs with age and risk indicators | | get_at_risk_prs | PRs at risk of being long-running or blocked |

Teams

| Tool | Description | | ------------------- | ------------------------------------ | | list_teams | All teams with IDs and member counts | | get_team | Team-level DORA and flow metrics | | list_team_members | Team roster with GitHub logins |

Repositories

| Tool | Description | | ------------------- | ------------------------------------------------------------ | | list_repositories | All repos with health scores | | get_repository | Repo metrics: deployment frequency, cycle time, contributors |

Developers

| Tool | Description | | ----------------------- | ------------------------------------------------ | | get_developer | Individual developer metrics and recent activity | | list_top_contributors | Most active contributors by commits and PRs |

Search

| Tool | Description | | -------- | ------------------------------------------------ | | search | Search developers, repos, PRs, and teams by name |

Coverage

| Tool | Description | | ---------------------- | -------------------------------------- | | get_coverage_summary | Test coverage by repository with trend |

Incidents

| Tool | Description | | ----------------------- | -------------------------------------------------- | | list_recent_incidents | Recent incidents from PagerDuty/OpsGenie with MTTR |

AI Adoption

| Tool | Description | | ------------------------- | --------------------------------------- | | get_ai_adoption_summary | GitHub Copilot and Cursor usage metrics | | get_ai_adoption_trend | AI tool adoption trend over time |

Example Prompts

Once connected, you can ask your AI agent things like:

  • "What is our team's DORA performance tier this month?"
  • "Show me all PRs that have been open for more than 3 days"
  • "Which developers have the highest PR throughput on the backend team?"
  • "How is our AI coding tool adoption trending?"
  • "What was our MTTR for incidents last quarter?"
  • "Find the auth-service repository and show me its deployment frequency"

HTTP Transport (Remote Hosting)

For hosting the MCP server remotely (e.g., at mcp.koalr.com):

MCP_TRANSPORT=http PORT=3010 KOALR_API_KEY=koalr_... node dist/index.js

The server exposes POST /mcp and GET /mcp endpoints following the MCP Streamable HTTP transport spec.

Local Development

# From repo root
pnpm install
pnpm exec turbo build --filter=koalr-mcp

# Run in stdio mode (test with MCP Inspector)
KOALR_API_KEY=koalr_... node apps/mcp/dist/index.js

# Run in HTTP mode
MCP_TRANSPORT=http KOALR_API_KEY=koalr_... node apps/mcp/dist/index.js