Skip to content

Grafana Cloud MCP server

  • MCP server
  • 71+ callable tools
  • 5 capabilities
Installation guide

Overview

Grafana Labs' remotely hosted MCP server that lets external AI agents query and manage data in Grafana Cloud stacks. It covers dashboards, metrics, logs, profiles, SQL data sources, alerting, incidents and OnCall.

Capabilities:

  • Search and inspect dashboards, folders and data sources
  • Query Prometheus, Loki, Pyroscope and other data sources
  • Manage alert rules, incidents and annotations
  • View OnCall schedules, shifts and alert groups
  • Run Grafana Assistant investigations

Works with

The products your agent can work with through this server.

Tools

The callable functions your agent uses to work with this server.

Grafana Cloud MCP server tools
ToolWhat it does
search_dashboardsSearch for dashboards by query string.
search_foldersSearch for folders by query string.
generate_deeplinkGenerate deeplink URLs for dashboards, panels, and Explore queries.
get_dashboard_by_uidRetrieve the complete dashboard JSON by UID.
get_dashboard_summaryGet a compact summary of a dashboard without the full JSON.
get_dashboard_propertyExtract specific parts of a dashboard using JSONPath expressions.
get_dashboard_panel_queriesRetrieve panel queries with template variable substitution.
update_dashboardCreate or update a dashboard using full JSON or targeted patch operations.
create_folderCreate a Grafana folder.
list_datasourcesList all configured data sources.
get_datasourceGet detailed information about a data source by UID or name.
list_prometheus_metric_namesDiscover available metrics with regex filtering and pagination.
list_prometheus_metric_metadataList metadata about currently scraped metrics.
list_prometheus_label_namesList label names with optional series selector and time range filtering.
list_prometheus_label_valuesGet values for a specific label.
query_prometheusExecute PromQL instant or range queries.
query_prometheus_histogramQuery histogram percentiles.
list_loki_label_namesList available label names in logs.
list_loki_label_valuesGet unique values for a specific label.
query_loki_logsExecute LogQL queries for log entries or metric values.
query_loki_statsGet statistics about log streams.
query_loki_patternsDetect and analyze common log patterns.
list_pyroscope_label_namesList available label names in profiles.
list_pyroscope_label_valuesList values for a specific label.
list_pyroscope_profile_typesList available profile types.
query_pyroscopeQuery profiles or metrics from Pyroscope.
list_athena_catalogsList available data catalogs.
list_athena_databasesList databases in a catalog.
list_athena_tablesList tables in a database.
describe_athena_tableGet column names for a table.
query_athenaExecute SQL queries against Athena data sources.
list_clickhouse_tablesList available tables with metadata.
describe_clickhouse_tableGet column schema for a table.
query_clickhouseExecute SQL queries against ClickHouse data sources.
list_cloudwatch_namespacesList available AWS namespaces.
list_cloudwatch_metricsList metrics for a namespace.
list_cloudwatch_dimensionsList dimension keys for a metric.
query_cloudwatchQuery AWS CloudWatch metrics.
query_elasticsearchExecute Lucene or Query DSL searches against Elasticsearch data sources.
query_influxdbExecute InfluxQL or Flux queries against InfluxDB data sources.
list_snowflake_tablesList available tables with metadata.
describe_snowflake_tableGet column schema for a table.
query_snowflakeExecute SQL queries against Snowflake data sources.
alerting_manage_rulesList, filter, and manage alert rules.
alerting_manage_routingView alerting routing configuration, notification policies, contact points, and time intervals.
get_annotationsFetch annotations filtered by dashboard UID, time range, or tags.
get_annotation_tagsGet annotation tags with optional filtering.
create_annotationCreate a new annotation on a dashboard or panel.
update_annotationUpdate properties of an existing annotation.
list_incidentsList incidents with optional status filtering.
get_incidentGet full incident details by ID.
create_incidentCreate a new incident.
add_activity_to_incidentAdd a note to an incident’s timeline.
list_oncall_schedulesList OnCall schedules with optional team filtering.
get_oncall_shiftGet detailed shift information.
get_current_oncall_usersGet users currently on-call for a schedule.
list_oncall_teamsList OnCall teams.
list_oncall_usersList OnCall users with optional filtering.
list_alert_groupsList alert groups with filtering by state, team, time range, and labels.
get_alert_groupGet a specific alert group by ID.
list_investigationsList Assistant investigations with optional filtering and pagination.
list_investigation_profilesList available Assistant investigation profiles.
get_investigationGet investigation details, lifecycle state, metadata, and report snapshot.
list_investigation_evidenceList evidence collected for an Assistant investigation.
get_investigation_threadGet the message thread for an Assistant investigation.
create_investigationStart a new Assistant investigation from an external AI agent.
ask_assistantSend a prompt to Grafana Assistant and get the full reply, including tool use and reasoning.
get_assertionsGet assertion summary for an entity.
get_panel_imageRender a dashboard panel as a PNG image.
describe_infrastructureRetrieve pre-built summaries of service groups including topology, metrics, and dependencies.
get_query_examplesGet example queries for data source types.

Installation

Add Grafana Cloud MCP server to Claude Code

Run this in your terminal:

claude mcp add --transport http grafana-cloud https://mcp.grafana.com/mcp

If the server asks you to sign in, run /mcp in Claude Code and follow the browser prompt.

Sources

Documentation and source code reviewed on 17 November 2026.