MCP Catalogs
Homeprometheus-mcp screenshot

prometheus-mcp

by idanfishman·25·Score 43

MCP server enabling AI agents to query Prometheus monitoring metrics through natural language commands.

monitoringdeveloper-toolsops-infra
5
Forks
4
Open issues
3 mo ago
Last commit
2d ago
Indexed

Overview

The Prometheus MCP server provides seamless integration between AI assistants and Prometheus monitoring systems. It enables natural language interactions with your monitoring infrastructure by exposing 10 tools across three categories: discovery, info, and query. The server supports both stdio and HTTP transports for maximum compatibility with various MCP clients including VS Code, Cursor, Windsurf, and Claude Desktop.

Try asking AI

After installing, here are 6 things you can ask your AI assistant:

you:AI assistants monitoring system performance and alerting on anomalies
you:DevOps teams analyzing metrics trends through natural language queries
you:Automated reporting systems generating status updates based on Prometheus metrics
you:What Prometheus server version does this MCP support?
you:Can I use this MCP server with authentication?
you:What transport methods are supported?

When to choose this

Choose this when you need AI agents to analyze Prometheus monitoring data through natural language queries, especially if you're already using Prometheus and want to enhance it with AI capabilities without additional infrastructure.

When NOT to choose this

Don't choose this if you need write access to your monitoring system or if you're using a monitoring solution other than Prometheus that doesn't expose a compatible API.

Tools this server exposes

10 tools extracted from the README
  • prometheus_list_metrics

    List all available Prometheus metrics

  • prometheus_metric_metadata

    Get metadata for a specific Prometheus metric

  • prometheus_list_labels

    List all available Prometheus labels

  • prometheus_label_values

    Get all values for a specific Prometheus label

  • prometheus_list_targets

    List all Prometheus scrape targets

  • prometheus_scrape_pool_targets

    Get targets for a specific scrape pool

  • prometheus_runtime_info

    Get Prometheus runtime information

  • prometheus_build_info

    Get Prometheus build information

  • prometheus_query

    Execute an instant Prometheus query

  • prometheus_query_range

    Execute a Prometheus range query

Comparable tools

grafana-mcpzabbix-mcpdatadog-mcpprometheus-query-clishell-mcp

Installation

Installation

Claude Desktop
  1. Download the latest .dxt file from [releases page](https://github.com/idanfishman/prometheus-mcp/releases)
  2. Double-click to install automatically
  3. Configure Prometheus URL in extension settings

Or via Developer Settings:

{
  "mcpServers": {
    "prometheus": {
      "command": "npx",
      "args": ["prometheus-mcp@latest", "stdio"],
      "env": {
        "PROMETHEUS_URL": "http://localhost:9090"
      }
    }
  }
}
VS Code/Cursor/Windsurf

Add this configuration to your client settings:

{
  "mcpServers": {
    "prometheus": {
      "command": "npx",
      "args": ["prometheus-mcp@latest", "stdio"],
      "env": {
        "PROMETHEUS_URL": "http://localhost:9090"
      }
    }
  }
}

FAQ

What Prometheus server version does this MCP support?
The Prometheus MCP server works with any Prometheus instance that exposes the Prometheus API (version 1.0 and later).
Can I use this MCP server with authentication?
Currently, the server only supports basic Prometheus URL access. For authenticated Prometheus instances, you may need to set up a proxy or tunnel.
What transport methods are supported?
The server supports both stdio and HTTP transports, making it compatible with various MCP clients and deployment scenarios.

Compare prometheus-mcp with

GitHub →

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