Skip to main content
Glama
etruong42

Prometheus MCP

by etruong42

Prometheus MCP

Proof-of-concept Prometheus MCP server.

Prerequisites

Install uv: https://docs.astral.sh/uv/getting-started/installation/

Using uv, you can also install python.

Related MCP server: Prem MCP Server

How to run

Clone this repo.

Update the .env file

uv add "mcp[cli]" pillow google-auth matplotlib requests python-dotenv

Integrating with Claude

You can run the server with

uv --directory "/directory/to/prometheus-mcp" run server.py

So you may add this MCP server to your Claude MCP server configuration

{
  "mcpServers": {
      "Prometheus MCP": {
          "command": "/path/to/uv",
          "args": [
              "--directory",
              "/directory/to/prometheus-mcp",
              "run",
              "server.py"
          ]
      }
  }
}

See MCP Quickstart for more details for Claude specific instructions.

Demo

Demo gif

Link to shared Claude chat in demo

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/etruong42/prometheus-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server