Grafana
JSON →Search dashboards, investigate incidents and query datasources in your Grafana instance
Install
uvx (recommended)**: Tools · 37
- list_teams List all teams
- list_users_by_org List all users in an organization
- list_all_roles List all Grafana roles
- get_role_details Get details for a Grafana role
- get_role_assignments List assignments for a role
- list_user_roles List roles for users
- list_team_roles List roles for teams
- get_resource_permissions List permissions for a resource
- get_resource_description Describe a Grafana resource type
- search_dashboards Search for dashboards
- get_dashboard_by_uid Get a dashboard by uid
- update_dashboard Update or create a new dashboard
- get_dashboard_panel_queries Get panel title, queries, datasource UID and type from a dashboard
- run_panel_query Execute one or more dashboard panel queries
- get_dashboard_property Extract specific parts of a dashboard using JSONPath expressions
- get_dashboard_summary Get a compact summary of a dashboard without full JSON
- list_datasources List datasources
- get_datasource Get a datasource by UID or name
- get_query_examples Get example queries for a datasource type
- query_prometheus Execute a query against a Prometheus datasource
- list_prometheus_metric_metadata List metric metadata
- list_prometheus_metric_names List available metric names
- list_prometheus_label_names List label names matching a selector
- list_prometheus_label_values List values for a specific label
- query_prometheus_histogram Calculate histogram percentile values
- list_incidents List incidents in Grafana Incident
- create_incident Create an incident in Grafana Incident
- add_activity_to_incident Add an activity item to an incident in Grafana Incident
- get_incident Get a single incident by ID
- query_loki_logs Query and retrieve logs using LogQL (either log or metric queries)
- list_loki_label_names List all available label names in logs
- list_loki_label_values List values for a specific log label
- query_loki_stats Get statistics about log streams
- query_loki_patterns Query detected log patterns to identify common structures
- analyze_loki_labels Audit a Loki label strategy (live or static) and optionally diagnose query performance
- suggest_loki_alloy_label_config Generate an Alloy `loki.process` snippet enforcing approved labels
- query_influxdb Query InfluxDB using InfluxQL (v1) or Flux (v2
Environment variables
GRAFANA_URLGRAFANA_SERVICE_ACCOUNT_TOKENGRAFANA_API_KEYGRAFANA_ORG_ID
Links
★ 3,063 GitHub stars