Prometheus MCP Server (Community) logo

Prometheus MCP Server (Community) — MCP Servers

Open-source MCP server to query and analyze Prometheus metrics (PromQL, metadata, alerts).

225stars

Quick Info

Category
developer-tools

Tags

prometheus
metrics
monitoring
promql
mcp
observability
sre
open source

Overview

The Prometheus MCP Server is an open-source server implementation that exposes Prometheus-hosted time-series metrics, metadata, scrape target info, alerts/rules, and more through the Model Context Protocol. This allows AI assistants or tools like Claude, Cursor, and Windsurf to access metrics (instant/range queries, metadata) and perform observability and diagnostics tasks via standard MCP RPC tools. Multiple versions exist (Python, TypeScript) with support for authentication, Docker deployment, HTTP or stdio transport, and configuration via environment variables. It is useful for SRE/monitoring/devops teams who want to integrate their Prometheus stack into LLM-based workflows or agentic systems.

Key Features

PromQL instant queries and range queries via MCP
Metric discovery and metadata retrieval
Scrape target/server status and alerting/rule insights (per implementation)
Configurable transports (stdio, HTTP) and env-based auth/URLs
Docker-friendly deployment and community OSS

Use Cases

Enhance development workflows and productivity
Integrate Prometheus MCP Server (Community) with Claude and other AI assistants
Streamline developer-tools processes using MCP protocol