Grafana MCP Server

An MCP server giving access to Grafana dashboards, datasources, alerting, and more

Add to Claude
(opens in new tab)

A comprehensive Model Context Protocol (MCP) server for Grafana that provides:

- **Dashboards**: Search, get, update, patch, and create dashboards with context window optimization

- **Datasources**: List and query Prometheus, Loki, and ClickHouse datasources

- **Prometheus**: Execute PromQL queries, histogram percentile analysis, and retrieve metric metadata

- **Loki**: Query logs and metrics using LogQL, detect log patterns

- **ClickHouse**: Execute SQL queries, discover tables and schemas

- **Alerting**: List, create, update, and delete alert rules and contact points

- **Incidents**: Manage incidents in Grafana Incident

- **Sift**: Investigate errors and performance issues

- **OnCall**: Manage on-call schedules, shifts, and alert groups

- **Pyroscope**: Continuous profiling with profile types, labels, and flame graphs

- **Navigation**: Generate accurate deeplinks to Grafana resources

- **Annotations**: Query, create, update, and patch annotations

- **Admin**: Manage teams, users, roles, and permissions

- **Rendering**: Generate PNG snapshots of dashboard panels

Requires Grafana version 9.0 or later for full functionality.

Tools

  • search_dashboards
  • search_folders
  • list_datasources
  • get_datasource_by_uid
  • get_datasource_by_name
  • get_dashboard_by_uid
  • get_dashboard_summary
  • get_dashboard_property
  • update_dashboard
  • get_dashboard_panel_queries
  • query_prometheus
  • query_prometheus_histogram
  • list_prometheus_metric_metadata
  • list_prometheus_metric_names
  • list_prometheus_label_names
  • list_prometheus_label_values
  • query_loki_logs
  • list_loki_label_names
  • list_loki_label_values
  • query_loki_stats
  • query_loki_patterns
  • list_alert_rules
  • get_alert_rule_by_uid
  • create_alert_rule

Only use connectors from developers you trust. Anthropic does not control which tools developers make available and cannot verify that they will work as intended or that they won’t change.

Related connectors

Google Drive

Search, read, and upload files instantly

Add Google Drive in Claude (opens in new tab)

Gmail

Draft replies, summarize threads, & search your inbox

Add Gmail in Claude (opens in new tab)

Google Calendar

Manage your schedule and coordinate meetings effortlessly

Add Google Calendar in Claude (opens in new tab)

Canva

Search, create, autofill, and export Canva designs

Add Canva in Claude (opens in new tab)

Microsoft 365

Access your company's SharePoint, OneDrive, Outlook, and Teams directly in Claude

Add Microsoft 365 in Claude (opens in new tab)

Notion

Connect your Notion workspace to search, update, and power workflows across tools

Add Notion in Claude (opens in new tab)