
Description
mcp-grafana is a Model Context Protocol server for Grafana. It gives AI assistants access to your Grafana instance, so they can search dashboards, investigate incidents and query datasources. The server is configured in an MCP client such as Claude Desktop or Cursor, and it can point at a self-hosted Grafana or a Grafana Cloud instance. The README lists installation options with Docker, a binary and Helm. Its dashboard tools can search by title, folder, tag or starred status, retrieve a dashboard by its unique identifier, and load a saved version of a dashboard. They can also list dashboard versions as compact metadata, produce a summary with panel count, panel types and variables, extract specific parts with JSONPath expressions, apply targeted patches, and list the queries and datasources of every panel. Updating or creating a dashboard needs the full dashboard JSON, which the README warns can use a lot of context. Running panel queries is disabled by default and has to be turned on with an enabled-tools flag. Grafana 9.0 or later is required for full functionality, and the server needs uv for the quick start. The project is public on GitHub.…
Highlights
- Search and fetch Grafana dashboards
- Dashboard versions and summaries
- JSONPath property extraction
- Targeted dashboard patches
- Works with Grafana Cloud or self-hosted
Ratings & Reviews
No ratings yet
Be the first to rate grafana/mcp-grafana.
People also visit
grafana/mcp-grafana FAQ
What is mcp-grafana?
A Model Context Protocol server that lets AI assistants read and work with your Grafana dashboards and datasources.
How do I set it up?
Add it to your MCP client configuration, such as Claude Desktop or Cursor. For Grafana Cloud, set GRAFANA_URL to your instance URL. The README also covers Docker, binary and Helm installs.
Which Grafana version do I need?
Grafana 9.0 or later for full functionality, according to the README.
Can it run panel queries?
Yes, but the run panel query tools are disabled by default. You enable them with the runpanelquery option in the enabled-tools flag.
Why do large dashboards cost so much context?
The README warns that fetching or updating a full dashboard JSON can use a lot of the AI's context window, so the summary and property tools are offered for that reason.
Is it free?
The repository is public on GitHub and the project is open source.
What are the best grafana/mcp-grafana alternatives?
Popular alternatives to grafana/mcp-grafana include dashboarding, dashboard-builder and grafana-oss. See all grafana/mcp-grafana alternatives










