Monitoring · Developer Tools

Prometheus MCP Server logo

Prometheus MCP Server

weetime/prometheus-mcp-server

This is a TypeScript-based MCP server that implements a Prometheus API interface. It provides a bridge between Claude and your Prometheus server through the Model Context Protocol (MCP).

Install

npm install -g prometheus-mcp-server

Client configuration

{
  "mcpServers": {
    "prometheus-mcp-server": {
      "command": "/path/to/prometheus-mcp-server/build/index.js",
      "env": {
        "PROMETHEUS_BASE_URL": "<PROMETHEUS_BASE_URL>"
      }
    }
  }
}

Environment variables

PROMETHEUS_BASE_URL
GitHub stars
1
Author
@weetime
Category
Monitoring, Developer Tools
License
ISC
Updated
Oct 6, 2026

About Prometheus MCP Server

A Model Context Protocol (MCP) server for interacting with Prometheus metrics and data.

Features

  • Instant Queries: Execute PromQL queries at a specific time

  • Range Queries: Execute PromQL queries over a time period

  • Series Discovery: Find series by label matchers

  • Label Exploration: Get label names and values

  • Metadata Access: Get metadata for metrics

  • Target Information: Get information about scrape targets

  • Alerts & Rules: Get information about alerts and recording rules

  • Status Information: Get Prometheus server status information

Tools (9)

  • mcp__instant_query

    Execute an instant PromQL query

  • mcp__range_query

    Execute a range PromQL query over a time period

  • mcp__get_series

    Find series by label matchers

  • mcp__get_label_values

    Get values for a specific label

  • mcp__get_metadata

    Get metadata for metrics

  • mcp__get_targets

    Get information about scrape targets

  • mcp__get_alerts

    Get information about alerts

  • mcp__get_rules

    Get information about recording and alerting rules

  • mcp__get_status

    Get status information about the Prometheus server

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

Related MCP servers

More servers
2344 logo

2344

comet-ml/opik

7k

Opik is the open-source LLM observability and evaluation platform for AI agent tracing, LLM evaluation, prompt management, and production monitoring. Built by Comet. Apache-2.0 licensed, free to self-host the full platform, with 20,000+ GitHub stars.

Monitoring
MCP Grafana logo

MCP Grafana

grafana/mcp-grafana

612

A Model Context Protocol (MCP) server for Grafana.

Monitoring
Vite Plugin Vue MCP logo

Vite Plugin Vue MCP

webfansplz/vite-plugin-vue-mcp

407

Vite plugin that enables a MCP server for your Vue app to provide information about the component tree, state, routes, and pinia tree and state.

Monitoring
api200 logo

api200

API-200/api200

169

API 200 is all-in-one gateway for managing third-party APIs efficiently. Integrate third-party APIs or setup MCP server in minutes with auto-generated code, docs, auth, caching and error handling – so you can focus on what really matters.

Monitoring
WireMCP (Wireshark) logo

WireMCP (Wireshark)

0xkoda/wiremcp

98

WireMCP is a Model Context Protocol (MCP) server designed to empower Large Language Models (LLMs) with real-time network traffic analysis capabilities.

Monitoring
gospy logo

gospy

monsterxx03/gospy

90

A tool for inspecting and analyzing running Go processes, including goroutine states, memory statistics, and binary information.

Monitoring