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
git clone https://github.com/grafana/mcp-grafanaTools (134)
add_activity_to_incidentAdd an activity item to an incident in Grafana Incidentagento11y_manage_agentsRead the agent catalog: list agents, get one agent version in full, list version history, and per-version score aggregatesagento11y_manage_conversationsList, search, and fetch LLM conversations from Grafana Agent Observabilityagento11y_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 experimentagento11y_manage_generationsFetch LLM generation details and evaluation scores from Grafana Agent Observabilityagento11y_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 intervalsalerting_routing_writeCreate Grafana-managed contact points by default, or explicitly create external Alertmanager receiversalerting_rules_readList and inspect alert rules (list, get, versions)alerting_rules_writeCreate, update and delete Grafana-managed rules, or explicitly create datasource-managed rulesalerting_silences_readList and inspect alerting silences (list, get)alerting_silences_writeCreate, update, and expire alerting silencesanalyze_loki_labelsAudit a Loki label strategy (live or static) and optionally diagnose query performanceask_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 datasourcescreate_annotationCreate a new annotation (standard or Graphite format)create_datasourceCreate a datasourcecreate_folderCreate a foldercreate_incidentCreate an incident in Grafana Incident, optionally setting custom fieldscreate_notebookCreate a notebook with Markdown and code cellscreate_snapshotCreate a dashboard snapshot from a full dashboard payloaddelete_annotationDelete an annotation by IDdelete_notebookDelete a notebook by UIDdelete_snapshotDelete a dashboard snapshot by snapshot keydescribe_sql_tableGet column schema for a tablediff_tempo_tracesCompare two tracesgenerate_deeplinkGenerate accurate deeplink URLs for Grafana resourcesget_alert_groupGet a specific alert group from Grafana OnCall by its IDget_annotation_tagsList annotation tags with optional filteringget_annotationsFetch annotations with filtersget_assertionsGet assertion summary for a given entityget_current_oncall_usersGet users currently on-call for a specific scheduleget_dashboard_by_uidGet a dashboard by uid, optionally a saved versionget_dashboard_panel_queriesGet panel title, queries, datasource UID and type from a dashboardget_dashboard_propertyExtract specific parts of a dashboard using JSONPath expressionsget_dashboard_summaryGet a compact summary of a dashboard without full JSONget_datasourceGet a datasource by UID or nameget_docFetch a documentation page; set outline_only for headings, or section for bounded retrievalget_incidentGet a single incident by ID, including its custom fieldsget_notebook_by_uidGet a notebook resource including its specget_oncall_shiftGet details for a specific OnCall shiftget_panel_imageRender a stored dashboard or panel, a provisioning preview, or an ad-hoc Explore view as a PNG imageget_pluginGet an installed pluginget_query_examplesGet example queries for a datasource typeget_resource_descriptionDescribe a Grafana resource typeget_resource_permissionsList permissions for a resourceget_role_assignmentsList assignments for a roleget_role_detailsGet details for a Grafana roleget_snapshotGet snapshot metadata and dashboard payload by snapshot keyget_tempo_traceFetch a trace by IDget_tempo_traceql_docsGet TraceQL documentationget_xray_traceGet an X-Ray trace as a tree of segmentsgrafana_api_requestCall a Grafana HTTP API endpointinstall_pluginInstall a pluginlist_alert_groupsList alert groups from Grafana OnCall with filtering optionslist_all_rolesList all Grafana roleslist_cloud_logging_bucketsList log buckets in a GCP projectlist_cloud_logging_projectsList GCP projects readable by a Google Cloud Logging datasourcelist_cloud_logging_viewsList log views in a log bucketlist_cloudwatch_dimension_valuesList values for a dimension keylist_cloudwatch_dimensionsList dimensions for a metriclist_cloudwatch_log_group_fieldsList fields discovered in a log grouplist_cloudwatch_log_groupsList CloudWatch log groupslist_cloudwatch_metricsList metrics in a namespacelist_cloudwatch_namespacesList available AWS CloudWatch namespaceslist_dashboard_versionsList saved versions of a dashboard (version, author, time, message)list_datasourcesList datasourceslist_graphite_metricsList Graphite metricslist_graphite_tagsList Graphite tagslist_incident_custom_fieldsList the custom fields configured for incidents, with their types and select optionslist_incidentsList incidents in Grafana Incident, optionally with their custom field valueslist_loki_label_namesList all available label names in logslist_loki_label_valuesList values for a specific log labellist_notebooksList notebooks with title, tags, cell count and URLlist_oncall_schedulesList schedules from Grafana OnCalllist_oncall_teamsList teams from Grafana OnCalllist_oncall_usersList users from Grafana OnCalllist_prometheus_label_namesList label names matching a selectorlist_prometheus_label_valuesList values for a specific labellist_prometheus_metric_metadataList metric metadatalist_prometheus_metric_namesList available metric nameslist_provisioning_repositoriesList provisioning repositories (e.g. git-sync sources) with their source URL, branch, sync state, and healthlist_pyroscope_label_namesList label names matching a selectorlist_pyroscope_label_valuesList label values matching a selector for a label namelist_pyroscope_profile_typesList available profile typeslist_snapshotsList dashboard snapshots with optional query and limit filterslist_sql_databasesList databases, schemas, or catalogs from a SQL datasourcelist_sql_tablesList tables in a SQL datasourcelist_team_rolesList roles for teamslist_teamsList all teamslist_tempo_attribute_namesList span and resource attribute nameslist_tempo_attribute_valuesList values for a trace attributelist_user_rolesList roles for userslist_users_by_orgList users in an organization, with search and paginationquery_azure_log_analyticsQuery Azure Log Analytics workspaces with KQLquery_azure_resource_graphQuery Azure Resource Graph with KQLquery_cloud_loggingQuery logs with the Cloud Logging query languagequery_cloudwatchExecute CloudWatch metric queriesquery_cloudwatch_logsExecute CloudWatch Logs Insights queriesquery_elasticsearchQuery Elasticsearch or OpenSearch using Lucene syntax or Query DSLquery_graphiteQuery Graphite metricsquery_graphite_densityQuery Graphite metric densityquery_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 structuresquery_loki_statsGet statistics about log streamsquery_prometheusQuery metrics using PromQL without opening a chartquery_prometheus_histogramCalculate histogram percentile valuesquery_pyroscopeQuery profiles, metrics, or both from Pyroscopequery_quickwitQuery Quickwit using Lucene syntax or Query DSLquery_sqlExecute SQL queries with macro substitutionquery_tempo_metricsCompute metrics from traces with TraceQLrender_grafana_appRun an enabled query tool and display its result in the interactive Grafana Apprender_notebook_pdfExport a notebook as a PDF via Grafana's image rendererrun_panel_queryExecute one or more dashboard panel queriessearch_dashboardsSearch for dashboards by query, folder UID, folder path, tag, or starredsearch_docsSearch Grafana documentation or list product groups (omit query to list products)search_foldersSearch for folders by titlesearch_notebooksSearch notebooks by title textsearch_plugin_informationSearch the grafana.com plugin catalogsearch_tempo_tracesSearch traces with TraceQLsearch_xray_tracesSearch X-Ray traces with a filter expressionsuggest_loki_alloy_label_configGenerate an Alloy `loki.process` snippet enforcing approved labelsupdate_alert_groupAcknowledge, unacknowledge, resolve, or unresolve an alert groupupdate_annotationUpdate specific fields of an annotation (partial update)update_dashboardUpdate or create a new dashboardupdate_datasourceUpdate a datasourceupdate_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 detectionuser_infoCurrent identity, capabilities, and accessible organizationsvalidate_provisioning_fileDry-run-apply a file from a provisioning repository and report admission validation errorsSecurity 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
README
The repository's README runs to about 16K words, fetched 5 days ago. The original in the repository is authoritative.
Read full README