Grafana
FreeNot checkedIn-cluster MCP server for read-only diagnostics of Grafana, Prometheus, Alertmanager, and Loki, enabling metric queries, alert listings, and log queries through
About
In-cluster MCP server for read-only diagnostics of Grafana, Prometheus, Alertmanager, and Loki, enabling metric queries, alert listings, and log queries through Grafana datasource proxies with Kubernetes RBAC authentication.
README
In-cluster MCP server for read-only Grafana, Prometheus, Alertmanager, and Loki diagnostics.
Tools
get_grafana_health()- Grafana health/status.list_datasources()- compact datasource inventory.query_prometheus()- instant PromQL through Grafana's Prometheus datasource proxy.query_prometheus_range()- range PromQL through Grafana's Prometheus datasource proxy.list_prometheus_alerts()- Prometheus alert state from the datasource proxy.list_alertmanager_alerts()- Alertmanager alerts from the datasource proxy.query_loki()- Loki range query through the Grafana datasource proxy.
query_prometheus, list_prometheus_alerts, and list_alertmanager_alerts
default to the prometheus and alertmanager datasource UIDs provisioned by
kube-prometheus-stack. query_loki defaults to the loki UID pinned in
romaine-life/osms.
Auth
Inbound transport is gated by kube-rbac-proxy using Kubernetes
TokenReview/SubjectAccessReview, matching the other romaine.life MCP servers.
Outbound calls to Grafana use the calling session pod's auth.romaine.life
service-principal JWT, forwarded by the pod's mcp-auth-proxy sidecar in the
X-Auth-Romaine-Token header. Grafana validates that JWT via its [auth.jwt]
configuration, so this server does not mint or store a separate Grafana service
account token.
Install Grafana in Claude Desktop, Claude Code & Cursor
unyly install mcp-grafanaInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add mcp-grafana -- uvx mcp-grafanaFAQ
Is Grafana MCP free?
Yes, Grafana MCP is free — one-click install via Unyly at no cost.
Does Grafana need an API key?
No, Grafana runs without API keys or environment variables.
Is Grafana hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Grafana in Claude Desktop, Claude Code or Cursor?
Open Grafana on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Grafana with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
