AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

Grafana MCP

Community

MCP server by itzhouq · updated · ★ 0 · 39 downloads a week

Score 80

Read-only project-level Grafana MCP: Loki logs, metrics, traces, alerts, test/prod switching Grafana MCP is a community project by itzhouq, not verified by a company domain.

Yours? Claim it
Maintenance

Last commit 13 days ago

Licence

MIT: permissive, fine for commercial use

Quality

Clear description, published package or server URL, original repository

Security

Not checked yet. What we check

What you need

SettingNeededWhat it is
GRAFANA_TEST_URLEnvironment variableOptionalGrafana base URL of the test environment, e.g. https://grafana.example.com
GRAFANA_TEST_USEREnvironment variableOptionalGrafana username for the test environment (prefer a dedicated Viewer-role account)
GRAFANA_TEST_PASSWORDEnvironment variable, secretOptionalGrafana password for the test environment
GRAFANA_PROD_URLEnvironment variableOptionalGrafana base URL of the production environment
GRAFANA_PROD_USEREnvironment variableOptionalGrafana username for the production environment
GRAFANA_PROD_PASSWORDEnvironment variable, secretOptionalGrafana password for the production environment
GRAFANA_ENVEnvironment variableOptionalDefault environment for this project (test by default)
GRAFANA_APPEnvironment variableOptionalApp label value used to scope Loki queries for this project

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Install Grafana MCP

Built from the published package, never by AI
claude mcp add grafana-mcp -- npx -y grafana-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Grafana MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the grafana-mcp block.

Alternatives to Grafana MCP

All alternatives →

Grafana MCP: common questions

How do I install Grafana MCP?

In Claude Code run claude mcp add grafana-mcp -- npx -y grafana-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Grafana MCP the official server?

Grafana MCP is a community project by itzhouq, not verified by a company domain.

Is Grafana MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Grafana MCP safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.

What are alternatives to Grafana MCP?

Similar MCP servers: Azure MCP Server, Omnara, mcp, Superlog.

Does Grafana MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.