MCP server · Org-owned · Audited from source
PostHog MCP server
by posthog/mcpMIT licenceAudited 7 Oct 2026 · source 1aeb7559b341
Is it safe? No — BLOCK, grade D (69/100). It exposes 3 tools: 3 read, 0 write and 0 destructive. The audit recorded 13 findings (0 critical, 2 high, 0 medium, 11 low). Maintainer's description: Official PostHog MCP Server 🦔
Cite
Cite this page
ModelsAtlas. “PostHog MCP server (posthog/mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/posthog/posthog-1
Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Code injection at typescript/worker-configuration.d.ts:2222. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
13 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared2 observations
- NetworkDeclared5 observations
- ShellDeclared3 observations
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
Findings (13)
Sorted by severity
HIGHCode injectioncode.eval_exec · typescript/worker-configuration.d.ts:2222
exec(input?: (string | URLPatternInit), baseURL?: string): URLPatternResult | null;
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · typescript/worker-configuration.d.ts:4657
exec(query: string): Promise<D1ExecResult>;
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
LOWFilesystem / pathfs.traversal · typescript/scripts/generate-tool-schema.ts:10
const outputPath = path.join(__dirname, "../../schema/tool-inputs.json");
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · typescript/src/tools/toolDefinitions.ts:2
import toolDefinitionsJson from "../../../schema/tool-definitions.json";
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.decode_call · typescript/worker-configuration.d.ts:207
atob(data: string): string;
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.decode_call · typescript/worker-configuration.d.ts:293
declare function atob(data: string): string;
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · examples/ai-sdk/package.json
@ai-sdk/openai, @posthog/agent-toolkit, ai, dotenv, zod, @types/node, tsx, typescript
- Why
- 8 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · examples/langchain-js/package.json
@langchain/core, @langchain/openai, @posthog/agent-toolkit, dotenv, langchain, zod, @types/node, tsx
- Why
- 9 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · package.json
husky, tsx
- Why
- 2 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · typescript/package.json
@modelcontextprotocol/sdk, agents, ai, posthog-node, uuid, zod, @langchain/core, @langchain/openai
- Why
- 21 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
3 declared in source · 0 destructive
| Tool | What it does | Risk |
|---|---|---|
button_click | Button click rate | read |
engagement | User engagement ratio | read |
purchase | Average revenue | read |
Safer alternatives
All marketing & analytics servers →talknerdytome-labs/facebook-ads-library-mcp
MCP Server for Facebook ADs Library - Get instant answers from FB's ad library
mcpcat/mcpcat-typescript-sdk
AgentCat is an analytics platform for MCP server owners 🐱.
shinzo-labs/shinzo-ts
TypeScript SDK for MCP server observability, built on OpenTelemetry. Gain insight into agent usage patterns, contextualize tool calls, and analyze server performance across platforms. Integrate with any OpenTelemetry ingest service including the Shinzo platform.
Audit history
- ✕BLOCK D 69 / 100
First audit ·
1aeb7559b341
README badge
Badges show the current verdict, BLOCK included
A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.
Questions about PostHog MCP server
What is the PostHog MCP server?
What tools does PostHog expose?
Is PostHog safe to connect to an agent?
What credentials does PostHog need?
How does PostHog run?
How current is this page?
I already installed PostHog. What should I do?
Can the verdict change?
Sources
- posthog/mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 1aeb7559b341Observed · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the PostHog MCP server?
- What tools does PostHog expose?
- Is PostHog safe to connect to an agent?