AI Contract Decoder for Non-Lawyers
An AI contract decoder that turns dense legal documents into plain-English summaries with flagged risks, unusual clauses, and industry comparisons—for solo founders and small businesses who can't justify $500/hour attorney bills.
A solo founder signs a SaaS reseller agreement on Monday, an NDA with a prospect on Tuesday, and an offer letter for their first hire on Wednesday. None of those documents got a real legal review. The math does not work: the cheapest small-business attorneys quote $250–$500 per hour, with $1,500–$3,000 minimums for anything resembling a contract negotiation. So the founder skims, signs, and hopes nothing in the indemnity clause comes back to bite them. Multiply that across the 33 million U.S. small businesses and you have a structural risk most of the legal industry has decided is not worth its time.
Built for Solo Founders, Non-Technical, Side Hustlers, Small Business Owners.
Legal technology is a $33.25B market in 2025, projected to reach $47.61B by 2029 at a 9.4% CAGR—outpacing the broader legal services category and creating room for net-new categories like consumer-grade contract analysis (Globe Newswire / Business Research Company forecasts).
Suggested stack: Next.js 14 + Vercel, Anthropic Claude 3.5 Sonnet (+ GPT-4o fallback), Supabase (Auth + Storage + Postgres), pdf-parse + mammoth + Tesseract.js, Stripe Billing, Resend + Inngest. Weekend scope: about 10 hours.
The Problem
A solo founder signs a SaaS reseller agreement on Monday, an NDA with a prospect on Tuesday, and an offer letter for their first hire on Wednesday. None of those documents got a…
The Solution
A web app where the user uploads any contract—PDF, DOCX, image of a signed page—and gets back a plain-English summary, a risk-flag list, an “unusual clauses” callout, and a…
Market Research
Legal technology is a $33.25B market in 2025, projected to reach $47.61B by 2029 at a 9.4% CAGR—outpacing the broader legal services category and creating room for net-new…
Competitive Landscape
LexisNexis (RELX) — Lexis+ AI and Lexis Protégé deliver enterprise-grade contract review and legal research. Trusted brand, deep data, but built for law firms with seat-based…
Business Model
Free ($0) — 1 contract/month, basic risk flags, watermark on export—the lead-gen channel
Recommended Tech Stack
Next.js 14 + Vercel — App Router for the analyzer workspace, server actions for upload, streaming UI for clause-by-clause output.
AI Prompts to Build This
Copy these build prompts into Claude, Cursor, or your AI coding tool. Create a free account to unlock the full research behind them.
1. Project Setup
Build the weekend MVP of "ContractDecoder": upload a contract as a PDF and get a plain-English summary with the risky clauses quoted from the document. It explains; it does not give legal advice. Stack: Next.js (App Router), TypeScript, Tailwind, Supabase (Postgres, Row Level Security, Storage, Auth with email magic link), the Anthropic API for the analysis, pdf-parse for text PDFs. The analysis runs in a route handler. Deploy on Vercel. Tables (Row Level Security on, each user reads only their own rows): - uploads(id, user_id, file_path, doc_type, page_count, created_at) - analyses(id, upload_id, status, summary, confidence, model, prompt_version, created_at) - clauses(id, analysis_id, ordinal, excerpt, severity, why_it_matters, suggested_question, unusual boolean) Screens: /login, /upload, /analysis/[id] (summary on top, clause cards under it, a delete button). Env vars (names only): NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, SUPABASE_SERVICE_ROLE_KEY (server only), ANTHROPIC_API_KEY. Do not build: billing, plans or overages, Word files, image or scanned pages, a baseline comparison, a job queue, email delivery, team workspaces. Done when: npm run dev starts, you can sign in, and the three tables exist with Row Level Security on.
2. Core Feature
Build the one feature that proves ContractDecoder: a summary and risk flags where every flag quotes the real text. 1. On upload, store the PDF in a private Storage bucket and extract the text with pdf-parse. If a PDF has no text layer, say so and stop. 2. Ask the Anthropic API to classify the doc_type (nda, services, employment, lease, other) from the first 2,000 characters. 3. Send the full text with a strict JSON schema { summary: string (3 short paragraphs, a 9th-grade reading level), confidence: number from 0 to 1, clauses: [{ excerpt, severity: "info" | "caution" | "red", why_it_matters, suggested_question, unusual: boolean }] }. Save prompt_version with the result. 4. Check every excerpt in code: it must appear word for word in the extracted text. Drop any clause that does not, and lower the shown confidence if more than a third were dropped. 5. Render the summary first, then clause cards sorted by severity. Each card shows the excerpt, why it matters and a question to ask the other side. The severity badge carries a word, so color is not the only signal. 6. Put "This is a summary, not legal advice" next to every analysis. A Delete button removes the analysis, the upload row and the stored file. Rules: never invent a clause. Never tell the user to sign or not to sign. Empty state: with no uploads, show the drop zone and say that only text PDFs work today. Done when: a sample NDA PDF returns a summary and at least three clause cards whose excerpts all appear in the text, the disclaimer shows on the analysis page, and Delete removes the stored file.3. Landing Page
Build a one-page landing site for ContractDecoder, a contract reader for people without a lawyer on call. Hero: "Read every contract you sign. Without paying $500 an hour for it." Sub: "Upload a PDF. Get a plain-English summary and the clauses worth asking about, each one quoted from your own document." One button: Join the waitlist. Sections: a static sample analysis of a made-up NDA (no live demo, no sign-up needed), the problem (founders skim contracts because lawyers cost too much), how it works in four steps (upload, read, flag, ask), and an FAQ on accuracy, "is this legal advice?" (no, and every result says so) and data privacy (you can delete a file and its analysis). Waitlist: store the email in a waitlist table in Supabase. No other service. Style: Geist, a white background, black accents, generous whitespace. Done when: the page renders on a phone and a submitted email appears in the waitlist table.
4. Branding Package
Use a design or image tool for this one. A coding agent cannot draw a logo. Brand for ContractDecoder: a wordmark and a small icon that suggest decoded text, such as a line of text with one highlighted span. Colors: near-black, one warm amber, two neutrals. Type: Geist for the interface, IBM Plex Mono for clause excerpts. Deliverables: wordmark, icon, a six-icon set (upload, flag, clause, ask, export, history), three severity badges (info, caution, red) that differ by shape as well as color, and a one-page brand sheet with three voice rules: explain like a smart friend, never invent a clause, always show confidence. Done when: each deliverable is saved in one folder and the severity badges are distinguishable without color.