/grafana-mcp:grafana-mcp-toolsfrom Grafana (self-hosted)
Installs, configures, and uses the Grafana MCP server (mcp-grafana) with Docker or binary, environment variables, CLI flags, tool selection, RBAC, and context window best practices.
Ships in Grafana (self-hosted). Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The open-source Grafana MCP server, mcp-grafana. It runs locally and connects to any Grafana 9.0+ instance, self-hosted or Grafana Cloud, with a service account token.
The MCP server must already be installed. Don't try to install it yourself. If it isn't available, stop and tell the user to install it first.
Installation instructions, binaries, Docker images and Helm charts: github.com/grafana/mcp-grafana
| Variable | Description |
|---|---|
GRAFANA_URL | Grafana instance URL (default: http://localhost:3000) |
GRAFANA_SERVICE_ACCOUNT_TOKEN | Service account token (recommended) |
GRAFANA_API_KEY | API key (deprecated; use a service account token) |
GRAFANA_USERNAME + GRAFANA_PASSWORD | Basic auth |
GRAFANA_ORG_ID | Organization ID for multi-org setups |
GRAFANA_EXTRA_HEADERS | JSON object with custom HTTP headers |
GRAFANA_URL and GRAFANA_SERVICE_ACCOUNT_TOKEN environment variables; the plugin's README shows how.When the server runs in Docker and Grafana runs on the host, use http://host.docker.internal:3000 as the Grafana URL instead of http://localhost:3000.
The server also ships as a binary, mcp-grafana. To use it, point the server entry in your agent's MCP config at mcp-grafana instead of docker, with the same two settings. The mcp-grafana README has examples for each agent.
| Flag | Description |
|---|---|
-t, --transport | stdio (default), sse, or streamable-http |
--address | Host:port for SSE/HTTP (default: localhost:8000) |
--log-level | debug, info, warn, error |
--disable-write | Read-only mode: no tools that create, change or delete |
--enabled-tools | Comma-separated tool categories to enable |
--disable-<category> | Turn off one category |
Some categories are off by default. mcp-grafana --help lists every category and the default set for the installed version.
The tool list changes between releases, so this skill doesn't list tools. Rely on the server instead:
--enabled-tools or --disable-write rather than guessing at a name.sum by (...) or topk is usually more useful than hundreds of raw series.--disable-write when write access isn't needed.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub grafana/ai-marketplace --plugin grafana-mcpOther plugins' skills for the same job