MCP Directory

Prometheus MCP Server vs Elasticsearch MCP Server

A side-by-side comparison of two Monitoring & Observability servers — tools, transport, auth, maintenance, and copy-paste config for each.

 Prometheus MCP Server

Run PromQL queries and analyze Prometheus metrics from any MCP client.

Verified
stdio (local)
No auth
Python
Elasticsearch MCP Server

Official Elastic server: list indices, read mappings, and search with Query DSL.

Verified
stdio (local)
API key
TypeScript
CategoryMonitoring & ObservabilityMonitoring & Observability
LanguagePythonTypeScript
Transportstdio (local)stdio (local)
AuthNoneAPI key
GitHub stars340700
Last commit1 month ago4 months ago
Verified
Actively maintained
Installuvx prometheus-mcp-serverdocker run -i --rm -e ES_URL -e ES_API_KEY docker.elastic.co/mcp/elasticsearch stdio
RepoOpen Open

Verdict

Pick Prometheus MCP Server if you want zero-setup with no API key.

Pick Elasticsearch MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Add Prometheus MCP Server

Install / run
uvx prometheus-mcp-server

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "prometheus-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PROMETHEUS_URL",
        "ghcr.io/pab1it0/prometheus-mcp-server:latest"
      ],
      "env": {
        "PROMETHEUS_URL": "<your-prometheus-url>"
      }
    }
  }
}

Requires Docker to be installed and running.

Add Elasticsearch MCP Server

Install / run
docker run -i --rm -e ES_URL -e ES_API_KEY docker.elastic.co/mcp/elasticsearch stdio

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "elasticsearch-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "ES_URL",
        "-e",
        "ES_API_KEY",
        "docker.elastic.co/mcp/elasticsearch",
        "stdio"
      ],
      "env": {
        "ES_URL": "<your-elasticsearch-cluster-url>",
        "ES_API_KEY": "<your-elasticsearch-api-key>"
      }
    }
  }
}

Requires Docker to be installed and running.

FAQ

Prometheus MCP Server or Elasticsearch MCP Server — which is better?

Pick Prometheus MCP Server if you want zero-setup with no API key. Pick Elasticsearch MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Can I use both Prometheus MCP Server and Elasticsearch MCP Server?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do Prometheus MCP Server and Elasticsearch MCP Server work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.