← Leaderboard

Grafana

Rank 9 of 21Domain: observabilitymcp-grafana (Grafana Labs release binary)@2.1.120 validated tasks · 5 held out

Grafana ranks 9 of 21 ranked MCP servers, with a row score of 91.7% (80–98%). Success rate by agent over 20 tasks: Claude Code 90% (74–98%), Codex 97% (87–99%), OpenCode 88% (71–96%). Mean ignore rate 9% (2–20%): the share of should-call trials with no call to the server before the answer. 20 validated tasks (5 held out), 3 trials per task and agent; run 2026-10-30.

Its row

The same row as on the leaderboard. Click a cell to see its outcomes and diagnostics.

Grafana: rank, success rate per harness with 95% intervals, row score and ignore rate
RankServerDomainClaude Codesuccess rateCodexsuccess rateOpenCodesuccess rateRow scoremean of 3 · 95% intervalIgnore ratemean of 3
9
Grafana
v2.1.1
observability
91.7%(80–98%)
9%2–20%

Results by task shape and harness

Task shape × harness

Success rate for each task shape on each harness. Stronger violet is higher, and a dash means the shape doesn't apply or the harness can't connect.

Why tasks fail

How each harness's scored trials ended. The strongest violet is grounded correct.

  • Grounded correct
  • Ignored the result
  • Answered from memory
  • Used a built-in
  • Wrong tool or bad args
  • False call
  • No answer
  • Excluded

Harness differences on this server

Difference in success between two harnesses on the same tasks, with 95% intervals. Two harnesses can be told apart only when the interval excludes 0 and at least 3 tasks differ in the same direction.

How we ran it

Grafana Labs' official server, run from its release binary against a local Grafana with data seeded for each trial. It ran read-write, with an Editor service account limited to the trial's own organization, because the write tasks edit dashboards, folders and annotations. Eight tool categories were on (37 tools): search, datasource, prometheus, loki, alerting, dashboard, folder and annotations. The other categories and the raw API passthrough were off, since most need Grafana Cloud, a backend the test stack doesn't run, a renderer plugin or calls to grafana.com.

Package
mcp-grafana (Grafana Labs release binary) @ 2.1.1
Publisher
Grafana Labs
Links
GitHub releaseSource
Docker
grafana
Launch command (stdio)
sh \
  -c '[ -n "$LEADERBOARD_CACHE_DIR" ] || LEADERBOARD_CACHE_DIR=$HOME/.cache/m3-leaderboard; export GRAFANA_URL="$1" GRAFANA_SERVICE_ACCOUNT_TOKEN="$(cat "$2")" GRAFANA_USAGE_STATS=disabled; exec "$LEADERBOARD_CACHE_DIR/bin/mcp-grafana-2.1.1" --usage-stats=disabled --enabled-tools=search,datasource,prometheus,loki,alerting,dashboard,folder,annotations' \
  mcp-grafana <grafana url> <token file>

<…> parts are filled in per trial.

Setup command (once)
set -e; v=2.1.1; d="$HOME/.cache/m3-leaderboard/bin"; case "$(uname -s)_$(uname -m)" in Darwin_arm64) a=Darwin_arm64 h=37179539f9c6b65a27b8840540394af215fbe285f20be5569eae50bd33e7bc49;; Darwin_x86_64) a=Darwin_x86_64 h=36880cbc7bdea5e39a558121f90f4acab54c083e6402f663934e787d5264816b;; Linux_x86_64) a=Linux_x86_64 h=fba3a5294fa07218dbf59944c75ca890ce9c59384bff1bb43cd28d63b0521bec;; Linux_aarch64|Linux_arm64) a=Linux_arm64 h=8b77c9b5396bbcd018e5de6af1cbf7e725a0360c5d34c723241fb0dbeb8d928d;; *) echo "mcp-grafana: no pinned build for $(uname -s) $(uname -m)" >&2; exit 1;; esac; t=$(mktemp -d); curl -fsSL -o "$t/m.tgz" "https://github.com/grafana/mcp-grafana/releases/download/v$v/mcp-grafana_$a.tar.gz"; got=$( (sha256sum "$t/m.tgz" 2>/dev/null || shasum -a 256 "$t/m.tgz") | cut -d' ' -f1); [ "$got" = "$h" ] || { echo "mcp-grafana: sha256 $got != pinned $h" >&2; rm -rf "$t"; exit 1; }; tar -xzf "$t/m.tgz" -C "$t" mcp-grafana; mkdir -p "$d"; mv "$t/mcp-grafana" "$d/mcp-grafana-$v"; rm -rf "$t"; "$d/mcp-grafana-$v" --version

Tasks

Public vs held-out tasks

−11.1 pts95% interval −22.9 to +12.1 pts

Success on public tasks minus success on held-out tasks, averaged over the harnesses. 5 of the 20 validated tasks are held out, so nobody can tune tool descriptions to their prompts. Their 45 trials are scored, but their prompts and transcripts are never published. The interval crosses 0, so there is no detectable gap.

Task validation

Each task version is validated once, with three checks. The first two run 2 trials per harness, and a third only when those two disagree. Told which tool to use, it must pass 2 trials on at least one harness, so it is solvable. Without the server, it must fail 2 trials on every harness, so it can't be answered from memory. When we swap a value in the server's data, the answer must change with it, so we know the answer came from the server. Tasks that fail a check are rewritten or removed and never scored.

Validation status per task for Grafana
TaskShapeStatusTold which tool (passed)No server (correct)Reason
grafana.chain.1 v1Two-step chainValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.chain.1 v2Two-step chainValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.chain.2 v2Two-step chainValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.chain.2 v3Two-step chainValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.collision.1 v1Built-in collisionValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.collision.1 v2Built-in collisionValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.collision.2 v1Built-in collisionValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.collision.2 v2Built-in collisionValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.error_recovery.1 v1Error recoveryValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.error_recovery.1 v2Error recoveryValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.lookup.1 v1Look up by identifierValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.lookup.1 v2Look up by identifierValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.lookup.2 v1Look up by identifierValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.lookup.2 v2Look up by identifierValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.lookup.3 v1Look up by identifierValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.lookup.3 v2Look up by identifierValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.search.1 v1Search or filterValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.search.1 v2Search or filterValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.search.2 v1Search or filterValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.search.2 v2Search or filterValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.search.3 v1Search or filterValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.search.3 v2Search or filterValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.should_not_call.1 v1Should not callValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Passed all three checks
grafana.should_not_call.1 v2Should not callValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Passed all three checks
grafana.write.1 v1Write, then verifyValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.write.1 v2Write, then verifyValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.write.2 v1Write, then verifyValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.write.2 v2Write, then verifyValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.write.3 v1Write, then verifyValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
grafana.write.3 v2Write, then verifyValidatedClaude Code 2/2, Codex 2/2, OpenCode 2/2Claude Code 0/2, Codex 0/2, OpenCode 0/2Passed all three checks
10 held-out tasks10 validated, 0 dropped. Held-out task names and prompts stay private.

Run this suite in your CI

This server's tasks are M3 tests in tests/servers/grafana/. The command runs them with the same harness versions and models as this server's cells, on m3 0.3.2, and the workflow runs it on every pull request. Held-out tasks are not included.

M3 command
m3 test --runtime managed \
  --harness claude_code@2.1.312=claude-haiku-5-5 \
  --harness codex@0.165.0=gpt-6-luna \
  --harness opencode@1.19.5=anthropic/claude-haiku-5-5 \
  --trials 3 \
  -- tests/servers/grafana
README badge (Markdown)
[![Agent success on Grafana: 92%](https://img.shields.io/badge/agent%20success-92%25-4a3ca5)](https://m3.sineframe.com/leaderboard/server/grafana/)
GitHub Actions workflow
name: MCP agent tests
on: [pull_request]
jobs:
  m3:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: astral-sh/setup-uv@v6
      - name: Run the Grafana MCP Agent Usability suite
        env:
          ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
        run: |
          uvx --from sf-m3-cli==0.3.2 m3 test --runtime managed \
            --harness claude_code@2.1.312=claude-haiku-5-5 \
            --harness codex@0.165.0=gpt-6-luna \
            --harness opencode@1.19.5=anthropic/claude-haiku-5-5 \
            --trials 3 \
            -- tests/servers/grafana