Grafana MCP server

Ask in plain English about your Grafana dashboards, logs, traces, alerts, incidents and on-call users.

Tools
24 (13 read, 11 write)
Transport
Local (uvx)
Sign-in
See setup
Made by
Grafana Labs
RevampKey connects Grafana in one click and adds its 5 skills. No config file. Free for Mac, Windows and Linux. Already installed? Open Grafana in RevampKey

Get RevampKey to connect Grafana

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and Grafana is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

for s in essentials alert-rule-and-silence-audit dashboard-panel-query-review incident-response-triage observability-change-annotation; do
  curl -fsSL --create-dirs -o .claude/skills/grafana-mcp-server-$s/SKILL.md https://revampkey.com/marketplace/grafana-mcp-server/skills/$s/SKILL.md
done
All Grafana skills

What the Grafana MCP server does

Grafana MCP Server is a Model Context Protocol server for Grafana, built by Grafana Labs. It gives access to a Grafana instance and the tools around it, including dashboards, datasources, Loki logs, Tempo traces, alerts, incidents and on-call schedules. Teams that run Grafana for monitoring and observability use it, such as operations and on-call engineers who check dashboards and respond to alerts.

Once you connect it, you can ask RevampKey about your own Grafana setup. You can read the panel queries on a dashboard, list annotations and annotation tags, and check whether your datasources are healthy. For logs and traces, you can analyze Loki labels, find error patterns in logs, find slow requests, and compare Tempo traces. For incidents, you can create one and add activity to it.

To connect, you need your Grafana instance URL and a service account token. Grafana version 9.0 or later is needed for full functionality. The agent asks before it changes anything, so creating an incident, creating a snapshot or managing an alert rule waits for your approval.

What you can do with Grafana and an AI agent

Finding why checkout got slow

A checkout page feels slow. You ask RevampKey which requests are slow. The agent calls find_slow_requests, compares the Tempo traces with diff_tempo_traces, and reads the checkout dashboard panel queries with get_dashboard_panel_queries. You get a summary of what differs and which panels to look at. Nothing in Grafana changes.

Checking who is on call at night

An alert fires after midnight. You ask who is on call. The agent calls get_current_oncall_users and reads the alert group with get_alert_group, so you see the owner and the alert details. If you want to silence a noisy alert, the agent proposes a silence with alerting_manage_silences and waits for your approval before it runs.

Opening an incident for a datasource outage

A dashboard shows no data. You ask whether your datasources are healthy. The agent runs check_datasources_health and reports which ones fail. You then ask it to open an incident. The agent drafts it with create_incident and adds the health results with add_activity_to_incident, but only after you approve the change.

How to set up the Grafana MCP server

Pick your app. RevampKey needs no config file; the others need one command or a config line.

About 1 minute · See setup

  1. Install RevampKey for Mac, Windows or Linux and sign in.

  2. Open Connectors, search for Grafana and click Connect. RevampKey installs and runs the server for you, with nothing to set up in a terminal.

  3. Ask in plain language. The 5 Grafana skills come with the connector. The agent asks before it changes anything.

  4. Download RevampKeyConnect Grafana · 1 click

    Get RevampKey to connect Grafana

    RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and Grafana is one click away with its skills already attached.

    Download RevampKey

    Not now? Use the skills in your current tool

    for s in essentials alert-rule-and-silence-audit dashboard-panel-query-review incident-response-triage observability-change-annotation; do
      curl -fsSL --create-dirs -o .claude/skills/grafana-mcp-server-$s/SKILL.md https://revampkey.com/marketplace/grafana-mcp-server/skills/$s/SKILL.md
    done
    All Grafana skills

Using a different MCP client?

Add a local (stdio) MCP server in its settings that runs this command.

Runs locallyuvx mcp-grafana==2.0.2

Skip the config file

In RevampKey, Grafana is one click: sign-in and the server and the 5 skills are set up for you.

Download RevampKey

Grafana agent skills

Playbooks that teach the agent how to do real Grafana work, step by step. RevampKey adds them when you connect; any Agent Skills tool can use them.

See all 5 skills in detail →

What to ask once Grafana is connected

Plain words work. Copy one to try it.

  • “What queries do the panels on my checkout latency dashboard run?”
  • “Are all my Grafana datasources healthy right now?”
  • “Find the main error patterns in the Loki logs for payments in the last hour.”
  • “Who is on call right now, and which alert group is paging them?”
  • “Open an incident for the checkout errors and add today's findings to it.”
  • “Audit our Grafana alert rules and silences for the payments folder, and tell me which ones are noisy or no longer needed.”Audit Grafana alert rules, silences and routing
  • “Review the Checkout Service dashboard. Are any panels broken, duplicated or expensive?”Review Grafana dashboard panels and queries
  • “The checkout alert has been firing for 40 minutes. Who is on call, and what errors are we seeing?”Triage an active Grafana incident
  • “Mark the payments-api 2.14.3 deploy at 14:05 UTC on the payments service dashboard, tagged prod and deploy.”Annotate changes on Grafana graphs with AI

What the agent can do in Grafana

24 tools in 6 groups. Reading needs no approval; RevampKey asks before every change.

Dashboards and folders
Read a dashboard by its UID, list the queries behind each panel, and build a link to a dashboard or panel. You can also create a folder to hold dashboards.get_dashboard_by_uidget_dashboard_panel_queriesgenerate_deeplinkcreate_folder
Datasources and assertions
Check whether your Grafana datasources are healthy, read assertions, and create a new datasource when you ask for one.check_datasources_healthget_assertionscreate_datasource
Logs and traces
Analyze Loki labels, find error patterns in logs, find slow requests, and compare Tempo traces to see what differs between them.analyze_loki_labelsfind_error_pattern_logsfind_slow_requestsdiff_tempo_traces
Alerts and on-call
Read alert groups and see who is on call. Work with alert rules, notification routing and silences. Changes wait for your approval.get_alert_groupget_current_oncall_usersalerting_manage_rulesalerting_manage_routingalerting_manage_silences
Incidents and annotations
Create an incident and add activity to it. Read annotations and annotation tags on your dashboards, and create or delete annotations.create_incidentadd_activity_to_incidentget_annotationsget_annotation_tagscreate_annotationdelete_annotation
Snapshots
Create a dashboard snapshot to capture its current state, or delete a snapshot you no longer need.create_snapshotdelete_snapshot

All 24 Grafana MCP tools

Show all 24 tools13 read, 11 create and change

Read (13) Run without asking

  • analyze_loki_labels
  • check_datasources_health
  • diff_tempo_traces
  • find_error_pattern_logs
  • find_slow_requests
  • generate_deeplink
  • get_alert_group
  • get_annotation_tags
  • get_annotations
  • get_assertions
  • get_current_oncall_users
  • get_dashboard_by_uid
  • get_dashboard_panel_queries

Create and change (11) RevampKey asks before each one

  • add_activity_to_incident
  • alerting_manage_routing
  • alerting_manage_rules
  • alerting_manage_silences
  • create_annotation
  • create_datasource
  • create_folder
  • create_incident
  • create_snapshot
  • delete_annotation
  • delete_snapshot

Grafana MCP in RevampKey vs other tools

RevampKeyClaude CodeCursorVS Code
SetupOne clickOne terminal commandEdit mcp.jsonEdit mcp.json
Sign-inIn the app/mcp → AuthenticateBrowser promptBrowser prompt
Grafana skillsAdded on connectCopy into .claude/skillsCopy into the projectCopy into the project
Needs a terminalNoYesNoNo

Grafana MCP server FAQ

What do I need to connect Grafana MCP Server to RevampKey?

You need your Grafana instance URL and a service account token for that instance. Connect the server from the Connectors tab in RevampKey. Grafana version 9.0 or later is required for full functionality, and some datasource features may not work on earlier versions.

What can the agent do in Grafana MCP Server, and what can't it do?

The agent can read dashboards, panel queries, datasources, logs, traces, alert groups and on-call users. It can also make the changes its tools support, such as creating folders, incidents, annotations and snapshots. It only uses the 24 tools this connector exposes.

Does the agent change my Grafana data without asking?

No. The agent asks before it changes anything. Creating an incident, creating a snapshot or managing an alert rule waits for your approval. Your queries run against your own Grafana instance. Check the agent's answers before you act on them.

Can I use Grafana MCP Server with Grafana Cloud?

Yes. The server's documentation covers Grafana Cloud as a setup option. Use your Grafana Cloud instance URL in place of a local URL, along with a service account token. The server is made by Grafana Labs.

Is the Grafana MCP server local or remote?

It runs on your own computer with uvx (package mcp-grafana==2.0.2). Your client starts it as a local process; nothing is hosted.

What can an AI agent do with the Grafana MCP server?

It exposes 24 tools: 13 that read and 11 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

Are there agent skills for Grafana?

Yes. 5 SKILL.md playbooks teach an agent how to do real Grafana work step by step. RevampKey installs them when you connect Grafana; for Claude Code, Cursor or Codex you can copy them into your project.

Connect Grafana in under a minute

Download RevampKey for Mac, Windows or Linux, sign in, and Grafana is one click away, with its skills already attached, along with every other connector in the marketplace.

Download RevampKeyConnect Grafana · 1 click

Get RevampKey to connect Grafana

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and Grafana is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

for s in essentials alert-rule-and-silence-audit dashboard-panel-query-review incident-response-triage observability-change-annotation; do
  curl -fsSL --create-dirs -o .claude/skills/grafana-mcp-server-$s/SKILL.md https://revampkey.com/marketplace/grafana-mcp-server/skills/$s/SKILL.md
done
All Grafana skills