Productmetrics

io.github.CloudCorpRecordsPublished by GitHub account CloudCorpRecordsv0.1.0Updated Nov 3, 2026

PostHog projects, insights, flags and experiments as MCP tools.

VerifiedSTDIODesktop only

Overview

Productmetrics's local MCP server; no sign-in required; STDIO.

No AI overview yet: these facts come from the registry entry and the server itself.

Installation

In SourceWeft

  1. Open Productmetrics in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

productmetrics

PostHog product analytics as MCP tools, talking to the PostHog REST API. productmetrics is a clean-room rebuild of the core surface of the PostHog MCP server, under a new name: fresh code, no copied branding. The original is PostHog's hosted remote MCP (OAuth); hosted OAuth is NOT reproduced — this rebuild is a personal-API-key REST client for the same API.

Tools (core subset, 12)

list_projects, get_project, list_insights, get_insight, query_insight, run_hogql_query, list_feature_flags, get_feature_flag, create_feature_flag, update_feature_flag, list_experiments, get_experiment.

Not in this subset: events and persons, actions and cohorts, annotations, dashboards, data warehouse, error tracking, surveys, session recordings, subscriptions, and organization admin tools.

Setup

Create a personal API key in PostHog and set it:

bash
export POSTHOG_API_KEY=phx_...export POSTHOG_PROJECT_ID=12345   # optional default project

Optionally override the host with POSTHOG_HOST (for example the EU host) or the full base with POSTHOG_API_BASE_URL (default https://app.posthog.com/api). Without the key, every tool call fails with an error naming the missing variable. Pass project_id per call or rely on the POSTHOG_PROJECT_ID fallback.

CLI

bash
npx @reneturcios/productmetrics list_projects '{}'npx @reneturcios/productmetrics mcp        # stdio MCP server

Each tool name is a subcommand taking one JSON object argument.

MCP client config

json
{  "mcpServers": {    "productmetrics": {      "command": "npx",      "args": ["-y", "@reneturcios/productmetrics", "mcp"],      "env": { "POSTHOG_API_KEY": "phx_..." }    }  }}

Docker

bash
docker run -i -e POSTHOG_API_KEY ghcr.io/cloudcorprecords/productmetrics

Development

bash
npm installnpm run buildnpm test

License

MIT

Source: README.md at commit bd0be8f

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.0LatestNov 3, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts