1. Conduid
  2. Analytics
  3. grafana/mcp-grafana
MCP server · Analytics

grafana/mcp-grafana

MCP server for Grafana

86Strong

Scored 17 hours ago · breakdown

About grafana/mcp-grafana

grafana/mcp-grafana is an MCP server published by grafana in the Analytics category: mCP server for Grafana. Conduid read 134 tools from its source: add_activity_to_incident, agento11y_manage_agents, agento11y_manage_conversations, agento11y_manage_eval_collections, agento11y_manage_eval_rules, agento11y_manage_evaluators and 128 more. No package is published for it, so it installs from a source checkout.

The repository has 3.7K stars and 512 forks, is licensed Apache-2.0, and its last commit was on 30 Nov 2026. The latest release is v2.4.0 (24 Nov 2026): Notebooks tools for Grafana 13.3's notebooks preview: list_notebooks, search_notebooks, get_notebook_by_uid, render_notebook_pdf, create_notebook, update_notebook and de… It follows v2.3.0 (10 Nov 2026), and the 5 most recent releases go back to v2.1.0 (20 Oct 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include grafana, assistant, monitoring and observability.

Install

From source
git clone https://github.com/grafana/mcp-grafana

Tools (134)

add_activity_to_incidentAdd an activity item to an incident in Grafana Incident
agento11y_manage_agentsRead the agent catalog: list agents, get one agent version in full, list version history, and per-version score aggregates
agento11y_manage_conversationsList, search, and fetch LLM conversations from Grafana Agent Observability
agento11y_manage_eval_collectionsManage saved conversations and the collections that group them (list, get, save, create, update, delete, add and remove members)
agento11y_manage_eval_rulesManage eval rules and guards (list, get, create, update, preview, delete)
agento11y_manage_evaluatorsManage evaluators, evaluator templates, and the judge catalog (list, get, upsert, fork, test, delete)
agento11y_manage_experimentsRead offline experiments, their trials, scores, artifact metadata, and filter facets; update and cancel an experiment
agento11y_manage_generationsFetch LLM generation details and evaluation scores from Grafana Agent Observability
agento11y_manage_test_suitesManage the test suites that offline experiments run against, their versions, and their test cases (list, get, create, update, draft, publish, upsert, delete)
alerting_manage_routingManage notification policies, contact points, and time intervals
alerting_routing_writeCreate Grafana-managed contact points by default, or explicitly create external Alertmanager receivers
alerting_rules_readList and inspect alert rules (list, get, versions)
alerting_rules_writeCreate, update and delete Grafana-managed rules, or explicitly create datasource-managed rules
alerting_silences_readList and inspect alerting silences (list, get)
alerting_silences_writeCreate, update, and expire alerting silences
analyze_loki_labelsAudit a Loki label strategy (live or static) and optionally diagnose query performance
ask_assistantSend a prompt to Grafana Assistant and return the full text reply (multi-turn via `contextId`)
check_datasources_healthCheck the health of one or more datasources
create_annotationCreate a new annotation (standard or Graphite format)
create_datasourceCreate a datasource
create_folderCreate a folder
create_incidentCreate an incident in Grafana Incident, optionally setting custom fields
create_notebookCreate a notebook with Markdown and code cells
create_snapshotCreate a dashboard snapshot from a full dashboard payload
delete_annotationDelete an annotation by ID
delete_notebookDelete a notebook by UID
delete_snapshotDelete a dashboard snapshot by snapshot key
describe_sql_tableGet column schema for a table
diff_tempo_tracesCompare two traces
generate_deeplinkGenerate accurate deeplink URLs for Grafana resources
get_alert_groupGet a specific alert group from Grafana OnCall by its ID
get_annotation_tagsList annotation tags with optional filtering
get_annotationsFetch annotations with filters
get_assertionsGet assertion summary for a given entity
get_current_oncall_usersGet users currently on-call for a specific schedule
get_dashboard_by_uidGet a dashboard by uid, optionally a saved version
get_dashboard_panel_queriesGet panel title, queries, datasource UID and type from a dashboard
get_dashboard_propertyExtract specific parts of a dashboard using JSONPath expressions
get_dashboard_summaryGet a compact summary of a dashboard without full JSON
get_datasourceGet a datasource by UID or name
get_docFetch a documentation page; set outline_only for headings, or section for bounded retrieval
get_incidentGet a single incident by ID, including its custom fields
get_notebook_by_uidGet a notebook resource including its spec
get_oncall_shiftGet details for a specific OnCall shift
get_panel_imageRender a stored dashboard or panel, a provisioning preview, or an ad-hoc Explore view as a PNG image
get_pluginGet an installed plugin
get_query_examplesGet example queries for a datasource type
get_resource_descriptionDescribe a Grafana resource type
get_resource_permissionsList permissions for a resource
get_role_assignmentsList assignments for a role
get_role_detailsGet details for a Grafana role
get_snapshotGet snapshot metadata and dashboard payload by snapshot key
get_tempo_traceFetch a trace by ID
get_tempo_traceql_docsGet TraceQL documentation
get_xray_traceGet an X-Ray trace as a tree of segments
grafana_api_requestCall a Grafana HTTP API endpoint
install_pluginInstall a plugin
list_alert_groupsList alert groups from Grafana OnCall with filtering options
list_all_rolesList all Grafana roles
list_cloud_logging_bucketsList log buckets in a GCP project
list_cloud_logging_projectsList GCP projects readable by a Google Cloud Logging datasource
list_cloud_logging_viewsList log views in a log bucket
list_cloudwatch_dimension_valuesList values for a dimension key
list_cloudwatch_dimensionsList dimensions for a metric
list_cloudwatch_log_group_fieldsList fields discovered in a log group
list_cloudwatch_log_groupsList CloudWatch log groups
list_cloudwatch_metricsList metrics in a namespace
list_cloudwatch_namespacesList available AWS CloudWatch namespaces
list_dashboard_versionsList saved versions of a dashboard (version, author, time, message)
list_datasourcesList datasources
list_graphite_metricsList Graphite metrics
list_graphite_tagsList Graphite tags
list_incident_custom_fieldsList the custom fields configured for incidents, with their types and select options
list_incidentsList incidents in Grafana Incident, optionally with their custom field values
list_loki_label_namesList all available label names in logs
list_loki_label_valuesList values for a specific log label
list_notebooksList notebooks with title, tags, cell count and URL
list_oncall_schedulesList schedules from Grafana OnCall
list_oncall_teamsList teams from Grafana OnCall
list_oncall_usersList users from Grafana OnCall
list_prometheus_label_namesList label names matching a selector
list_prometheus_label_valuesList values for a specific label
list_prometheus_metric_metadataList metric metadata
list_prometheus_metric_namesList available metric names
list_provisioning_repositoriesList provisioning repositories (e.g. git-sync sources) with their source URL, branch, sync state, and health
list_pyroscope_label_namesList label names matching a selector
list_pyroscope_label_valuesList label values matching a selector for a label name
list_pyroscope_profile_typesList available profile types
list_snapshotsList dashboard snapshots with optional query and limit filters
list_sql_databasesList databases, schemas, or catalogs from a SQL datasource
list_sql_tablesList tables in a SQL datasource
list_team_rolesList roles for teams
list_teamsList all teams
list_tempo_attribute_namesList span and resource attribute names
list_tempo_attribute_valuesList values for a trace attribute
list_user_rolesList roles for users
list_users_by_orgList users in an organization, with search and pagination
query_azure_log_analyticsQuery Azure Log Analytics workspaces with KQL
query_azure_resource_graphQuery Azure Resource Graph with KQL
query_cloud_loggingQuery logs with the Cloud Logging query language
query_cloudwatchExecute CloudWatch metric queries
query_cloudwatch_logsExecute CloudWatch Logs Insights queries
query_elasticsearchQuery Elasticsearch or OpenSearch using Lucene syntax or Query DSL
query_graphiteQuery Graphite metrics
query_graphite_densityQuery Graphite metric density
query_influxdbQuery InfluxDB using InfluxQL (v1) or Flux (v2)
query_loki_logsQuery and retrieve logs using LogQL (either log or metric queries)
query_loki_patternsQuery detected log patterns to identify common structures
query_loki_statsGet statistics about log streams
query_prometheusQuery metrics using PromQL without opening a chart
query_prometheus_histogramCalculate histogram percentile values
query_pyroscopeQuery profiles, metrics, or both from Pyroscope
query_quickwitQuery Quickwit using Lucene syntax or Query DSL
query_sqlExecute SQL queries with macro substitution
query_tempo_metricsCompute metrics from traces with TraceQL
render_grafana_appRun an enabled query tool and display its result in the interactive Grafana App
render_notebook_pdfExport a notebook as a PDF via Grafana's image renderer
run_panel_queryExecute one or more dashboard panel queries
search_dashboardsSearch for dashboards by query, folder UID, folder path, tag, or starred
search_docsSearch Grafana documentation or list product groups (omit query to list products)
search_foldersSearch for folders by title
search_notebooksSearch notebooks by title text
search_plugin_informationSearch the grafana.com plugin catalog
search_tempo_tracesSearch traces with TraceQL
search_xray_tracesSearch X-Ray traces with a filter expression
suggest_loki_alloy_label_configGenerate an Alloy `loki.process` snippet enforcing approved labels
update_alert_groupAcknowledge, unacknowledge, resolve, or unresolve an alert group
update_annotationUpdate specific fields of an annotation (partial update)
update_dashboardUpdate or create a new dashboard
update_datasourceUpdate a datasource
update_incidentUpdate an incident in Grafana Incident (status, severity, title, or custom fields)
update_notebookReplace a notebook's spec, preserving labels and annotations, with optional conflict detection
user_infoCurrent identity, capabilities, and accessible organizations
validate_provisioning_fileDry-run-apply a file from a provisioning repository and report admission validation errors

Security checks

Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 16K words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by go.sum and 2 more.
  • ✓No dynamic code executionScanned 236 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio, Streamable HTTP and HTTP with SSEcmd/mcp-grafana/main.go:1455, cmd/mcp-grafana/main.go:1521, cmd/mcp-grafana/main.go:1486
Starts other programs
7 calls.claude-plugin/install-binary.mjs:113, .claude-plugin/install-binary.mjs:125, .claude-plugin/install-binary.mjs:149
Outbound network calls
89 calls.claude-plugin/install-binary.mjs:71, .claude-plugin/install-binary.mjs:83, .claude-plugin/install-binary.mjs:171
Writes or deletes files
4 callscmd/mcp-grafana/main.go:1042, cmd/mcp-grafana/main.go:1047, cmd/mcp-grafana/main.go:1055
Lockfile
go.sum and 2 more

Pattern matches on the source text of 236 files: places to read, not proof of what the code does at run time.

Releases

v2.4.0v2.4.0 · 24 Nov 2026Added Notebooks tools for Grafana 13.3's notebooks preview: `list_notebooks`, `search_notebooks`, `get_notebook_by_uid`, `render_notebook_pdf`, `create_notebook`, `update_notebook` and `delete_notebook`. `update_notebook` keeps the…
v2.3.0v2.3.0 · 10 Nov 2026Added `run_panel_query` runs Elasticsearch panels, through `/api/ds/query` with Lucene variable formatting (`${var:lucene}` works for every datasource) and the panel interval sent so auto date histograms stay under Elasticsearch's bucket…
v2.2.0v2.2.0 · 2 Nov 2026Added CloudWatch Logs Insights tools in the opt-in `cloudwatch` category: `list_cloudwatch_log_groups`, `list_cloudwatch_log_group_fields` and `query_cloudwatch_logs`. Queries run through `/api/ds/query` with a server-side row limit…
v2.1.1v2.1.1 · 20 Oct 2026Fixed Classic (v1) dashboards are read and patched as v1 again on Grafana versions whose v1→v2 conversion adds a default grid layout preference, such as Grafana Cloud 13.3. Since v2.1.0, `get_dashboard_by_uid` reported every such dashboard…
v2.1.0v2.1.0 · 20 Oct 2026Added `alerting_rules_write` and `alerting_routing_write` can create Mimir/Cortex or Loki ruler alert rules and Mimir/Cortex Alertmanager receivers with `managed_by: "datasource"`. Grafana-managed creation stays the default. The target…

README

The repository's README runs to about 16K words, fetched 5 days ago. The original in the repository is authoritative.

Read full README
Questions

About grafana/mcp-grafana

How do I install grafana/mcp-grafana?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is grafana/mcp-grafana safe to use with an AI agent?

Its trust score is 86 out of 100 (strong). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 236 source files found that it serves MCP over stdio, Streamable HTTP and HTTP with SSE, starts other programs (7 calls), makes outbound network calls (89 calls) and writes or deletes files (4 calls). Its dependencies are pinned by go.sum and 2 more. It has no ConduID identity yet, so agent calls to it are not receipted.

Is grafana/mcp-grafana still maintained?

Yes — the latest release is v2.4.0 (24 Nov 2026), and the last commit was yesterday. The repository has 3.7K stars and 100 open issues.

What tools does grafana/mcp-grafana provide?

Conduid read 134 tools from the source: add_activity_to_incident, agento11y_manage_agents, agento11y_manage_conversations, agento11y_manage_eval_collections, agento11y_manage_eval_rules, agento11y_manage_evaluators, agento11y_manage_experiments, agento11y_manage_generations and 126 more.

What license is grafana/mcp-grafana released under?

The repository declares the Apache-2.0 license. That applies to the latest release, v2.4.0, as well.