mcp-server-prometheus

mcp-server-prometheus

14

The mcp-server-prometheus is a TypeScript-based server that interfaces with Prometheus to provide access to metrics and data through the Model Context Protocol. It offers features like detailed metric metadata, support for JSON structured data access, and capabilities to list and access Prometheus metrics.

mcp-server-prometheus

MCP server for interacting with Prometheus metrics and data.

Features

  • List and access Prometheus metric schema
  • Provide metric name and description
  • Access detailed metadata from Prometheus
  • JSON mime type for structured data access
  • List all available Prometheus metrics with descriptions
  • Read detailed metric information including metadata, help text, and statistical data
  • Basic authentication support for secured Prometheus instances

Configuration

  • Requires the PROMETHEUS_URL environment variable
  • Optional authentication with PROMETHEUS_USERNAME and PROMETHEUS_PASSWORD

Installation

  • Use with Claude Desktop via configuration file

API Structure

  • Exposes metrics through a URI structure with base URI and metric URIs.