Databuddy Shares How It Built a Hosted Analytics MCP Server With 58 Tools and Safe Writes
twix_PS · reddit · 2026-11-27
Databuddy's founder shares how they built their hosted analytics MCP server, recently accepted into the Claude directory, the official registry, and several plugin marketplaces:
- Access: Streamable HTTP endpoint with OAuth 2.1 dynamic client registration, or an x-api-key fallback for clients that can't sign in.
- Tool design: 58 tools; tools outside the user's approved scopes are omitted from tools/list rather than failing on call. initialize and tools/list need no auth so directories and scanners can inspect them.
- Safe writes: every write (goals, funnels, annotations, short links, flags) returns a preview first and only applies with confirmed=true; elicitation-capable clients also ask the user directly.
- "Why did this number move?": getdata supports compare and sorting by delta.<metric> to rank which pages, sources, and events moved, cross-checked against errors and Web Vitals.
- Errors: JSON with codes (invalidinput, ratelimited with retryAfter, planlimit) and hints so the model can self-correct.
Install via the Claude connector directory or claude plugin marketplace add databuddy-analytics/skills (codex/gemini equivalents available). The post ends by asking how others handle write tools: preview-then-confirm, elicitation, or separate read-only/write servers.
More from coding & agent
- Dev keeps full .claude conversation logs of AI coding sessions as evidence — ryunuck · 2026-11-28
- Alpha debuts: open-source agentic mobile OS with built-in personal agent for Pixel 10 — Signalman23 · 2026-11-28
- With AI, Anyone Can Build Anything — The Real Skill Is Deciding What to Build — therealdanvega · 2026-11-28
- Coding Agent Memory Benchmarked: Devin 84.7% Beats Claude Code 76.2%, Codex 66.3% — mehdidjabri · 2026-11-28
- AWS open-sources Context Ontology Accelerator for more accurate, explainable AI agents — adnan_hashmi · 2026-11-28
- The most underrated LLM eval: did the model do what it said it did — sophiamyang · 2026-11-28