Skip to main content
Glama
Koalr
by koalr

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

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

Related MCP server: gitlumen-mcp

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

Deploy Risk

Tool

Description

check_change_risk

Before opening a PR: the score its check run will show, the reasons, and ranked steps that lower it (which files to split out), with reviewers

score_pr_for_deploy_risk

Score a pull request 0–100 using 38 research-validated signals

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

Daily trend for one or all DORA metrics

Pull Requests

Tool

Description

get_pr_summary

Cycle time, throughput, review health metrics

get_open_prs

All open PRs with size and deploy risk score

get_at_risk_prs

Open PRs with a deploy risk score of 70+

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

Tool

Description

search

Search repos, PRs, issues, and teams by name

Coverage

Tool

Description

get_coverage_summary

Coverage vs failure rate by repository

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

Daily AI tool adoption, last 30 days

Example Prompts

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

  • "Check this branch with Koalr before you open the PR" (or use the koalr-pre-pr-check prompt)

  • "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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Connects AI coding assistants to Gaffer test history and coverage data to analyze project health, debug failures, and identify untested code areas. It enables tools to track test stability, cluster failures by root cause, and monitor code coverage trends across projects.
      3
      287 npm
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to screen GitHub repositories and pull requests for risk analysis, generating risk scores, findings, and merge-readiness signals.
      5
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Connects AI agents to live observability stacks including Sentry, GitHub, Vercel, Better Stack, and Cloudflare, enabling end-to-end incident investigation, deployment correlation, root cause analysis, and regression triage.
      14
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI coding agents to compute a 0-1 diff risk score for the current branch or any pull request, exposing the driving signals, evidence, tier and resulting auto-approve or human-review policy decision. Agents can use it to decide whether a low-blast-radius, AI-reviewed PR is safe to merge automatically while flagging risky changes for a human.
      6
      416 npm
      3
      MIT