Grafana MCP
io.github.itzhouq/grafana-mcp
Read-only project-level Grafana MCP: Loki logs, metrics, traces, alerts, test/prod switching
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/itzhouq/grafana-mcp
- Version
- 0.1.3
- Author
- itzhouq (namespace verified by the registry)
- Source
- Official MCP registry (updated Oct 7, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Variables to fill in: GRAFANA_TEST_URL, GRAFANA_TEST_USER, GRAFANA_TEST_PASSWORD, GRAFANA_PROD_URL, GRAFANA_PROD_USER, GRAFANA_PROD_PASSWORD, GRAFANA_ENV, GRAFANA_APP.
On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add grafana-mcp -e GRAFANA_TEST_URL=YOUR_GRAFANA_TEST_URL -e GRAFANA_TEST_USER=YOUR_GRAFANA_TEST_USER -e GRAFANA_TEST_PASSWORD=YOUR_GRAFANA_TEST_PASSWORD -e GRAFANA_PROD_URL=YOUR_GRAFANA_PROD_URL -e GRAFANA_PROD_USER=YOUR_GRAFANA_PROD_USER -e GRAFANA_PROD_PASSWORD=YOUR_GRAFANA_PROD_PASSWORD -e GRAFANA_ENV=YOUR_GRAFANA_ENV -e GRAFANA_APP=YOUR_GRAFANA_APP -- npx -y [email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"grafana-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GRAFANA_TEST_URL": "YOUR_GRAFANA_TEST_URL",
"GRAFANA_TEST_USER": "YOUR_GRAFANA_TEST_USER",
"GRAFANA_TEST_PASSWORD": "YOUR_GRAFANA_TEST_PASSWORD",
"GRAFANA_PROD_URL": "YOUR_GRAFANA_PROD_URL",
"GRAFANA_PROD_USER": "YOUR_GRAFANA_PROD_USER",
"GRAFANA_PROD_PASSWORD": "YOUR_GRAFANA_PROD_PASSWORD",
"GRAFANA_ENV": "YOUR_GRAFANA_ENV",
"GRAFANA_APP": "YOUR_GRAFANA_APP"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"grafana-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GRAFANA_TEST_URL": "YOUR_GRAFANA_TEST_URL",
"GRAFANA_TEST_USER": "YOUR_GRAFANA_TEST_USER",
"GRAFANA_TEST_PASSWORD": "YOUR_GRAFANA_TEST_PASSWORD",
"GRAFANA_PROD_URL": "YOUR_GRAFANA_PROD_URL",
"GRAFANA_PROD_USER": "YOUR_GRAFANA_PROD_USER",
"GRAFANA_PROD_PASSWORD": "YOUR_GRAFANA_PROD_PASSWORD",
"GRAFANA_ENV": "YOUR_GRAFANA_ENV",
"GRAFANA_APP": "YOUR_GRAFANA_APP"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"grafana-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GRAFANA_TEST_URL": "YOUR_GRAFANA_TEST_URL",
"GRAFANA_TEST_USER": "YOUR_GRAFANA_TEST_USER",
"GRAFANA_TEST_PASSWORD": "YOUR_GRAFANA_TEST_PASSWORD",
"GRAFANA_PROD_URL": "YOUR_GRAFANA_PROD_URL",
"GRAFANA_PROD_USER": "YOUR_GRAFANA_PROD_USER",
"GRAFANA_PROD_PASSWORD": "YOUR_GRAFANA_PROD_PASSWORD",
"GRAFANA_ENV": "YOUR_GRAFANA_ENV",
"GRAFANA_APP": "YOUR_GRAFANA_APP"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
[Grafana MCP — L’Agora](https://lagora.dev/en/entry/io.github.itzhouq/grafana-mcp)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.itzhouq/grafana-mcp)HTML
<a href="https://lagora.dev/en/entry/io.github.itzhouq/grafana-mcp"><img src="https://lagora.dev/badge/io.github.itzhouq/grafana-mcp.svg?lang=en" alt="io.github.itzhouq/grafana-mcp on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
Archery MCP Local