by grafana
Safely connect cloud Grafana to AI agents with MCP: query, inspect, and manage Grafana resources using simple, focused o
Connects AI assistants to Grafana instances, allowing them to inspect, query, and modify dashboards, datasources, alerts, and other Grafana resources through structured operations.
Grafana is an official MCP server published by grafana that provides AI assistants with tools and capabilities via the Model Context Protocol. Safely connect cloud Grafana to AI agents with MCP: query, inspect, and manage Grafana resources using simple, focused o It is categorized under developer tools.
You can install Grafana in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
Apache-2.0
Grafana is released under the Apache-2.0 license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
Grafana reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
I recommend Grafana for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
Useful MCP listing: Grafana is the kind of server we cite when onboarding engineers to host + tool permissions.
Grafana is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
Grafana is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
Strong directory entry: Grafana surfaces stars and publisher context so we could sanity-check maintenance before adopting.
Grafana has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
We wired Grafana into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
Grafana is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
According to our notes, Grafana benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
showing 1-10 of 59
A [Model Context Protocol][mcp] (MCP) server for Grafana.
This provides access to your Grafana instance and the surrounding ecosystem.
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.
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.
$.title, $.panels[*].title) to fetch only needed data and reduce context window consumptionNote: Run panel query tools are disabled by default. To enable them, add
runpanelqueryto your--enabled-toolsflag.
The dashboard tools now include several strategies to manage context window usage effectively (issue #101):
get_dashboard_summary for dashboard overview and planning modificationsget_dashboard_property with JSONPath when you only need specific dashboard partsget_dashboard_by_uid unless you specifically need the complete dashboard JSONNote: Query examples tools are disabled by default. To enable them, add
examplesto your--enabled-toolsflag.
Note: ClickHouse tools are disabled by default. To enable them, add
clickhouseto your--enabled-toolsflag.
Note: CloudWatch tools are disabled by default. To enable them, add
cloudwatchto your--enabled-toolsflag.
Note: Search logs tools are disabled by default. To enable them, add
searchlogsto your--enabled-toolsflag.
Note: Elasticsearch tools are disabled by default. To enable them, add
elasticsearchto your--enabled-toolsflag.
Note: Admin tools are disabled by default. To enable them, include
adminin your--enabled-toolsflag.
http://localhost:3000/d/dashboard-uid)http://localhost:3000/d/dashboard-uid?viewPanel=5)Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.