About Prometheus MCP
A proof-of-concept MCP server for connecting LLMs to the Prometheus HTTP API. The README describes running it with `uv` and configuring it for Claude.
Key features
- 01Prometheus HTTP API connection
- 02Run with `uv`
- 03Claude MCP configuration
Use cases
- 01Connect an LLM to Prometheus
- 02Try a Prometheus MCP server with Claude
MCP support
Acts as an MCP server connecting LLMs with the Prometheus HTTP API; the README describes adding it to Claude's MCP server configuration.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEPrometheus 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.
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
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.
