Skip to main content
logo
LiveCo-founder & lead engineering

LegalCraft — AI-generated legal docs

Privacy policies, T&Cs, and cookie policies generated by AI — jurisdiction-aware and Stripe-billed.

LegalCraft brand mark

About

LegalCraft is a SaaS that generates legal documents (privacy policies, terms & conditions, cookie policies) tailored to a business — not from templates, but with a Claude-driven generator that reasons about the customer's actual stack and jurisdiction (GDPR, CCPA, COPPA). Behind it: Supabase auth + Postgres with row-level security, Stripe Checkout and webhooks for billing, and a multi-step intake wizard that never loses your progress.

Problem

Small businesses need real, customized legal pages — not generic templates that don't reflect their stack or where their users live.

Approach

Treat document generation as a structured prompt problem. Capture the business context once, then drive Claude with a strict template + jurisdiction-aware reasoning. Wrap it in a normal SaaS — auth, billing, history, exports.

Outcome

Documents that are useful out of the box, a paid product with a real Stripe billing flow, and a codebase that's ready to scale to more document types.

What's interesting

  • AI-generated, jurisdiction-aware legal text (not template fill-in-the-blank)
  • Stripe Checkout + Customer Portal + webhook reconciliation
  • Supabase RLS — every query runs as the authenticated user
  • Persistent multi-step intake — refresh-safe
  • PDF / HTML / Markdown export of every document

Stack

Next.js 16React 19TypeScriptTailwind CSS v4shadcn/uiSupabase (Postgres + Auth + RLS)Claude APIStripe (Checkout + Webhooks)ResendVercel