Install Grafana in Claude Code
Remote URL
claude mcp add --transport http grafana https://mcp.grafana.com/mcp{
"mcpServers": {
"grafana": {
"url": "https://mcp.grafana.com/mcp"
}
}
}Docker
claude mcp add grafana -e GRAFANA_URL=... -- docker run -i --rm -e GRAFANA_URL docker.io/grafana/mcp-grafana:2.1.1{
"mcpServers": {
"grafana": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GRAFANA_URL",
"docker.io/grafana/mcp-grafana:2.1.1"
],
"env": {
"GRAFANA_URL": "..."
}
}
}
}Replace each ... with your own value.
Frequently asked questions
What does the Grafana MCP server do?
Search dashboards, investigate incidents and query datasources in your Grafana instance.
Is the Grafana MCP server free?
The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.
Does Grafana run locally or remotely?
Local + Remote. Can run locally or be used as a hosted remote server.
How do I add Grafana to Claude Code?
Run: claude mcp add --transport http grafana https://mcp.grafana.com/mcp
More monitoring & observability MCP servers
View allSuperlog
superloglabs/superlog
Open-source agent that observes and fixes your application. Query logs, traces, metrics, incidents.
OneUptime
OneUptime/oneuptime
Manage incidents, alerts, monitors, status pages, on-call and telemetry in OneUptime.
Log10x
log-10x/log10x-mcp
Rank log patterns by volume and cost, then compact (Splunk, self-managed Elasticsearch), tier down or offload the excess over each cap. Runs locally; no log data reaches log10x.
openstatus
openstatusHQ/openstatus
Manage monitors, status pages, incidents and maintenances in your openstatus workspace.
Context Engine
melonelish/context-engine
Compress logs, retrieval chunks, and code context into structured LLM-ready signal.
Netdata
netdata/netdata
Discovery, exploration, reporting and root cause analysis over Netdata metrics, logs, systems, containers, processes and network connections.