Skip to content
MCP server
Registry

productmetrics MCP Server

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

productmetrics scores 63 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 58 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by cloudcorprecordsMITTypeScript0 stars
Trust score
63Good
Trust score 63 of 100, Good

Good trust

63 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 63 comes from

22 + 20 + 0 + 10 + 4 + 7 = 63. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "cloudcorprecords-productmetrics": {      "command": "npx",      "args": [        "-y",        "@reneturcios/productmetrics@0.1.0"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

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:

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

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

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

Docker

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

Development

npm install
npm run build
npm test

License

MIT

Frequently asked questions

What is productmetrics MCP Server?

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

How do I install productmetrics MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. productmetrics MCP Server runs locally from the npm package @reneturcios/productmetrics with the command npx -y @reneturcios/productmetrics@0.1.0.

Is productmetrics MCP Server free and open source?

Yes. productmetrics MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does productmetrics MCP Server support remote (HTTP) connections?

No remote endpoint is listed for productmetrics MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is productmetrics MCP Server's trust score calculated?

productmetrics MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server