Skip to main content
Glama
Prometheus MCP Server

Prometheus MCP Server

by moohoorama

Prometheus MCP Server

A tool that allows access to Prometheus data through a Model Context Protocol server.

Installation

pipx install git+https://github.com/moohoorama/prometheus-mcp-server-py.git

Run Without Installation

You can also run the package directly without installing it using pipx run:

pipx run --spec git+https://github.com/moohoorama/prometheus-mcp-server-py.git prometheus-mcp --url http://your-prometheus-server:9090

This is useful for testing or one-time usage scenarios.

Related MCP server: Prometheus MCP Server

Usage

# Command line arguments
prometheus-mcp --url http://your-prometheus-server:9090 \
  --username username \
  --password password
# Or
prometheus-mcp --url http://your-prometheus-server:9090 \
  --token your-token

Command Line Arguments

  • --url: Prometheus server URL (required)

  • --username: Username for basic authentication (optional)

  • --password: Password for basic authentication (optional)

  • --token: Token for authentication (optional)

  • --org-id: Organization ID for multi-tenant setups (optional)

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that enables Large Language Models to retrieve, analyze, and query metric data from Prometheus databases through pre-defined routes.
      33
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Provides access to Prometheus metrics and queries through standardized Model Context Protocol interfaces, allowing AI assistants to execute PromQL queries and analyze metrics data.
      6
      526
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A tool that lets users access Prometheus metrics data through a Model Context Protocol server, supporting authentication options for secure data retrieval.
      1
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI assistants to query Prometheus metrics, discover available data, and analyze system performance through natural language interactions.
      5
      236 npm
      MIT