Grafana MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 669 installs a week from npm. Last commit 9 Oct 2026.
Read-only project-level Grafana MCP: Loki logs, metrics, traces, alerts, test/prod switching
We read the source, 2 d ago · rules ccca72095570
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.
const json = execSync(
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.
const json = execSync(
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.
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.
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.
claude mcp add grafana-mcp -- npx -y grafana-mcp
{
"mcpServers": {
"grafana-mcp": {
"args": [
"-y",
"grafana-mcp"
],
"command": "npx"
}
}
}
[mcp_servers.grafana-mcp]
command = "npx"
args = ["-y", "grafana-mcp"]
{
"mcpServers": {
"grafana-mcp": {
"args": [
"-y",
"grafana-mcp"
],
"command": "npx"
}
}
}
{
"mcpServers": {
"grafana-mcp": {
"args": [
"-y",
"grafana-mcp"
],
"command": "npx"
}
}
}
This one needs environment variables set before it will start:
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).
The author declared them in the registry entry; get the values from the project itself.
Read-only access to a Lumin project's logs, metrics, uptime checks, alerts and infrastructure.
Prometheus MCP — query metrics, inspect alerts, and explore scrape targets (read-only).
Read-only Kubernetes MCP server: inspect resources, logs, events, and metrics. Secrets are masked.
Read-only MCP server for coding-agent traces, alerts, costs, usage, and budget health.
Read-only Grafana Loki for AI agents: label discovery, bounded LogQL queries, counts, exports
SigNoz MCP server: access metrics, traces, logs, alerts, and dashboards via AI assistants
Read the logs, metrics, and traces of the app you are editing, from the Loggerhead Mac app.
Read-only MCP server: query_metrics over local metric time-series (Quellgeist triage).
Answers built from our own checks of this server.