MCP Directory

PostHog MCP Server (Official Remote) vs Elasticsearch MCP Server

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

 PostHog MCP Server (Official Remote)

Official PostHog server: product analytics, feature flags, experiments, error tracking and SQL.

Verified
stdio (local)
API key
TypeScript
Elasticsearch MCP Server

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

Verified
stdio (local)
API key
TypeScript
CategoryMonitoring & ObservabilityMonitoring & Observability
LanguageTypeScriptTypeScript
Transportstdio (local)stdio (local)
AuthAPI keyAPI key
GitHub stars350700
Last commit4 months ago4 months ago
Verified
Actively maintained
Installnpx @posthog/wizard@latest mcp adddocker run -i --rm -e ES_URL -e ES_API_KEY docker.elastic.co/mcp/elasticsearch stdio
RepoOpen Open

Verdict

Pick PostHog MCP Server (Official Remote) if you need the broadest set of tools.

Pick Elasticsearch MCP Server if you prefer the more popular, battle-tested option.

Add PostHog MCP Server (Official Remote)

Install / run
npx @posthog/wizard@latest mcp add

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

{
  "mcpServers": {
    "posthog-mcp-server-official-remote": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://mcp.posthog.com/mcp",
        "--header",
        "Authorization:${POSTHOG_AUTH_HEADER}"
      ],
      "env": {
        "POSTHOG_AUTH_HEADER": "Bearer <your-personal-api-key>"
      }
    }
  }
}

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

PostHog MCP Server (Official Remote) or Elasticsearch MCP Server — which is better?

Pick PostHog MCP Server (Official Remote) if you need the broadest set of tools. Pick Elasticsearch MCP Server if you prefer the more popular, battle-tested option.

Can I use both PostHog MCP Server (Official Remote) 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 PostHog MCP Server (Official Remote) and Elasticsearch MCP Server work with Claude, Cursor and Windsurf?

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