prometheus-mcp
CommunityMCP server by mshegolev · updated · ★ 0
Prometheus MCP — query metrics, inspect alerts, and explore scrape targets (read-only). prometheus-mcp is a community project by mshegolev, not verified by a company domain.
Last commit 76 days ago
MIT: permissive, fine for commercial use
Clear description, published package or server URL, original repository
Not checked yet. What we check
What you need
| Setting | Needed | What it is |
|---|---|---|
PROMETHEUS_URLEnvironment variable | Required | Prometheus server URL, e.g. https://prometheus.example.com (no trailing slash) |
PROMETHEUS_TOKENEnvironment variable, secret | Optional | Bearer token for authentication. Takes priority over Basic auth. |
PROMETHEUS_USERNAMEEnvironment variable | Optional | HTTP Basic auth username. Used only when PROMETHEUS_TOKEN is not set. |
PROMETHEUS_PASSWORDEnvironment variable, secret | Optional | HTTP Basic auth password. |
PROMETHEUS_SSL_VERIFYEnvironment variable | Optional | Verify SSL certificates (true/false). Set to 'false' for self-signed certs. Default: true |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Install prometheus-mcp
Built from the published package, never by AIclaude mcp add prometheus-mcp -e PROMETHEUS_URL=YOUR_PROMETHEUS_URL -- uvx prometheus-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"prometheus-mcp": {
"command": "uvx",
"args": [
"prometheus-mcp"
],
"env": {
"PROMETHEUS_URL": "YOUR_PROMETHEUS_URL"
}
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"prometheus-mcp": {
"command": "uvx",
"args": [
"prometheus-mcp"
],
"env": {
"PROMETHEUS_URL": "YOUR_PROMETHEUS_URL"
}
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"prometheus-mcp": {
"command": "uvx",
"args": [
"prometheus-mcp"
],
"env": {
"PROMETHEUS_URL": "YOUR_PROMETHEUS_URL"
}
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add prometheus-mcp --env PROMETHEUS_URL=YOUR_PROMETHEUS_URL -- uvx prometheus-mcp{
"mcpServers": {
"prometheus-mcp": {
"command": "uvx",
"args": [
"prometheus-mcp"
],
"env": {
"PROMETHEUS_URL": "YOUR_PROMETHEUS_URL"
}
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add prometheus-mcp uvx prometheus-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the prometheus-mcp block.
Alternatives to prometheus-mcp
All alternatives →Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
Let your AI agent operate any website through a real, logged-in browser session.
Dark web OSINT over Tor: search onion engines, scrape pages, report with your own model.
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
draw.io diagrams your AI agent draws on a live browser canvas that you can also edit by hand
AI browser agent: browses, clicks, types, and reads real web pages from plain-English instructions.
prometheus-mcp: common questions
How do I install prometheus-mcp?
In Claude Code run claude mcp add prometheus-mcp -e PROMETHEUS_URL=YOUR_PROMETHEUS_URL -- uvx prometheus-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is prometheus-mcp the official server?
prometheus-mcp is a community project by mshegolev, not verified by a company domain.
Is prometheus-mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is prometheus-mcp safe to use?
It scores 27 of 100. Grades: maintenance B, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to prometheus-mcp?
Similar MCP servers: browser-use, Actionbook, Robin: AI-Powered Dark Web OSINT, Scrapling MCP Server.
Does prometheus-mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
