mcpbeat Sign in

Grafana MCP Server

local only

Grafana MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 77 installs a week from npm. Last commit 9 Oct 2026.

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

Installs per day peak 542 · avg 18
a month agotoday
77
Installs / week
npm · grafana-mcp
1
Stars
0 open issues
9 Oct 2026
Last commit
4 releases in 90 days
MIT
License
TypeScript

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add grafana-mcp -- npx -y grafana-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "grafana-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "grafana-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.grafana-mcp]
command = "npx"
args = ["-y", "grafana-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "grafana-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "grafana-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "grafana-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "grafana-mcp"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: GRAFANA_TEST_URL (Grafana base URL of the test environment, e.g. https://grafana.example.com), GRAFANA_TEST_USER (Grafana username for the test environment (prefer a dedicated Viewer-role account)), GRAFANA_TEST_PASSWORD (Grafana password for the test environment), GRAFANA_PROD_URL (Grafana base URL of the production environment), GRAFANA_PROD_USER (Grafana username for the production environment), GRAFANA_PROD_PASSWORD (Grafana password for the production environment), GRAFANA_ENV (Default environment for this project (test by default)), GRAFANA_APP (App label value used to scope Loki queries for this project).

What the code does

We read the source, 5 d ago · rules 995398eba69f

Evidence

Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.

Claims read-only, but the code runs commands [пакет] index.ts:296, index.ts:356
      const json = execSync(
Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Runs an external command [пакет] index.ts:296, index.ts:356
      const json = execSync(
Dumps the whole environment index.ts:226
  for (const key of Object.keys(process.env)) {

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

We found things in this code

Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch Grafana MCP and you get told the day something new turns up.

Three servers free · no card

Alternatives to Grafana MCP

same job, measured the same way
Greptimedb MCP Server
by greptimeteam

Query GreptimeDB metrics, logs and traces with SQL, TQL and RANGE. Manage pipelines and dashboards.

2 172 installs/wk local only
Dynatrace Managed MCP
by dynatrace-oss

MCP server for Dynatrace Managed to access logs, events, and metrics.

517 installs/wk local only
GoldenAnalysis
by benseverndev-oss

Read-only cross-cutting analysis, metrics, and reporting across the Golden Suite.

203 installs/wk local only
Prometheus MCP
by mshegolev

Prometheus MCP — query metrics, inspect alerts, and explore scrape targets (read-only).

170 installs/wk local only
Quellgeist Metrics
by rajeev-shyam

Read-only MCP server: query_metrics over local metric time-series (Quellgeist triage).

110 installs/wk local only
Everr
by everr

Query your traces, logs, metrics and GitHub Actions CI runs in Everr with read-only SQL.

answering
SigNoz MCP Server
by signoz

SigNoz MCP server: access metrics, traces, logs, alerts, and dashboards via AI assistants

local only
Blogsuche
by trusted-blogs

Find vetted blogs for sponsored posts and link building, with topics and SEO metrics. Read-only.

2 tools answering

Grafana MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Grafana MCP?
Grafana MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package grafana-mcp was installed 77 times last week.
How do I connect Grafana MCP?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls grafana-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Grafana MCP?
The npm package grafana-mcp was installed 77 times in the last week. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Grafana MCP open source?
Yes — it is published under the MIT licence, written in TypeScript and 1 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.