Local legal-writing practice for law students

Structured IRREAC, instant feedback, MBE drills - all on your machine.

Runs on any laptop Free forever 12 subject areas Instant feedback

Why this exists

Practice without the vacuum

Most students write alone, wait days for marks, or pay for cloud AI that mishandles rule structure.

The slow path

  • Essays with no structured feedback
  • $200+/mo bar-prep AI add-ons
  • Days waiting for a graded practice essay
  • Generic AI merges Rule Statement and Rule Exploration

What IRAC Coach does

  • Model IRREAC with citations and element analysis
  • Grades your draft section by section
  • Issue spotting and MBE with full explanations
  • Runs locally - facts and outlines stay on your machine

Modes

Generate, practice, then go deeper

Pick Contracts, Torts, ConLaw, Crim, Property, Evidence, and more - then choose the drill you need.

Generate

The engine writes so you can study the structure

Paste a fact pattern. Get a full IRREAC (or IRAC / CRAC / CREAC) with citations and study tips.

IRREAC analysis
Issue, Rule Statement, Rule Exploration, Application, Conclusion - built for exam form.
Hypo generator
Fresh MEE-style fact patterns scoped to any topic when you need more material.

Practice

You write; the engine grades every line

Generate a hypo or bring your own. Compare your work against a model answer with concrete gaps.

Practice and feedback
Section scores, strengths, gaps, overall grade, and one key insight.
Issue spotting
List issues you see. Coverage score: caught, missed, false alarms.
MBE practice
One question on demand. Every choice explained, not only the correct letter.

Outlines stay private

Local install can use built-in AI outlines or your own commercial notes under default_outlines/. They never leave your machine by default.

The public trial and MCP tools default to no commercial outline injection. Bring your outlines only on the full local product when you want higher precision.

Method

IRREAC - the split that earns points

Standard IRAC crams the whole rule into one step. IRREAC separates black-letter statement from court interpretation.

I

Issue

Frame the precise legal question the court must answer.

Whether [X] given [key facts].

R1

Rule Statement

State the applicable rule with a specific citation - Restatement, UCC, or landmark case.

Citation is mandatory. "The law requires..." earns no credit.

R2

Rule Exploration Grade booster

How courts interpret the rule: key cases, majority vs minority, circuit splits.

This is what separates a B answer from an A.

A

Application

Break the rule into elements. Analyze each against the facts. Include counter-arguments.

About half of exam score often lives here.

C

Conclusion

Answer the issue directly. Optionally note confidence (high / moderate / low).

Never introduce new analysis here.

Install

Clone, run, practice

Python 3.10+ and Ollama. Setup prepares the environment; launch opens the local trial at localhost:8787.

git clone https://codeberg.org/russkysong/IRAC-coach.git
cd IRAC-coach
bash setup.sh
source .venv/bin/activate
python launch.py

Then open http://localhost:8787. Later launches skip setup and start straight away.

Agents

MCP connector (optional)

Connect IRAC Coach to Claude Code, Cursor, or any Codex-style agent on your machine.

python mcp_server.py

Privacy note

In MCP mode the host agent can see any facts, answers, and generated responses you send to a tool. Commercial outlines are not injected by default.