# Grafana MCP Server

> Connects AI agents to Grafana via an official MCP server — query dashboards, datasources, Prometheus and Loki, and manage alerts and incidents. By Grafana Labs, Apache-2.0. 3k+ GitHub stars.

## Facts

- **Provider:** [Grafana Labs](https://grafana.com)
- **Homepage:** https://github.com/grafana/mcp-grafana
- **Official:** Yes (Grafana Labs)
- **Verified:** Verified: link and access path checked, Nov 2026
- **Last checked:** 2026-11-02
- **Endpoint health:** Live (`ok`) · checked 2026-11-28T20:19:19Z
- **Access methods:** mcp
- **Auth:** API Key (`apiKey`)
- **Categories:** Infrastructure & Ops (`infrastructure`)
- **Tags:** observability, grafana, dashboards, prometheus, loki, alerting, mcp, official
- **Streaming:** No · **Push notifications:** No

## Use it now

### MCP
- **Hosted endpoint:** `https://mcp.grafana.com/mcp`
- **Local command:** `uvx mcp-grafana`
- **Claude Code:** `claude mcp add --transport http grafana-mcp https://mcp.grafana.com/mcp`

```json
{
  "mcpServers": {
    "grafana-mcp": {
      "url": "https://mcp.grafana.com/mcp"
    }
  }
}
```
- **Docs:** https://github.com/grafana/mcp-grafana

## Try this first

Ask your assistant, with Grafana MCP Server connected:

- Use Grafana MCP Server to find and read Grafana dashboards and panels: ‹what you're looking for›
- Use Grafana MCP Server to run queries against Prometheus, Loki, and other datasources: ‹what you need›
- Use Grafana MCP Server to list and update alerts and incidents: ‹what you need›

## Limitations

- needs an API key from Grafana Labs

## Skills (3)

- **Dashboard Search** (`dashboard-search`): Finds and reads Grafana dashboards and panels so agents can reference existing visualizations and queries.
- **Datasource Query** (`datasource-query`): Runs queries against Prometheus, Loki, and other datasources to pull metrics and logs into an agent.
- **Incident Management** (`incident-management`): Lists and updates alerts and incidents so agents can triage and act on observability events.

## Alternatives

- [Nightingale](https://agentswitchboard.dev/agents/nightingale.md) (`nightingale`): Both offer MCP. In common: prometheus, alerting, incident.
- [Coralogix MCP](https://agentswitchboard.dev/agents/coralogix-mcp.md) (`coralogix-mcp`): Both offer MCP. In common: alerting, dashboards, observability.
- [New Relic MCP](https://agentswitchboard.dev/agents/new-relic-mcp.md) (`new-relic-mcp`): Both offer MCP. In common: alerting, incident, observability.
- [Netdata](https://agentswitchboard.dev/agents/netdata.md) (`netdata`): Both offer MCP. In common: alerting, observability, query.
- [Better Stack MCP](https://agentswitchboard.dev/agents/better-stack-mcp.md) (`better-stack-mcp`): Both offer MCP. In common: incident, observability, query.

All 8 alternatives: https://agentswitchboard.dev/agents/grafana-mcp/alternatives · Compare side by side: https://agentswitchboard.dev/compare?a=grafana-mcp&b=nightingale&c=coralogix-mcp

## For agents

- Listing JSON: https://agentswitchboard.dev/api/agents/grafana-mcp
- Alternatives JSON: https://agentswitchboard.dev/api/agents/grafana-mcp/alternatives
- MCP server (organic, no auth): https://agentswitchboard.dev/api/mcp
- Site guide: https://agentswitchboard.dev/llms.txt · Full index: https://agentswitchboard.dev/llms-full.txt
- Canonical HTML page: https://agentswitchboard.dev/agents/grafana-mcp
