MCP Catalogs
Homegrafana-mcp-analyzer screenshot

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.

monitoringdeveloper-toolsops-infra
11
Forks
9
Open issues
10 mo ago
Last commit
2d ago
Indexed

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:

you:AI-powered real-time system performance analysis
you:Automated incident response through natural language queries
you:Capacity planning based on historical monitoring trends
you:What Grafana data sources are supported?
you:How do I configure custom queries?

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 README
  • analyze_query

    Query and analyze Grafana data with AI

  • analyze_existing_data

    Perform in-depth analysis of previously retrieved data

  • chunk_workflow

    Process large datasets by dividing them into manageable chunks

  • manage_cache

    Manage system cache including statistics, cleanup and optimization

  • list_queries

    List available data sources and queries

  • check_health

    Perform system health checks

  • list_data

    List historical data that has been stored

  • server_status

    Get server status and running information

Comparable tools

prometheus-mcpinfluxdb-mcpgraphite-mcp

Installation

Installation

  1. 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.