Install Grafana in Claude Code
claude mcp add dockndevai-grafana -e GRAFANA_TOKEN=... -- npx -y @dockndevai/mcp-grafana{
"mcpServers": {
"dockndevai-grafana": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-grafana"
],
"env": {
"GRAFANA_TOKEN": "..."
}
}
}
}Replace each ... with your own value.
Frequently asked questions
What does the Grafana MCP server do?
Safe-by-default MCP server for Grafana: search & read dashboards and the dashboard JSON model, query datasources (Prometheus/Loki/SQL via the unified query API), and inspect alert rules & annotations; in higher modes, create/update dashboards and folders, write annotations, and delete. Read-only by default with access modes, folder/datasource allowlists, and human confirmation (MCP elicitation) on deletes. npx -y @dockndevai/mcp-grafana
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. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add Grafana to Claude Code?
Run: claude mcp add dockndevai-grafana -e GRAFANA_TOKEN=... -- npx -y @dockndevai/mcp-grafana
More monitoring & observability MCP servers
View allInferrail
domondi1/inferrail
Local, payload-free AI cost visibility for agents. Track spend by model, route, customer, or tagged work without storing prompt or response bodies.
Statuscraft
jabbawocky/statuscraft
Check whether software services are down using live data from their status pages, including incident details.
SpanHound
abhishekash/spanhound
Inspect local JSONL and OTLP JSON agent traces through MCP: failures, approvals, token usage, and run comparisons. uvx spanhound
Langfuse
hugoles/langfuse-mcp
Read access to the Langfuse Public API: traces, observations, sessions, scores, prompts, datasets, metrics, models, projects and comments.
super-log Cloud
saxonnicholls/super-log
Read-only access to a local dev bench that interleaves every log stream on one timeline: tail and search live streams, search the on-disk journal, wait for an event, and read per-topic guides for unfamiliar topics. No API key, no daemon of its own, npx -y @super-log/mcp.
Infra
esp4ce/infra-mcp
Read-only access to on-prem Linux VMs and PostgreSQL over SSH: service health, logs, database state and table schemas, with allowlists and an audit log.