Does Grafana have an MCP server?
Grafana maintains an official MCP server.
- Access
- Local server
- Repository
- grafana/mcp-grafana
- Maintainer
- Grafana Labs
- License
- Apache-2.0
- Language
- Go
- Stars
- 3.3k
- Last commit
- today
- Category
- Monitoring
MCP server for Grafana
MCP server for Grafana
Runs on your machine over stdio, launched by your MCP client.
Add it from the terminal, then restart your session:
claude mcp add grafana -- npx -y <package-from-readme>Swap in the exact package and flags from the repo README — most servers need an API key passed as an environment variable.
Add --scope user to make it available in every project.
Open Settings → Developer → Edit Config and add the server to claude_desktop_config.json:
{
"mcpServers": {
"grafana": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}Restart Claude Desktop after saving.
Add to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for
every project:
{
"mcpServers": {
"grafana": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}A green dot in Settings → MCP means it connected.
Add to .vscode/mcp.json:
{
"servers": {
"grafana": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
]
}
}
}Then pick the server from the tools menu in Copilot's agent mode.
Does Grafana have an official MCP server?
Yes. Grafana maintains an official MCP server. The source lives at grafana/mcp-grafana on GitHub.
How do I connect Grafana to Claude?
Run the server locally and register it in Claude's MCP config. In Claude Code that's a single "claude mcp add" command; in Claude Desktop you add it to claude_desktop_config.json.
How is this verdict verified?
grafana/mcp-grafana lives in Grafana Labs' own org (~3.3k stars, active) — dashboards, datasources, Prometheus/Loki queries, incidents and alerting. GitHub metadata is refreshed every six hours.
grafana/mcp-grafana lives in Grafana Labs' own org (~3.3k stars, active) — dashboards, datasources, Prometheus/Loki queries, incidents and alerting.
- github data refreshed 2026-08-11, then every 6 hours
- vendor docs verified on 2026-08-10
Spotted something out of date? Tell us — corrections ship same-day.