koalr-mcp

v0.9.1
koalr-mcp Checked 16 hours ago Published 14 days ago

Koalr MCP server — connect engineering metrics to AI agents

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_dora_summary DORA Metrics Summary

Get DORA metrics (deploy frequency, lead time for changes, change failure rate, MTTR) for the organization or a specific team. Use this to understand overall engineering delivery performance and reliability. Read-only — returns aggregated metrics for the selected time window.

ParameterTypeDescription
fromstringStart date as ISO string (e.g. 2024-01-01). Defaults to 30 days ago.
teamIdstringTeam ID to filter metrics for a specific team
tostringEnd date as ISO string (e.g. 2024-01-31). Defaults to today.

get_dora_trend DORA Metric Trend

Get the daily DORA metric trend to see how deployment frequency, lead time, change failure rate, or MTTR has changed over time. Pass metric to return only that series; omit it for all four. Useful for spotting regressions or improvements across releases. Read-only.

ParameterTypeDescription
daysnumberNumber of days to look back (default: 90). Max recommended: 365.
metricstringWhich DORA metric to trend: deploy_frequency, lead_time, change_failure_rate, or mttr. Omit for all.
teamIdstringTeam ID to filter metrics for a specific team

get_pr_summary Pull Request Metrics Summary

Get pull request metrics including cycle time (time from first commit to merge), throughput (PRs merged per week), review health (time to first review, reviewer distribution), and PR size trends. Use this to assess code review efficiency and identify bottlenecks in your delivery pipeline. Read-only.

ParameterTypeDescription
daysnumberNumber of days to look back (default: 30)
teamIdstringTeam ID to filter to a specific team

get_open_prs List Open Pull Requests

List currently open pull requests, newest first, regardless of how long they have been open. Each PR includes its number, title, author, branches, opened time, size (additions and deletions), deploy risk score (0-100), and repository. Returns up to 100 PRs per page; pass page to read further. Use this to find stale or large PRs that may be blocking the team. Read-only.

ParameterTypeDescription
highRiskOnlybooleanIf true, only return PRs with a deploy risk score of 70 or above (High or Critical)
pageintegerPage number, 100 PRs per page (default: 1)
repositoryIdstringFilter to a specific repository by ID (use list_repositories to find IDs)

get_at_risk_prs At-Risk Pull Requests

Get open pull requests whose deploy risk score is 70 or above (High or Critical), newest first, with their opened time, size, author, and repository. Returns up to 100 PRs per page; pass page to read further. Use this to prompt engineering leads to review risky work before it merges. Read-only.

ParameterTypeDescription
pageintegerPage number, 100 PRs per page (default: 1)
repositoryIdstringFilter to a specific repository by ID. Omit to return at-risk PRs across all repos.

list_teams List Engineering Teams

List all engineering teams in the organization with their member counts and slugs. Use this to discover team IDs needed for filtering other metrics tools. Returns an array of team objects with id, name, slug, and memberCount. Read-only.

ParameterTypeDescription
searchstringFilter teams by name substring (case-insensitive). Omit to list all teams.

get_team Get Team Details

Get details and metrics for a specific team including DORA performance, cycle time, and member count. Use this when asked about a specific team's engineering health. Combines DORA and flow metrics in a single response. Read-only.

ParameterTypeDescription
teamId *stringThe team ID (use list_teams to find team IDs)

list_team_members List Team Members

List all members of a specific team with their name, email, GitHub login (null when the user has not linked GitHub), team role, and organization role. Use this to understand team composition or find developer logins for the get_developer tool. Read-only.

ParameterTypeDescription
teamId *stringThe team ID (use list_teams to find team IDs)

list_repositories List Connected Repositories

List all repositories connected to Koalr with their health scores, activity levels, and basic stats. Use this to get an overview of the codebase landscape or find repository IDs for filtering other tools. Read-only.

ParameterTypeDescription
limitnumberMaximum number of repositories to return (default: 50, max: 200)

get_repository Get Repository Details

Get detailed metrics for a specific repository including deployment frequency, PR cycle time, contributor count, and code health indicators. Use this when asked about a specific codebase. Read-only.

ParameterTypeDescription
name *stringRepository name (e.g. "my-service") or full name with owner (e.g. "org/my-service")

get_developer Get Developer Profile

Get metrics for an individual developer including their PR throughput, review activity, average cycle time, and code contributions. Use this when asked about a specific engineer's activity or productivity. Read-only.

ParameterTypeDescription
login *stringGitHub username / login of the developer (e.g. "jsmith")

list_top_contributors Top Contributors

List the most active contributors ranked by commits and PRs merged over a time window. Use this to identify key contributors, bus-factor risks, or to recognize top performers. Read-only.

ParameterTypeDescription
daysnumberTime window in days to measure activity (default: 30)
limitnumberNumber of contributors to return (default: 10, max: 50)

get_coverage_summary Test Coverage Summary

Get the test coverage report across all repositories that deployed in the window: latest coverage percentage, deployment count, failure rate, and incident count per repository, low-coverage hotspots, and the correlation between coverage and failure rate. Use this to find repositories with low coverage that may warrant additional review attention. Read-only.

ParameterTypeDescription
daysintegerNumber of days of deployments and incidents to analyze (default: 90)

list_recent_incidents Recent Production Incidents

List recent production incidents from PagerDuty or OpsGenie with their severity, MTTR (mean time to recovery), and affected services. Use this to understand reliability posture or investigate a recent outage in context with deployment activity. Read-only.

ParameterTypeDescription
daysnumberNumber of days to look back for incidents (default: 30)
limitintegerMaximum number of incidents to return, newest first (default and max: 100)

get_ai_adoption_summary AI Coding Tool Adoption Summary

Get AI coding tool adoption metrics including GitHub Copilot acceptance rate, Cursor active users, AI-generated code percentage, and suggestions per developer. Organization-wide, covering the last 30 days. Use this to understand how the team is using AI coding assistants and measure their impact on productivity. Read-only.

get_ai_adoption_trend AI Tool Adoption Trend

Get the daily trend of AI tool adoption across Copilot, Cursor, and Claude over the last 30 days (organization-wide). Use this to track whether AI tool adoption is growing or declining. Read-only.

get_org_health Organization Health Snapshot

Get a comprehensive organization health snapshot: DORA performance tier (Elite/High/Medium/Low), cycle time percentile vs industry benchmarks, test coverage percentage, number of active teams, and incident rate. Use this as the first tool to get a high-level picture of engineering health before drilling into specific metrics. Read-only.

ParameterTypeDescription
teamIdstringTeam ID to scope health metrics to a specific team. Omit for org-wide snapshot.

get_well_being_summary Team Well-Being & Burnout Risk

Get team well-being scores across pillars: focus time (uninterrupted deep work hours), meeting load (percentage of time in meetings), context switching (task interruptions per day), and burnout risk indicators. Use this to understand developer experience and identify teams under stress before it affects delivery. Read-only.

ParameterTypeDescription
teamIdstringTeam ID to filter well-being data. Omit for org-wide summary.

score_pr_for_deploy_risk Score PR Deployment Risk

Score a specific pull request for deployment risk using Koalr's 38-signal model. Returns a 0–100 risk score with a detailed factor breakdown covering change entropy, DDL migration detection, author file expertise, PR size, CODEOWNERS violations, blast radius, coverage delta, and more. Use this to answer "How risky is this PR?" or "Should we merge this before the release?". Read-only — scoring does not modify the PR.

ParameterTypeDescription
additions *numberLines added.
changedFiles *numberNumber of files changed.
deletions *numberLines deleted.
owner *stringGitHub repository owner (org or user). Example: "acme".
prNumber *numberPull request number.
repo *stringRepository name. Example: "api-service".
sha *stringHead commit SHA.
title *stringPR title.
authorLoginstringGitHub login of the PR author.
bodystringPR description body (used to detect risky phrases).
filesarrayList of changed file paths. Used for DDL detection, CODEOWNERS analysis, and entropy calculation. More accurate results when provided.
hasApprovalbooleanWhether the PR has at least one approving review.
hasReviewbooleanWhether the PR has at least one review (any type).

check_change_risk Check Change Risk Before Opening a PR

Call this BEFORE opening a pull request, with the files you changed. Returns the deploy-risk score (0–100) the PR's Koalr check run will show, the reasons behind it, and `toLower`: ranked, concrete steps that lower the risk (for example, which files to split into their own PR), each with the score this change would drop to. Also names reviewers who know the code and how risky changes in this repository have gone lately. Get the file list with `git diff --numstat <base>...HEAD` (plus `git diff --numstat` for uncommitted work). If the result is medium or higher, take the top `toLower` step, ca…

ParameterTypeDescription
files *arrayEvery file the change touches (up to 300).
repository *stringGitHub repository as "owner/name", e.g. "acme/api-service".
authorLoginstringGitHub login of the person you are working for (`gh api user --jq .login`). Adds their history with these files to the score; without it, author expertise is not evaluated.
baseBranchstringBranch the PR will target, e.g. "main".
descriptionstringPlanned PR description.
titlestringPlanned PR title.