About this project

OpenPanel is an open-source web and product analytics platform that the project describes as a Mixpanel alternative, combining product-analytics depth with the simplicity of lightweight web analytics tools. It can be used as a hosted service or self-hosted, giving operators control over their data and infrastructure. **Documented feature set** - Advanced analytics: funnels, cohorts, user profiles and session history - Session replay: record and replay user sessions, with privacy controls described as built in - Real-time dashboards with live data updates and interactive charts - A/B testing with variant breakdowns - Event- and funnel-based notifications - Privacy-oriented tracking: cookieless by default and described as GDPR compliant - Custom dashboards and chart creation for data visualization - Multi-platform collection: web, mobile (Swift/Kotlin/React Native) and server-side SDKs, plus API access - An MCP server exposing 38 tools so MCP clients such as Claude or Cursor can query user data without a local install - Revenue tracking for purchases, subscriptions and LTV alongside product events - Integrations, including Google Search Console, to enrich collected data The README also includes a comparison table contrasting OpenPanel with Mixpanel, GA4 and Plausible across criteria such as open-source licensing, self-hosting, cookieless tracking, real-time dashboards, funnels, user profiles, session replay, notifications, SDK coverage and pricing transparency. These statements are the project's own presentation rather than independent measurements. **Technology stack** The dashboard is built with Next.js, and the event ingestion API with Fastify. Postgres stores basic information, while ClickHouse stores events. Redis handles caching, pub/sub and queues, with BullMQ and GroupMQ for queue processing. Other named components include Resend (email), Arctic (OAuth), Oslo (auth), tRPC (API layer), Tailwind (styling) and shadcn (UI components). **Self-hosting and development** Self-hosting is supported and the README points to a dedicated self-hosting guide in the documentation site. For local development, prerequisites are Docker, Docker Compose, Node and pnpm. The documented start sequence is: install dependencies with `pnpm install`, copy `.env.example` to `.env`, set `API_URL=http://localhost:3333` in `apps/start/.env`, bring up containers with `pnpm dock:up`, run `pnpm codegen`, run `pnpm migrate:deploy` once to set up the database, then `pnpm dev`. After starting, the dashboard is reachable at `https://localhost:3000`, the API at `https://api.localhost:3333`, and a Bullboard queue interface at `http://localhost:9999`. Helper commands `pnpm dock:ch` and `pnpm dock:redis` open ClickHouse and Redis terminals respectively. The project links to a website, documentation, a hosted dashboard sign-in, a Discord community and social accounts, and encourages users to star the repository.