trackmcp
Back to directory
etruong42

prometheus-mcp

View on GitHub

MCP server to connect LLMs with Prometheus HTTP API

1 stars PythonAI & Machine Learning Updated May 12, 2025

Documentation

Prometheus MCP

Proof-of-concept Prometheus MCP server.

Prerequisites

Install `uv`:

Using `uv`, you can also install python.

How to run

Clone this repo.

Update the .env file

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

Integrating with Claude

You can run the server with

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

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

code
{
  "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

Frequently asked questions

What is prometheus-mcp?

prometheus-mcp is MCP server to connect LLMs with Prometheus HTTP API

How do I install prometheus-mcp?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is prometheus-mcp open source?

Yes — it is hosted on GitHub at https://github.com/etruong42/prometheus-mcp and has 1 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP