Grafana logo

Grafana MCP Server

Grafana's official MCP server queries dashboards, datasources, Prometheus metrics and Loki logs. It is an official, vendor-maintained server. Works in Claude and Cursor.

Grafana

What Grafana can do

Grafana's official MCP server queries dashboards, datasources, Prometheus metrics, Loki logs

Tools Grafana exposes

5 tools · from docs

The exact tools this MCP server gives your AI.

query_prometheusQuery Prometheus metricsread
query_loki_logsQuery Loki logsread
list_dashboardsList dashboardsread
get_dashboardRead a dashboardread
list_datasourcesList datasourcesread

Try asking Claude

Example prompts once Grafana is connected.

Investigate an alert from metrics.
Query logs.
Read a dashboard.

Set up Grafana

Pick your client. Every snippet is copy-ready.

Claude Desktop → Settings → Developer → Edit Config (claude_desktop_config.json).

Permissions & safety

Read-onlyAuth: API Key

Runs remotely, so requests and returned data pass through grafana.com.

This server is read-only, so it cannot change your data.

Troubleshooting

Authentication fails or the connector shows disconnected
Re-run the connect flow. Check your API key is valid and has the right scopes.
401 / 403 errors on a tool call
The account lacks the scope that tool needs. Reconnect and grant the missing permission.
A tool returns nothing for your Grafana data
Confirm the account you authorised actually contains that data, and that your plan includes it.

FAQ

Grafana runs as a local MCP server. Get its install command from https://github.com/grafana/mcp-grafana, add it to your client's MCP config, then restart the client.

More Monitoring & Observability MCP servers

A
Written by Ari · Founder

Running a digital business since 2019 and a local SEO agency, Ari built and shipped GBPAudit.AI as a Claude connector. Every server here is connected and its tools read before it's listed.

Something wrong with this listing? Report it.