MCP server providing Prometheus metrics access and PromQL query execution for AI assistants
Prometheus MCP Server
Published by tjhopAn API-complete MCP server to manage Prometheus-compatible backends.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 0.18.0
- SOURCE CHECKED
- Dec 3, 2026
Quick answers
How do I add Prometheus MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --transport stdio prometheus -- docker run -i --rm ghcr.io/tjhop/prometheus-mcp-server:0.18.0CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"prometheus": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/tjhop/prometheus-mcp-server:0.18.0"
]
}
}
}CodexCommand
Run this in your terminal:
codex mcp add prometheus -- docker run -i --rm ghcr.io/tjhop/prometheus-mcp-server:0.18.0VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"prometheus": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/tjhop/prometheus-mcp-server:0.18.0"
]
}
}
}Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"prometheus": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/tjhop/prometheus-mcp-server:0.18.0"
]
}
}
}ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use Prometheus MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does Prometheus MCP Server need an API key?
Its listing declares no key or settings needed to run it.
Is Prometheus MCP Server official?
It's published by tjhop. The Official MCP Registry accepts names under io.github.tjhop only from the GitHub account or organisation tjhop. We last checked its listing on Dec 3, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
oci · ghcr.io/tjhop/prometheus-mcp-server:0.18.0