Contract Clause Scanner is a free, open-source AI tool that analyzes legal contracts and highlights risky clauses before you sign. Built for freelancers, startup founders, and anyone who needs to understand what they're signing without paying $300/hour for a lawyer.
Solo founders and freelancers sign contracts every week that contain hidden risks. Non-refundable payment clauses. Auto-renewal traps. Unlimited liability. Broad indemnification. Arbitration clauses that favor one side.
A lawyer costs $300–500/hour just to read a 5-page contract. Most people sign without knowing what they agreed to.
This tool gives you a second pair of AI eyes — for free.
- AI Clause Detection — Identifies HIGH, MEDIUM, and LOW risk clauses
- Risk Score — Overall contract risk assessment (0–100)
- Negotiation Tips — Practical suggestions for each red flag
- Multi-Format — Works with PDF, DOCX, and TXT files
- 6 Languages — English, Arabic, French, Spanish, German, Turkish
- Web UI — Drag-and-drop interface
- CLI — Command-line for automation
- 100% Free — No paid tiers, no limits (uses free Groq/Gemini APIs)
# 1. Clone & install
git clone https://github.com/Mustadz0/contract-scanner.git
cd contract-scanner
pip install -r requirements.txt
# 2. Add your API keys to .env
# Get free keys at:
# Groq: https://console.groq.com/keys
# Gemini: https://aistudio.google.com/apikey
echo "GROQ_API_KEY=gsk_your_key_here" >> .env
echo "GEMINI_API_KEY=AIza_your_key_here" >> .env
# 3. Analyze a contract
python cli.py contract.pdf
python cli.py contract.docx --language ar
python cli.py contract.txt --language fr --output report.json
# 4. Launch Web UI
python web.py
# Open http://localhost:8000# Basic analysis
python cli.py contract.pdf
# Arabic analysis
python cli.py contract.docx --language ar
# Save report as JSON
python cli.py contract.txt --output report.json
# All supported languages: en, ar, fr, es, de, trpython web.pyUpload your contract (PDF, DOCX, or TXT), select the output language, and get an instant risk analysis with highlighted clauses, severity ratings, and negotiation tips.
Contract (PDF/DOCX/TXT) → Text Extraction → AI Analysis (Groq/Gemini) → Risk Report
- Upload your contract file
- AI reads every clause and compares against known risky patterns
- Report shows risk score, red flags with severity, and what to negotiate
Contract review tools for businesses start at $99–500/month. Lawyers charge $300/hour. Solo founders and freelancers shouldn't have to choose between paying rent and understanding what they sign.
مدقق بنود العقود — أداة ذكاء اصطناعي مجانية ومفتوحة المصدر لتحليل العقود القانونية واكتشاف البنود الخطيرة قبل التوقيع. صممت للمؤسسين المنفردين والمستقلين الذين يحتاجون فهم عقودهم دون دفع $300/ساعة لمحام.
المؤسسون المنفردون يوقعون عقودًا أسبوعيًا تحتوي على مخاطر خفية: دفعات غير قابلة للاسترداد، شرط تجديد تلقائي، مسؤولية غير محدودة، تحكيم إجباري.
المحامي يكلف $300–500/ساعة فقط لقراءة عقد من 5 صفحات. معظم الناس يوقعون دون معرفة ما وافقوا عليه.
هذه الأداة تعطيك عينًا ثانية من الذكاء الاصطناعي — مجانًا.
pip install -r requirements.txt
python cli.py عقد.pdf --language ar
python web.py- اكتشاف تلقائي للبنود الخطرة (HIGH/MEDIUM/LOW)
- نقاط المخاطرة (0–100) لتقييم العقد ككل
- اقتراحات تفاوضية لكل بند خطر
- دعم PDF و DOCX و TXT
- واجهة ويب بالسحب والإفلات
- واجهة أوامر للأتمتة
- مجاني تمامًا — يستخدم APIs مجانية
| اللغة | الأمر |
|---|---|
| العربية | python cli.py عقد.pdf --language ar |
| الإنجليزية | python cli.py contract.pdf --language en |
| الفرنسية | python cli.py contrat.pdf --language fr |
Analyseur de Clauses Contractuelles — Un outil IA gratuit et open-source qui analyse les contrats juridiques et signale les clauses risquées avant signature.
pip install -r requirements.txt
python cli.py contrat.pdf --language fr
python web.py- Détection des clauses à risque (HIGH/MEDIUM/LOW)
- Score de risque global (0–100)
- Conseils de négociation
- Formats supportés : PDF, DOCX, TXT
- Interface Web glisser-déposer
- 100% gratuit
Escáner de Cláusulas Contractuales — Una herramienta de IA gratuita y de código abierto que analiza contratos legales y señala cláusulas de riesgo antes de firmar.
pip install -r requirements.txt
python cli.py contrato.pdf --language es
python web.py- Detección automática de cláusulas riesgosas
- Puntuación de riesgo general (0–100)
- Consejos de negociación
- Soporte para PDF, DOCX, TXT
- 100% gratuito
Vertragsklausel-Scanner — Ein kostenloses Open-Source-KI-Tool zur Analyse von Rechtsverträgen und Erkennung riskanter Klauseln vor der Unterzeichnung.
pip install -r requirements.txt
python cli.py vertrag.pdf --language de
python web.py- Automatische Erkennung risikoreicher Klauseln
- Gesamtrisikobewertung (0–100)
- Verhandlungsvorschläge
- Unterstützt PDF, DOCX, TXT
- 100% kostenlos
Sözleşme Madde Tarayıcısı — İmzalamadan önce yasal sözleşmeleri analiz eden ve riskli maddeleri işaretleyen ücretsiz, açık kaynaklı bir AI aracı.
pip install -r requirements.txt
python cli.py sozlesme.pdf --language tr
python web.py- Riskli maddelerin otomatik tespiti
- Genel risk puanı (0–100)
- Pazarlık ipuçları
- PDF, DOCX, TXT desteği
- Tamamen ücretsiz
Support Development
TRON (TRC20): TSQt2sV6NypuXFK3mqtPCgzHeoXug6pQp4