Grafana MCP server
Search & edit Grafana dashboards, query datasources (PromQL/LogQL/SQL), inspect alerts.
not scanned yet
0 stars267 downloads/wk
Reviews
Write oneNobody has reviewed Grafana yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Grafana tools
No tool declarations could be read from the package source. They show once the server is installed.
How Grafana compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 80/100
- higher than 50% of 802 Databases servers
- Downloads a week
- 267
- more than 75% of 328 Databases servers with a package
Release history: 3 versions in the registry since 2026-09-12, latest 2026-10-26, typically one every 27 days.
Install Grafana in Claude Code, Cursor or VS Code
Runs npx -y @dockndevai/mcp-grafana on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mcp-grafana -- npx -y @dockndevai/mcp-grafana
What the publisher says
From the Grafana repository's README, as published. We do not edit it. Read it on GitHub
mcp-grafana
A safe-by-default Model Context Protocol server for Grafana. It lets an agent explore and operate Grafana — search dashboards, read the dashboard JSON model, list and query datasources (Prometheus / Loki / SQL), inspect alert rules and annotations, and (in higher modes) create/update dashboards and folders, write annotations, and delete.
Part of the dockndevai MCP server suite — one governance model across all of them.
What it gives an agent
The server starts read-only (see Safe by default); higher-capability tools are only registered when you raise the mode.
Install
npx -y @dockndevai/mcp-grafanaYou need a Grafana service account token (Administration → Service accounts → Add service account → Add token). Give it the least role that works — Viewer for read-only use, Editor to create/update, Admin only if you must delete.
Configure
{
"mcpServers": {
"grafana": {
"command": "npx",
"args": ["-y", "@dockndevai/mcp-grafana"],
"env": {
"GRAFANA_URL": "http://localhost:3000",
"GRAFANA_TOKEN": "glsa_...",
"GRAFANA_MODE": "read-only"
}
}
}
}See docs/CLIENTS.md for Claude Code / Cursor / Codex / VS Code / Windsurf snippets, and .env.example for every supported variable.
Safe by default
The access model is enforced by src/security.ts — defence in depth on top of the service-account token's own role:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Grafana: common questions
- Is Grafana MCP server safe?
- Mostly: it is graded B (80/100). Read the Grafana safety report
- How do I install Grafana?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Grafana need an API key?
- Yes. The registry entry asks for
GRAFANA_TOKEN. - Is Grafana maintained?
- The last commit was 33 days ago (2026-10-01). The latest release is v0.3.3.
- What can I use instead of Grafana?
- Servers from other publishers that do the same job: LINQ to DB MCP server, Metabase AI Assistant MCP server and Grain SQL MCP server. Compare all Grafana alternatives.
- How does Grafana compare with other Databases MCP servers?
- safety score 80/100 (higher than 50% of 802 Databases servers); downloads a week 267 (more than 75% of 328 Databases servers with a package). Full comparison.
Alternatives to Grafana
Same job from other publishers: the closest match first, then the best rated.
- LINQ to DBInspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.not reviewedEstablishedA
- Metabase AI AssistantMCP Server for Metabase - 111 tools for SQL generation, dashboards & PostgreSQLnot reviewedGrowingB
Grain SQLRun SQL queries and inspect database schemas through safe, visible MCP tools.not reviewedGrowingB- GreptimedbQuery GreptimeDB metrics, logs and traces with SQL, TQL and RANGE. Manage pipelines and dashboards.not reviewedGrowingA
ShowboardYour coding agent answers with dashboards: charts and tables from read-only SQL, Excel and CSV.not reviewedGrowingB