prometheus-mcp-server

prometheus-mcp-server

2

The prometheus-mcp-server is a TypeScript-based Model Context Protocol server designed to enable interaction with Prometheus metrics and data. It facilitates integration with Claude using various PromQL queries and provides essential functions for metadata access and status monitoring.

prometheus-mcp-server

A Model Context Protocol (MCP) server for interacting with Prometheus metrics and data. This TypeScript-based MCP server provides a bridge between Claude and your Prometheus server.

Features

  • Instant Queries
  • Range Queries
  • Series Discovery
  • Label Exploration
  • Metadata Access
  • Target Information
  • Alerts & Rules
  • Status Information

Configuration

The server requires the environment variable PROMETHEUS_HOST, defaulting to http://localhost:9090.

Development

To develop, install dependencies, build the project, and start the server using npm scripts.