grafana-mcp-analyzer
by SailingCoder·★ 43·Score 42
An MCP server that enables AI assistants to directly analyze Grafana monitoring data through natural language queries.
Overview
Grafana MCP Analyzer is a specialized MCP server that bridges AI assistants with Grafana monitoring dashboards. It enables natural language queries to Grafana data sources like Prometheus, MySQL, and Elasticsearch, transforming how DevOps teams interact with monitoring data. The server implements a sophisticated session caching mechanism for progressive analysis, allowing multi-turn conversations that build upon previous context for deeper insights.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server if your team already uses Grafana for monitoring and wants to leverage AI assistants for direct natural language analysis of monitoring data without additional data processing.
When NOT to choose this
Avoid this server if you need write access to monitoring data (this server is read-only) or if you require support for monitoring systems other than Grafana.
Tools this server exposes
8 tools extracted from the READMEanalyze_queryQuery and analyze Grafana data with AI
analyze_existing_dataPerform in-depth analysis of previously retrieved data
chunk_workflowProcess large datasets by dividing them into manageable chunks
manage_cacheManage system cache including statistics, cleanup and optimization
list_queriesList available data sources and queries
check_healthPerform system health checks
list_dataList historical data that has been stored
server_statusGet server status and running information
Comparable tools
Installation
Installation
- Install globally via npm:
npm install -g grafana-mcp-analyzer
Configuration
Add to Claude Desktop config.json:
{
"mcpServers": {
"grafana": {
"command": "grafana-mcp-analyzer",
"env": {
"CONFIG_PATH": "path/to/your/grafana-config.js",
"MAX_CHUNK_SIZE": "100"
}
}
}
}For Cursor, add to settings.json in the MCP section.
FAQ
- What Grafana data sources are supported?
- The server supports Prometheus, MySQL, Elasticsearch, and other data sources accessible via Grafana's API or curl requests.
- How do I configure custom queries?
- Create a configuration file with your queries using either HTTP API format or curl format, then set the CONFIG_PATH environment variable to point to your file.
Compare grafana-mcp-analyzer with
Last updated · Auto-generated from public README + GitHub signals.