Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Open Justice Stack

A curated collection of open source tools, frameworks, models, datasets, and platforms for building the justice system of the future. From legal AI and document automation to case law databases and compliance.

Table of Contents


Legal AI Platforms

Comprehensive platforms that bring AI-powered capabilities to legal workflows.

  • mike — OSS Legal AI Platform. Production-ready tools for legal document processing, analysis, and generation. (4,017★)
  • Claude for Legal — A suite of plugins for legal workflows — draft review, contract analysis, compliance checks, and legal research. (8,903★)
  • Steno AI — Privacy-first AI notepad and notetaker for confidential conversations. Designed for legal, government, and healthcare. (1,199★)
  • AI Legal Claude — AI Legal Assistant for Claude Code. Contract review, risk analysis, NDA generation, compliance auditing, negotiation strategy. (1,591★)
  • Claude Code Local — Run Claude Code 100% on-device with local AI on Apple Silicon. MLX-native server — airgap-ready for NDA/legal/healthcare workflows. (3,003★)
  • Claude Legal Skill — AI-powered contract review with CUAD risk detection, market benchmarks, and lawyer-ready redlines. Works with Claude Code, Codex, Cursor. (384★)
  • AI Legal Compliance Assistant — AI-powered compliance assistant for pricing laws — extracts, analyzes, and explains state-level regulations using RAG and knowledge-graph reasoning. (330★)

Large Language Models for Law

Specialized large language models pre-trained or fine-tuned on legal text and judicial data.

  • ChatLaw — A powerful LLM tailored for Chinese legal domain. Supports legal reasoning, consultation, and document analysis. (7,561★)
  • LaWGPT — Chinese-Llama tuned with Chinese legal knowledge. Fine-tuned for legal tasks including judgment prediction and legal QA. (6,049★)
  • DISC-LawLLM — An intelligent legal system powered by LLMs to provide a wide range of legal services. (944★)
  • Fuzi Mingcha — Chinese judicial LLM developed by Shandong University, Inspur Cloud, and China University of Political Science and Law. Supports statute retrieval, case analysis, and syllogistic reasoning. (387★)
  • LawBench — An open benchmark for evaluating legal knowledge of large language models across multiple legal tasks. (443★)

Legal NLP & Text Analytics

Natural language processing tools, models, and libraries designed specifically for legal text.

  • LexNLP — The most widely adopted open source NLP library for legal text. Extracts concepts, clauses, obligations, and entities from legal documents. (791★)
  • Blackstone — A spaCy pipeline and model for NLP on unstructured legal text. Includes pretrained models for legal entity recognition. (693★)
  • Legal Text Analytics — A curated list of selected resources, methods, and tools dedicated to Legal Text Analytics. (727★)
  • LexGLUE — A benchmark dataset for Legal Language Understanding in English. Includes multiple legal NLU tasks. (266★)
  • Legal-Entity-Recognition — A dataset of German legal documents for named entity recognition, with annotations for legal entities. (179★)
  • Legal ML Datasets — A collection of datasets and tasks for machine learning in law. (441★)

Contract Review & Analysis

Tools and frameworks for automated contract review, clause detection, risk assessment, and redlining.

  • CUAD — Contract Understanding Atticus Dataset. A benchmark and models for contract clause detection across 41 categories. The standard for contract AI evaluation.
  • Claude Legal Skill — AI-powered contract review with CUAD risk detection, market benchmarks, and lawyer-ready redlines. (384★)
  • AI Legal Compliance Assistant — RAG + knowledge-graph based contract analysis for compliance with regulatory requirements. (330★)

Document Assembly & Automation

Automate the creation of legal documents from structured data through guided interviews and templates.

  • Docassemble — A free, open-source expert system for guided interviews and document assembly. Based on Python, YAML, and Markdown. The gold standard for legal document automation. (972★)
  • Docassemble AssemblyLine — Quickly go from a paper court form to a runnable, guided, step-by-step web application powered by Docassemble. (65★)
  • Graphdoc — Drag-and-drop editor for building Docassemble interviews visually. (51★)

Case Law & Judgment Data

Tools for accessing, parsing, enriching, and searching case law and court judgments.

  • ds-caselaw-data-enrichment-service — Judgment citation annotations for the National Archives Find Case Law service (UK). (24★)
  • tw-legal-rag — Open-source CLI for semantic Taiwan legal judgment retrieval. Package judgments for AI consumption. (229★)
  • Judgment-Finder-AI — Local-first document RAG desktop app. Find answers in legal judgments with AI-powered search and citations. (16★)

Compliance & Regtech

Regulatory compliance tools, governance frameworks, and legal operations automation.

  • OpenArchiver — An open-source platform for legally compliant email archiving. (2,149★)
  • Open Developer Platform — Delivering open source software development best practices while enforcing security and legal compliance for the financial services industry. (55★)

Legal Data & Benchmarks

Curated datasets, benchmarks, and evaluation frameworks for legal AI and NLP.

  • awesome-legal-data — A collection of datasets and other resources for legal text processing. (281★)
  • legal-ml-datasets — A collection of datasets and tasks for legal machine learning. (441★)
  • LexGLUE — A benchmark dataset for Legal Language Understanding in English. (266★)
  • LawBench — Benchmarking Legal Knowledge of Large Language Models. (443★)
  • CaseHOLD — Case Holdings On Legal Decisions: A dataset for legal citation prediction and legal reasoning.

India Resources

Open source tools and datasets specific to the Indian legal system.

  • OpenNyAI — An efficient NLP Pipeline for Indian Legal documents. Built for extracting entities, citations, and structure from Indian court judgments. (98★)
  • Indian Kanoon Crawler — A Python + Selenium crawler that automates download of Supreme Court case PDFs from Indian Kanoon. (5★)
  • IndianKanoonScraper — Scraper for legal documents from indiankanoon.org. (3★)
  • IKAPI — Tools to access the Indian Kanoon API programmatically. (3★)

Awesome Lists

Curated collections of legal tech and legal AI resources.


Contributing

This list is community-driven and always growing.

To add a project: Open a pull request with the project name, link, description, and category. All open source legal tech projects are welcome regardless of language, jurisdiction, or maturity.

Guidelines:

  • The project must be open source (visible codebase on GitHub or similar).
  • Include a brief description of what it does.
  • Mention star count and jurisdiction/language if relevant.
  • Keep descriptions factual — no marketing language.

Maintained by Abhinav Bhatnagar — software engineer, advocate, and founder building at the intersection of law and technology.

About

A curated collection of open source tools, frameworks, models, datasets, and platforms for building the justice system of the future.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors