mcpField
P
Prometheus MCP Server

Prometheus MCP Server

Local
github.com/moohooramaDeveloper Tools0Updated 78w ago

About Prometheus MCP Server

Prometheus MCP Server provides access to Prometheus data through an MCP server. It is for users connecting MCP clients to a Prometheus instance, with optional basic or token authentication and organization ID support.

Key features

  1. 01Connect to a Prometheus server
  2. 02Configure basic authentication
  3. 03Authenticate with a token
  4. 04Set an organization ID

Use cases

  1. 01Access Prometheus data from an MCP client
  2. 02Connect to an authenticated Prometheus instance

MCP support

Exposes access to Prometheus data through an MCP server for MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"prometheus-mcp-server-py-moohoorama": {
"command": "uvx",
"args": [
"git+https://github.com/moohoorama/prometheus-mcp-server-py.git"
]
}
}
}
Run commanduvx 'git+https://github.com/moohoorama/prometheus-mcp-server-py.git'

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypigit+https://github.com/moohoorama/prometheus-mcp-server-py.git

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Prometheus MCP Server

A tool that allows access to Prometheus data through a Model Context Protocol server.

Installation

pipx install git+https://github.com/moohoorama/prometheus-mcp-server-py.git
Run Without Installation

You can also run the package directly without installing it using pipx run:

pipx run --spec git+https://github.com/moohoorama/prometheus-mcp-server-py.git prometheus-mcp --url http://your-prometheus-server:9090

This is useful for testing or one-time usage scenarios.

Usage

# Command line arguments
prometheus-mcp --url http://your-prometheus-server:9090 \
  --username username \
  --password password
# Or
prometheus-mcp --url http://your-prometheus-server:9090 \
  --token your-token

Command Line Arguments

  • --url: Prometheus server URL (required)
  • --username: Username for basic authentication (optional)
  • --password: Password for basic authentication (optional)
  • --token: Token for authentication (optional)
  • --org-id: Organization ID for multi-tenant setups (optional)

Comments

Markdown supported

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.