Home/Directory/Web & APIs/Grafana

Grafana

@grafana · github.com/grafana/mcp-grafana

Search dashboards, investigate incidents and query datasources in your Grafana instance

ClaimedWeb & APIsstdiolocal auth
GitHub

Install one command

terminal
$ uvx mcp-grafana

Or add it with the Claude CLI: claude mcp add grafana-mcp-grafana

Requires uvx (install via pip install uv)

Tools exposed 20 tools

list_teams
list_users_by_org
list_all_roles
get_role_details
get_role_assignments
list_user_roles
list_team_roles
get_resource_permissions
get_resource_description
search_dashboards
get_dashboard_by_uid
update_dashboard
get_dashboard_panel_queries
run_panel_query
get_dashboard_property
get_dashboard_summary
list_datasources
get_datasource
get_query_examples
query_prometheus

Configuration claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "grafana-mcp-grafana": {
      "command": "uvx",
      "args": ["mcp-grafana"],
      "env": {
        "GRAFANA_SERVICE_ACCOUNT_TOKEN": "<your-grafana-service-account-token>",
        "GRAFANA_API_KEY": "<your-grafana-api-key>",
        "GRAFANA_SERVICE_ACCOUNT_TOKEN_FILE": "<your-grafana-service-account-token-file>",
        "GRAFANA_ORG_ID": "<your-grafana-org-id>",
        "GRAFANA_PASSWORD": "<your-grafana-password>",
        "GRAFANA_EXTRA_HEADERS": "<your-grafana-extra-headers>",
        "GRAFANA_FORWARD_HEADERS": "<your-grafana-forward-headers>",
        "GRAFANA_URL": "<your-grafana-url>",
        "OTEL_EXPORTER_OTLP_ENDPOINT": "<your-otel-exporter-otlp-endpoint>",
        "OTEL_EXPORTER_OTLP_LOGS_ENDPOINT": "<your-otel-exporter-otlp-logs-endpoint>"
      }
    }
  }
}

Paste under mcpServers in your config, then restart Claude Desktop. For Claude Code, reference this server in your project's CLAUDE.md.

Related

Similar servers

More in Web & APIs
Compare
@bytedance

Browser automation capabilities using Puppeteer, both support local and remote browser connection.

Web & APIsstdio no-auth
36.3k4w ago0 toolslocal
$npx @agent-tars/cli@latest
Compare
@mickael-kerjean

Remote Storage Access: SFTP, S3, FTP, SMB, NFS, WebDAV, GIT, FTPS, gcloud, azure blob, sharepoint, etc.

Web & APIsHTTP no-auth
14.3k6d ago0 toolslocal
Install command unavailable — see repo
Compare
@PipedreamHQ

Connect with 2,500 APIs with 8,000+ prebuilt tools, and manage servers for your users, in your own app.

Web & APIsSSE no-auth
11.5k4d ago0 toolslocal
Install command unavailable — see repo