# grafana-mcp-tools

> Claude/Codex skill by [@grafana](https://omgskills.com/library/grafana/index.md) · 19 stars · Updated 2026-10-22

Install, configure, and use the Grafana MCP server effectively. Covers setup via Docker or binary, environment variables, tool categories, RBAC, and best practices for context window management. Use when the user wants to set up mcp-grafana, configure Grafana MCP tools, or needs guidance on which MCP tool to use.

## Install

```sh
git clone https://github.com/grafana/ai-marketplace /tmp/ai-marketplace && ln -s /tmp/ai-marketplace/plugins/grafana-mcp/skills/grafana-mcp-tools ~/.claude/skills/grafana-mcp-tools
```

## From README

Grafana MCP Server MCP server exposing 50+ Grafana API tools. Supports Grafana 9.0+ (local and Grafana Cloud). Prerequisites The MCP server must already be installed. Do not attempt to it automatically. If it is not available, stop and tell the user to it first. instructions, pre-built binaries, Docker images, and Helm charts: github.com/grafana/mcp-grafana Configuration Environment variables | Variable | Description | |---|---| | GRAFANAURL | Grafana instance URL (default: http://localhost:3000) | | GRAFANASERVICEACCOUNTTOKEN | Service account token (recommended) | | GRAFANAAPIKEY | API key (deprecated, use service account token) | | GRAFANAUSERNAME + GRAFANAPASSWORD | Basic auth | | GRAFANAORGID | Organization ID for multi-org setups | | GRAFANAEXTRAHEADERS | JSON object with custom HTTP headers | steps Create a service account in Grafana with at least Viewer role (or Editor for write operations). Generate a token.

## Links

- HTML page: https://omgskills.com/library/grafana/ai-marketplace/plugins/grafana-mcp/skills/grafana-mcp-tools/
- GitHub: https://github.com/grafana/ai-marketplace
- Author: [@grafana](https://omgskills.com/library/grafana/index.md)

## More from this repo

- [grafana-assistant-cli](https://omgskills.com/library/grafana/ai-marketplace/plugins/grafana-assistant/skills/grafana-assistant-cli/index.md) — Use the grafana-assistant CLI to interact with Grafana Assistant via A2A API.
   - [@grafana](https://omgskills.com/library/grafana/index.md) · 19 stars
- [grafana-cloud-mcp-tools](https://omgskills.com/library/grafana/ai-marketplace/plugins/grafana-cloud-mcp/skills/grafana-cloud-mcp-tools/index.md) — Connect to and use the Grafana Cloud MCP server effectively, including natural-language Grafana Assistant questions and...
   - [@grafana](https://omgskills.com/library/grafana/index.md) · 19 stars

## More skills by this author

- [k6-docs](https://omgskills.com/library/grafana/skills/k6-docs/index.md) — Used to write or review k6 documentation across the three k6 repositories - k6-DefinitelyTyped (TypeScript types),...
   - [@grafana](https://omgskills.com/library/grafana/index.md) · 295 stars
