
Prometheus MCP
โ 1from etruong42
Expose Prometheus monitoring tools to an LLM for querying and analysis.
๐ฅ๐ฅโ VerifiedFreeQuick setup
Prometheus MCP
Proof-of-concept Prometheus MCP server.
How to run
Clone this repo.
Update the .env file
uv add "mcp[cli]" pillow google-auth matplotlib requests python-dotenvIntegrating with Claude
You can run the server with
uv --directory "/directory/to/prometheus-mcp" run server.pySo 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
Copy & paste โ that's it
uv add "mcp[cli]" pillow google-auth matplotlib requests python-dotenvPrerequisites
Install uv: https://docs.astral.sh/uv/getting-started/installation/
Using uv, you can also install python.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under MITโ you can use, modify, and redistribute it under that license's terms.
