About this project
Poolstatis is a lightweight PostHog-style analytics system built for coding agents operating over the Model Context Protocol (MCP). While humans receive answer-first analysis screens with graphs, tables, session evidence, and review controls, the platform is not a general-purpose dashboard builder. Every metric carries a required `purpose` and every funnel a `goal`, enabling instrumentation to be inspected, maintained, and queried programmatically by agents.
Key capabilities include:
- HTTP ingest API for product events
- Semantic metric registry with purpose-driven design
- Funnels, entities, and a query DSL supporting trend, retention, lifecycle, and stickiness analyses
- Browser and web session analytics with click autocapture, interaction maps, and bounded session replay (rrweb-based, consent-gated, with masked DOM/CSS)
- Deterministic feature flags and Bayesian A/B experiment results
- Repository-owned measurement contracts with immutable release provenance and evidence snapshots
- Approval-gated actions and project-scoped decision memory
- MCP server with typed tools and resources
- Human admin SPA covering projects, metric registry, data health, releases, webhooks, and Setup & MCP presets
The system supports self-hosting via Docker Compose and offers hosted setup with scoped tokens (`pk_` for ingest, `sk_` for project-level access, `pt_` for organization-wide MCP access). It integrates with Claude Code, Codex, Cursor, Windsurf, VS Code/Copilot, Zed, and other MCP-compatible hosts. Instrumentation skills are available for agent workflows.
Notable limitations include no general dashboard builder, no raw SQL querying, no full error tracking, and session replay that excludes screen video, gaze, audio, canvas pixels, and cross-origin iframe contents.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.