Skip to content

abhimishra01/contractgrade

Repository files navigation

ContractGrade

Your contract. Graded. In seconds.

[Demo video here]

What it does

Upload any legal contract and get an instant AI-powered breakdown in plain English. Risk flags by severity, clause-by-clause analysis, and a clear Safe / Review / High Risk verdict. No legal background required.

Supported AI Providers

Provider Model Est. Cost Per Analysis
Anthropic Claude ⭐ claude-haiku-4-5-20251001 ~$0.003
OpenAI gpt-4o-mini ~$0.001
Google Gemini gemini-1.5-flash Free tier

How to use

  1. Choose your AI provider
  2. Enter your API key (stored only in your browser)
  3. Upload a contract PDF or paste the text
  4. Click Analyze and get your grade instantly

Run Locally

git clone https://github.com/abhimishra01/contractgrade
cd contractgrade
npm install
cp .env.example .env
npm run dev

Open http://localhost:5173/contractgrade/

Deploy to GitHub Pages

npm run deploy

Tech Stack

React + Vite + Tailwind CSS + pdfjs-dist Anthropic Claude / OpenAI / Google Gemini

Built by

Abhishek Mishra — github.com/abhimishra01

About

Upload any legal contract and get an instant AI-powered grade — risk flags by severity, clause-by-clause breakdown, and a clear Safe / Review / High Risk verdict. Supports Claude, GPT-4o mini, and Gemini. No backend.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors