Skip to main content

Grafana MCP

io.github.itzhouq/grafana-mcp

v0.1.3Updated Oct 7, 2026stdio · npm

Read-only project-level Grafana MCP: Loki logs, metrics, traces, alerts, test/prod switching

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add grafana-mcp -- npx -y [email protected]

Configuration

8 settings.

  • GRAFANA_TEST_PASSWORD
    Env var· optional· secret
    Grafana password for the test environment
  • GRAFANA_PROD_PASSWORD
    Env var· optional· secret
    Grafana password for the production environment
  • GRAFANA_TEST_URL
    Env var· optional
    Grafana base URL of the test environment, e.g. https://grafana.example.com
  • GRAFANA_TEST_USER
    Env var· optional
    Grafana username for the test environment (prefer a dedicated Viewer-role account)
  • GRAFANA_PROD_URL
    Env var· optional
    Grafana base URL of the production environment
  • GRAFANA_PROD_USER
    Env var· optional
    Grafana username for the production environment
Show 2 more
  • GRAFANA_ENV
    Env var· optional
    Default environment for this project (test by default)
  • GRAFANA_APP
    Env var· optional
    App label value used to scope Loki queries for this project

Listed in the official MCP Registry since Oct 7, 2026. Mirrored daily; last checked Nov 26, 2026.