MCP server for querying Grafana datasources (SQL, PromQL/LogQL) and dashboards from Claude Code, Claude Desktop, or any MCP client
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"grafana-mcp-server": {
"command": "npx",
"args": [
"-y",
"stonoyan04/grafana-mcp-server"
]
}
}
}
Run in terminal:
claude mcp add grafana-mcp-server npx -y stonoyan04/grafana-mcp-server
Add to .cursor/mcp.json:
{
"mcpServers": {
"grafana-mcp-server": {
"command": "npx",
"args": [
"-y",
"stonoyan04/grafana-mcp-server"
]
}
}
}