AITeamGuide Hub · MCP server
Grafana MCP
Grafana's MCP server for searching dashboards, querying metrics and logs and looking at incidents.
MCP server★ 3.6k starsArchived on GitHubApache-2.0Ops & IT
Key facts
- Type
- MCP server
- Jobs it fits
- Investigate outages and alerts
- Fields
- Ops & IT
- Works with
- Any MCP client, Claude Code, Cursor
- GitHub
- grafana/mcp-grafana
- Licence
- Apache-2.0
- Stars
- 3,587 as of October 21, 2026
- Last updated
- October 21, 2026 (last push to GitHub)
- Author
- @grafana
- Submitted by
- @aiteamguide
- Added to the Hub
- October 21, 2026
Install / Use it
Apache-2.0Local MCP server
Cursor
Replace the placeholder values (API keys, tokens) with your own after adding it.
Or paste into ~/.cursor/mcp.json
{
"mcpServers": {
"grafana": {
"command": "uvx",
"args": [
"mcp-grafana"
],
"env": {
"GRAFANA_URL": "http://localhost:3000",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "<your service account token>"
}
}
}
}Claude Code
Run in your terminal
claude mcp add --transport stdio grafana --env GRAFANA_URL=http://localhost:3000 --env GRAFANA_SERVICE_ACCOUNT_TOKEN='<your service account token>' -- uvx mcp-grafanaReplace the placeholder values (API keys, tokens) with your own after adding it.
Claude Desktop
Add to claude_desktop_config.json (Settings → Developer → Edit Config), then restart Claude
{
"mcpServers": {
"grafana": {
"command": "uvx",
"args": [
"mcp-grafana"
],
"env": {
"GRAFANA_URL": "http://localhost:3000",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "<your service account token>"
}
}
}
}Replace the placeholder values (API keys, tokens) with your own after adding it.
VS Code
Replace the placeholder values (API keys, tokens) with your own after adding it.
Or from the command line
code --add-mcp '{"name":"grafana","type":"stdio","command":"uvx","args":["mcp-grafana"],"env":{"GRAFANA_URL":"http://localhost:3000","GRAFANA_SERVICE_ACCOUNT_TOKEN":"<your service account token>"}}'Codex
Run in your terminal
codex mcp add grafana --env GRAFANA_URL=http://localhost:3000 --env GRAFANA_SERVICE_ACCOUNT_TOKEN='<your service account token>' -- uvx mcp-grafanaReplace the placeholder values (API keys, tokens) with your own after adding it.
Safety: Runs code from a third-party repo. Review the source and the permissions before installing.
Commands and configs are taken from the project's README and re-wrapped in each app's documented format. If they differ, the README wins.
More from the Hub
-
Agent
n8n
A fair-code workflow automation tool with AI agent steps and hundreds of integrations; self-host or use their cloud.
Ops & IT · Sales★ 208k
-
Agent
AutoGPT Platform
A platform for building, deploying and running agents that automate multi-step workflows, from the team behind the original AutoGPT.
Ops & IT · Marketing★ 188k
-
MCP server
Playwright MCP
Microsoft's MCP server that lets an assistant drive a browser through Playwright using the page's accessibility tree.
Software development · Ops & IT★ 38k
-
MCP server
AWS MCP servers
AWS Labs' collection of MCP servers for AWS docs, costs, infrastructure, databases and more.
Ops & IT · Software development★ 9.8k
Summary written by AITeamGuide in our own words. GitHub numbers come from the public GitHub API and refresh daily. Maintainer and want a correction or removal? Tell us. Got something similar? Submit it to the Hub.