MCP Catalogs
Home

mcp-server-prometheus

by loglmhq·17·Score 34

MCP server that bridges Claude with Prometheus metrics and data.

monitoringdeveloper-toolsops-infra
6
Forks
2
Open issues
17 mo ago
Last commit
2d ago
Indexed

Overview

This MCP server provides a bridge between Claude and Prometheus, allowing users to access and interact with Prometheus metrics through the Model Context Protocol. It implements a TypeScript-based interface to query Prometheus metrics, offering features like listing available metrics, accessing detailed metric information, and supporting basic authentication for secured instances. The server handles resource listing with JSON mime types and provides access to statistical information about each metric.

Try asking AI

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

you:Monitoring system performance by querying Prometheus metrics directly from Claude
you:Automating alert and report generation based on metric thresholds
you:Troubleshooting infrastructure issues through conversational metric analysis
you:What authentication methods does this server support?
you:How do I debug the MCP server?

When to choose this

Choose this for Prometheus integration if you need basic metric access and metadata retrieval through MCP.

When NOT to choose this

Avoid if you need complex metric querying, time series analysis, or advanced Prometheus features not yet implemented.

Tools this server exposes

2 tools extracted from the README
  • list_metrics

    List all available Prometheus metrics with descriptions

  • get_metric_info

    Get detailed information about a specific Prometheus metric

Comparable tools

prometheus-node-exportergrafana-mcpmcp-server-grafanashell-mcp

Installation

Installation

  1. Install dependencies:
npm install
  1. Build the server:
npm run build
  1. Configure for Claude Desktop:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "mcp-server-prometheus": {
      "command": "/path/to/mcp-server-prometheus/build/index.js",
      "env": {
        "PROMETHEUS_URL": "http://your-prometheus-instance:9090"
      }
    }
  }
}

FAQ

What authentication methods does this server support?
The server supports basic authentication for secured Prometheus instances using PROMETHEUS_USERNAME and PROMETHEUS_PASSWORD environment variables.
How do I debug the MCP server?
The server recommends using the MCP Inspector for debugging. Run 'npm run inspector' which provides a URL to access debugging tools in your browser.

Compare mcp-server-prometheus with

GitHub →

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