Grafana MCP server
online · 100% uptimeio.github.grafana/mcp-grafana·vv2.1.1·3.5k starsAn MCP server giving access to Grafana dashboards, data and more.
not scanned yet
3.5k stars
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
Tool list not cached yet. `describe` through the gateway fetches it live.
How Grafana compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 98/100
- higher than 99% of 48,273 servers
- Uptime
- 100%
- of our recent checks; the typical remote server answers 100%
- Response time
- 118 ms
- faster than 80% of 30,037 servers
- GitHub stars
- 3,523
- more than 95% of 28,534 servers
Release history: 9 versions in the registry since 2026-09-17, latest 2026-10-20, typically one every 4 days.
Install Grafana in Claude Code, Cursor or VS Code
claude mcp add --transport http mcp-grafana https://mcp.grafana.com/mcp
What the publisher says
From the Grafana repository's README, as published. We do not edit it. Read it on GitHub
Grafana MCP server
A [Model Context Protocol][mcp] (MCP) server for Grafana.
This provides access to your Grafana instance and the surrounding ecosystem.
Quick Start
Requires uv. Add the following to your MCP client configuration (e.g. Claude Desktop, Cursor):
{
"mcpServers": {
"grafana": {
"command": "uvx",
"args": ["mcp-grafana"],
"env": {
"GRAFANA_URL": "http://localhost:3000",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "<your service account token>"
}
}
}
}For Grafana Cloud, replace GRAFANA_URL with your instance URL (e.g. https://myinstance.grafana.net). See Usage for more installation options including Docker, binary, and Helm.
Requirements
- Grafana version 9.0 or later is required for full functionality. Some features, particularly datasource-related operations, may not work correctly with earlier versions due to missing API endpoints.
Features
The following features are currently available in MCP server. This list is for informational purposes only and does not represent a roadmap or commitment to future features.
Dashboards
- Search for dashboards: Find dashboards by title, folder UID, tag, or starred status
- Get dashboard by UID: Retrieve full dashboard details using its unique identifier. Pass optional version to load a saved snapshot instead of the current dashboard. Warning: Large dashboards can consume significant context window space.
- List dashboard versions: List saved versions of a dashboard as compact metadata (version number, author, timestamp, save message)
- Get dashboard summary: Get a compact overview of a dashboard including title, panel count, panel types, variables, and metadata without the full JSON to minimize context window usage
- Get dashboard property: Extract specific parts of a dashboard using JSONPath expressions (e.g., $.title, $.panels[*].title) to fetch only needed data and reduce context window consumption
- Update or create a dashboard: Modify existing dashboards or create new ones. Warning: Requires full dashboard JSON which can consume large amounts of context window space.
- Patch dashboard: Apply specific changes to a dashboard without requiring the full JSON, significantly reducing context window usage for targeted modifications
- Get panel queries and datasource info: Get the title, query string, and datasource information (including UID and type, if available) from every panel in a dashboard
Run Panel Query
Note: Run panel query tools are disabled by default. To enable them, add runpanelquery to your --enabled-tools flag.
- Run panel query: Execute a dashboard panel's query with custom time ranges and variable overrides.
Context Window Management
The dashboard tools now include several strategies to manage context window usage effectively (issue #101):
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Grade history
- 2026-09-18restoreB → Ascore 99
Grafana: common questions
- Is Grafana MCP server safe?
- Yes, by our scan: it is graded A (98/100). Read the Grafana safety report
- How do I install Grafana?
- It runs remotely at mcp.grafana.com. Add it to Claude Code, Cursor, VS Code or Claude Desktop with the snippets above, or call it through the mcp.market gateway without installing anything.
- Does Grafana need an API key?
- Yes. The registry entry asks for
GRAFANA_SERVICE_ACCOUNT_TOKEN,GRAFANA_PASSWORD. - Is Grafana maintained?
- The last commit was 31 days ago (2026-10-02). The latest release is vv2.1.1.
- Is Grafana up?
- 100% of our last 28 checks got an answer. We check remote servers about four times a day.
- How does Grafana compare with other MCP servers?
- safety score 98/100 (higher than 99% of 48,273 servers); uptime 100% (of our recent checks; the typical remote server answers 100%); response time 118 ms (faster than 80% of 30,037 servers). Full comparison.