AdYour product here, seen by people installing AI tools every day

mcp-grafana

Community

MCP server by grafana · updated · ★ 3.6k

Score 93

An MCP server giving access to Grafana dashboards, data and more. mcp-grafana is a community project by grafana, not verified by a company domain.

Yours? Claim it

Install mcp-grafana

Built from the published package, never by AI
claude mcp add mcp-grafana -e GRAFANA_URL=YOUR_GRAFANA_URL -- docker run -i --rm -e GRAFANA_URL docker.io/grafana/mcp-grafana:2.1.1

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install mcp-grafana in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-grafana block.

Maintenance

Last commit 4 days ago

Licence

Apache-2.0: permissive, fine for commercial use

Quality

Clear description, published package or server URL, 3,576 stars, original repository

Security

No risky patterns in the files we checked

What you need

SettingNeededWhat it is
GRAFANA_URLEnvironment variableRequiredURL to your Grafana instance
GRAFANA_SERVICE_ACCOUNT_TOKENEnvironment variable, secretOptionalService account token used to authenticate with your Grafana instance
GRAFANA_USERNAMEEnvironment variableOptionalUsername to authenticate with your Grafana instance
GRAFANA_PASSWORDEnvironment variable, secretOptionalPassword to authenticate with your Grafana instance
GRAFANA_ORG_IDEnvironment variableOptionalOrganization ID for multi-org support. Can also be set via X-Grafana-Org-Id header in SSE/streamable HTTP transports.
GRAFANA_EXTRA_HEADERSEnvironment variableOptionalJSON object of additional HTTP headers to send with all Grafana API requests
GRAFANA_FORWARD_HEADERSEnvironment variableOptionalComma-separated list of HTTP header names to forward from the incoming request to Grafana (SSE/streamable-http only). Example: Cookie,X-Session-Id
X-Grafana-URLHeaderOptionalURL of your Grafana Cloud instance

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Weekly newsletter

Like mcp-grafana? Get the best new MCP servers every week

The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.

No spam. Unsubscribe in one click. Privacy

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to mcp-grafana

All alternatives →

mcp-grafana: common questions

How do I install mcp-grafana?

In Claude Code run claude mcp add mcp-grafana -e GRAFANA_URL=YOUR_GRAFANA_URL -- docker run -i --rm -e GRAFANA_URL docker.io/grafana/mcp-grafana:2.1.1. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is mcp-grafana the official server?

mcp-grafana is a community project by grafana, not verified by a company domain.

Is mcp-grafana free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is mcp-grafana safe to use?

It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to mcp-grafana?

Similar MCP servers: Azure MCP Server, Omnara, mcp, Superlog.

Does mcp-grafana work with ChatGPT?

Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.

Add to stack

Loading.