PostHog is Good to agents.
Discry independently scored how well an AI agent can discover and understand the PostHog API from what’s public — not whether it’s usable. Below: every signal we checked, what’s costing the score, and what to change.
SCORED UNDER RUBRIC 1.2 · A full re-launch under Discry Score 2.5 — a new behavioral instrument, not comparable to these scores — is in progress.
Discovery
45% of score · 71/100Comprehension
55% of score · 84/100What we found
- PostHog's llms.txt includes an exceptional 'Instructions for AI Coding Assistants' section with specific guidance on installation (wizard), products to suggest, and API usage patterns — a model for agent-oriented documentation
- The llms.txt is 272KB which is too large for efficient single-pass agent consumption, despite the quality of its content
- PostHog has an official MCP server (mcp.posthog.com) and Claude Code plugin — best-in-class agent tooling for analytics
- Docs support .md URL appending (any doc URL + .md returns markdown) — excellent for programmatic access
- No .well-known/mcp.json despite having official MCP server; OpenAPI schema accessible at us.posthog.com/api/schema/
What to change
Prioritized by impact on discoverability. You (or your docs platform) deploy these — Discry never touches your API.
- 01Create a focused llms.txt under 50KB that covers only the API endpoints and core integration patterns, moving the full index to llms-full.txt
- 02Add .well-known/mcp.json at posthog.com pointing to the official MCP server
- 03Add AGENTS.md to the PostHog/posthog GitHub repo with the 'Instructions for AI' content from llms.txt
- 04Add error recovery guidance for common API errors (invalid API key types, rate limits, query timeouts)
Execution coverage · INFORMATIONAL, UNSCORED
Whether an agent can actually complete a call and recover from errors is the deeper Audit layer — documented here, but not part of the Discry Score.
Personal API key auth for API access (distinct from project API key for event capture). JSON error responses. Rate limits documented. Cursor-based pagination. US and EU cloud endpoints documented (us.i.posthog.com / eu.i.posthog.com).