BASE

Grafana MCP

Grafana MCP

MCP tools for developers · Free

The official Grafana MCP server for dashboards, data sources, and incident investigation through metrics, logs, and tracing.

Also known as: grafana/mcp-grafana

Resource illustration: Grafana MCP

Open resource ↗

What you can use for free

You can use the code under the stated license; servers, APIs, and compute must be provided separately.

Paid features and costs

Grafana Cloud and paid AI are billed separately.

Access and limitations

You can use the code under the stated license; servers, APIs, and compute must be provided separately. Grafana Cloud and paid AI are billed separately.

Use cases

  • Connect an account with limited access to the required data sources.
  • Compare metrics and logs over the same time range and save the investigation queries.

Example workflow

A possible workflow; this is not a report of hands-on testing.

The official Grafana MCP server for dashboards, data sources, and incident investigation through metrics, logs, and tracing.

Before you start

  • A Grafana instance, service-account token, and incident time range.

Steps

  1. Connect an account with limited access to the required data sources.
  2. Compare metrics and logs over the same time range and save the investigation queries.
  3. Compare the result with the workflow's goal; after changing the project, run its standard checks.

Check your result

  • The data source and timezone are correct; events and metrics confirm the conclusion.
  • Check connection permissions and dependency terms; confirm external service costs if the workflow requires them.

Choosing Grafana MCP

Connect an account with limited access to the required data sources.

Choose this when

  • Connect an account with limited access to the required data sources.
  • Compare metrics and logs over the same time range and save the investigation queries.

Requirements

  • Configure the Grafana URL and a service account with permissions for the required resources.

Things to consider

  • Costs and limits of free use: Grafana Cloud and paid AI are billed separately.
  • Terms of use: Apache-2.0 for this repository; connected services, models, and data have separate terms.
  • Panel query and SQL query tools are disabled by default; Grafana access does not yet mean those tool groups are enabled.

Frequently asked questions

What can you use for free in Grafana MCP?

You can use the code under the stated license; servers, APIs, and compute must be provided separately.

What additional costs might arise with Grafana MCP?

Grafana Cloud and paid AI are billed separately.

What terms of use matter for Grafana MCP?

Apache-2.0 for this repository; connected services, models, and data have separate terms.

How do you get started with Grafana MCP?

Connect an account with limited access to the required data sources. Compare metrics and logs over the same time range and save the investigation queries. Compare the result with the workflow's goal; after changing the project, run its standard checks.

How can I inspect a dashboard without transferring all its large JSON?

Use get_dashboard_summary for an overview or get_dashboard_property for a chosen JSONPath. The README identifies them as using less context than retrieving the complete dashboard model.

License

Apache-2.0 for this repository; connected services, models, and data have separate terms.

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Technologies and topics

  • Grafana MCP
  • grafana
  • MCP

Sources

Other resources