LabscoMCP early access ↗
PostHog avatar✓ Official

writing-streamlit-apps

MCP connection required★ 88 on GitHub
part of posthog/ai-pluginby posthog

Writes the code for a small interactive web page of charts, tables and sliders built on a team's PostHog data, made to run inside PostHog's own hosted sandbox and within that sandbox's fixed limits.

WHEN TO USE

SCOPE

USE FOR

  • Build a page with headline numbers, charts and tables drawn from PostHog event data.
  • Add sliders and drop-downs so viewers can change the date range or the view.
  • Keep the app quick by remembering query results, so dragging a slider does not re-run everything.
  • Stop viewers from typing their own queries into a text box and reaching the author's data.
  • Ship small helper files and data files alongside the app's main file.

NOT FOR

  • Creating, starting or sharing the app itself (use managing-streamlit-apps).