About MCP
MCP is an MCP server published by PostHog in the Commerce category: send usage data from your web app or site to PostHog, with autocapture. Conduid read 3 tools from its source: add, echo and fail_always. It is published to npm as @posthog/mcp, a package with no command-line entry point.
The PostHog/posthog-js monorepo this package is published from has 708 stars and 599 forks, and its last commit was on 2 Dec 2026. The latest release is posthog-node@6.2.1 (30 Nov 2026): 6.2.1 Patch Changes 5846 d65dde7 Thanks @posthog. It follows @posthog/mcp@1.9.0 (30 Nov 2026), and the 5 most recent releases go back to @posthog/core@1.69.3 (30 Nov 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include analytics, npm and posthog.
Install
npm install @posthog/mcpgit clone https://github.com/PostHog/posthog-jsTools (3)
addAdds two numbers. A second tool — proves session continuity across tools.| Parameter | Type | Description |
|---|---|---|
| a * | number | |
| b * | number |
echoEchoes the text back. The happy path.| Parameter | Type | Description |
|---|---|---|
| text * | string | Text to echo back |
fail_alwaysAlways throws. Exercises error capture and $exception.Security checks
From the PostHog/posthog-js monorepo, not this package alone.
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 88 words.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml and 5 more.
2 checks have not been run yet.
Releases
From the PostHog/posthog-js monorepo.
README
The repository's README runs to about 88 words, fetched 2 days ago. The original in the repository is authoritative.
Read full README