Skip to main content

Dot Plot MCP

See individual users, not aggregate charts.

English | 한국어

report

DAU/MAU charts trend "up and to the right" as long as new users arrive — even when nobody sticks. This MCP server implements YC's Dot Plot methodology (David Lieb): until you have hundreds of users, the most informative dashboard is one row per user, one cell per day.

Design principle: code computes the numbers, AI only interprets them. Statistics never come from an LLM, so they are never wrong.

What it does

1. Tracking audit   compare events in your code vs events in your data → find broken/missing tracking
2. Dot plot         every user's activity as dots — churn, weekend-only, core fans at a glance
3. Classification   used-once / weekend-only / almost-daily, automatically
4. Aha moments      scan every action for "what turns users into regulars"
5. Report           hand-drawn style HTML + plain-language insights → share as a link
6. Benchmark        (opt-in) compare your metrics with teams at your industry & stage

30-second demo

demo

Quick start

Requirements: uv, and a 3-column CSV: user_id, date, event.

One command — no clone, no setup:

claude mcp add dotplot -- uvx --from git+https://github.com/brownglasses/dotplot-mcp dotplot-mcp

No data yet? Clone and try the sample:

uv run sample_data.py   # generates events.csv (40 fake users)
uv run demo.py          # watch the whole pipeline run

Then ask Claude:

"Analyze events.csv and find my aha moment"

Exporting from your own DB is one query:

SELECT user_id, created_at::date AS date, 'purchase' AS event FROM orders;

Tools

Tool What it does
describe_events Understand the data shape (always call first)
dot_plot Text dot plot (◎ signup day, ● active day, custom marks)
classify_users Automatic behavioral pattern classification
find_aha_moments Scan all events for "regular-converting" actions (before/after behavior change)
onboarding_funnel Signup → first value → return → still active: where users leak
retention_curve Weekly retention — the number investors always ask
load_from_db Pull events straight from Postgres/Supabase (no CSV export step)
history_compare "Since last report" deltas — snapshots auto-saved locally on every report
audit_tracking Compare events in code vs data (find tracking gaps)
generate_report Hand-drawn style HTML report + rule-based insights
publish_report Host the report at a random URL, get a share link (Vercel)
submit_benchmark Submit aggregates to the anonymous benchmark (explicit consent required)
compare_benchmark Compare your metrics with percentiles of similar teams

Languages

Reports work in any language. English, 한국어, and 日本語 are built in; for every other language the agent translates the report strings on the fly (get_report_strings → translate → custom_strings), while the code validates that number placeholders survive translation — so statistics stay exact. Want your language built in? It's one dictionary in i18n.py. PRs welcome.

See the same report in English · 한국어 · 日本語.

Anonymous benchmark — what gets sent

Opt-in only. Nothing is ever sent without explicit consent.

If you consent, these five aggregates are sent — and this is everything:

{
  "users_count": 40,
  "churned_rate": 0.30,
  "weekend_rate": 0.175,
  "regular_rate": 0.275,
  "aha_lift": 0.82
}

Never sent: user IDs, event logs, dates, your service's name, IP-based identifiers.

The backend is INSERT-only (row-level security) — submitted data cannot be read back with the public key, and comparisons go through a function that returns percentile statistics only. Verify yourself: benchmark.py (~60 lines).

Architecture

analysis.py    all computation — pure Python, knows nothing about MCP (the brain)
server.py      thin shell exposing computations as MCP tools
report.py      HTML report rendering + rule-based insight sentences
benchmark.py   anonymous benchmark client
i18n.py        every user-facing sentence, per language
harness.py     run the whole pipeline end-to-end without an agent
sample_data.py sample data with planted patterns (for verifying the tool)
hosting/       Vercel project template for report hosting

Why it's built this way

  • LLMs don't compute — same data, same numbers, every time
  • Small samples withhold judgment — groups under 5 users are excluded from aha candidates
  • Correlation ≠ causation — every insight ships with a "verify with an experiment" warning
  • Vanity metrics blocked — pick open_app as your value event and it tells you to pick again

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dotplot_mcp-0.1.0.tar.gz (26.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dotplot_mcp-0.1.0-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

Details for the file dotplot_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: dotplot_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for dotplot_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5e630bd7e1cd8b95f7f3c7b81df81c81f2574aee5ce08cf016e4855ee618e773
MD5 a39102e010e4f2fa7f7075836d6a0b7f
BLAKE2b-256 a2f2ebfc77392cbccfae7381784a9d967c0bf805ce295736d1f9c0b43550e1b0

See more details on using hashes here.

File details

Details for the file dotplot_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dotplot_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for dotplot_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d873a50b203b523b6ccfe4fe50fa980c60eccc61da3bef58ff85a532a5c60fe
MD5 c33b5953550a661ec0106c7a1ea43183
BLAKE2b-256 8923a271b19a74f18ca5a3a2331d7f0ac5a4fcacbb492137c6a595eef5b5ce00

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page