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
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": {
"command": "npx",
"args": [
"-y",
"grafana-mcp"
]
}
}
}
[mcp_servers.grafana-mcp]
command = "npx"
args = ["-y", "grafana-mcp"]
{
"mcpServers": {
"grafana-mcp": {
"command": "npx",
"args": [
"-y",
"grafana-mcp"
]
}
}
}
{
"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).
We read the source, 5 d ago · rules 995398eba69f
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.
Query GreptimeDB metrics, logs and traces with SQL, TQL and RANGE. Manage pipelines and dashboards.
MCP server for Dynatrace Managed to access logs, events, and metrics.
Read-only cross-cutting analysis, metrics, and reporting across the Golden Suite.
Prometheus MCP — query metrics, inspect alerts, and explore scrape targets (read-only).
Read-only MCP server: query_metrics over local metric time-series (Quellgeist triage).
Query your traces, logs, metrics and GitHub Actions CI runs in Everr with read-only SQL.
SigNoz MCP server: access metrics, traces, logs, alerts, and dashboards via AI assistants
Find vetted blogs for sponsored posts and link building, with topics and SEO metrics. Read-only.
Answers built from our own checks of this server.