# Austrian Legal Claude

> Open-source Austrian legal AI skill for Claude Code — 34 skills, 14 OGH test cases, RIS integration

- **Type:** MCP server
- **Install:** `agentstack add mcp-momarcode1-austrian-legal-claude`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [MoMarcode1](https://agentstack.voostack.com/s/momarcode1)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [MoMarcode1](https://github.com/MoMarcode1)
- **Source:** https://github.com/MoMarcode1/austrian-legal-claude

## Install

```sh
agentstack add mcp-momarcode1-austrian-legal-claude
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

Austrian Legal Claude
  
    Open-Source KI-Rechtsassistent fuer oesterreichisches Recht
    Open-source AI legal assistant for Austrian law
  
  
    Installation |
    Commands |
    Legal Areas |
    Testing |
    Contributing
  

---

**34 specialized skills** covering every major area of Austrian law — from contracts to court, from tenancy disputes to tax audits, from asylum proceedings to personal insolvency.

Tested against **14 real and simulated OGH (Supreme Court) cases** with a **93.6% accuracy score**.

> **Keine Rechtsberatung / Not legal advice.** This tool provides preliminary legal analysis. It does not replace consultation with a licensed Austrian attorney (Rechtsanwalt). See [Disclaimer](#disclaimer).

---

## Why This Exists

Legal help in Austria is expensive. A first consultation costs EUR 150-300. A contract review costs EUR 500-2,000. Most people sign contracts they don't understand, miss limitation periods, and enter disputes without knowing their rights.

**Austrian Legal Claude changes that.** It gives everyone access to structured Austrian legal analysis — instantly, for free, in German or English.

---

## Installation

### Prerequisites

- [Claude Code](https://docs.anthropic.com/en/docs/claude-code) (CLI, Desktop, or IDE extension)
- Python 3.8+ (only needed for PDF report generation)

### One-Line Install

```bash
git clone https://github.com/MoMarcode1/austrian-legal-claude.git
cd austrian-legal-claude
./install.sh
```

### Manual Install

If you prefer to install manually or are on Windows:

```bash
# 1. Clone the repo
git clone https://github.com/MoMarcode1/austrian-legal-claude.git
cd austrian-legal-claude

# 2. Copy the orchestrator
mkdir -p ~/.claude/skills/austrian-legal
cp legal/SKILL.md ~/.claude/skills/austrian-legal/SKILL.md

# 3. Copy all skills
for dir in skills/*/; do
    name=$(basename "$dir")
    mkdir -p ~/.claude/skills/$name
    cp "$dir/SKILL.md" ~/.claude/skills/$name/SKILL.md
done

# 4. Copy agents and references
mkdir -p ~/.claude/skills/austrian-legal/agents
cp agents/*.md ~/.claude/skills/austrian-legal/agents/
mkdir -p ~/.claude/skills/austrian-legal/references
cp references/*.md ~/.claude/skills/austrian-legal/references/

# 5. Copy scripts
mkdir -p ~/.claude/skills/austrian-legal/scripts
cp scripts/*.py ~/.claude/skills/austrian-legal/scripts/

# 6. (Optional) Install PDF dependencies
pip3 install reportlab
```

### Windows Install

```powershell
git clone https://github.com/MoMarcode1/austrian-legal-claude.git
cd austrian-legal-claude

# Copy to Claude Code skills directory
$skillDir = "$env:USERPROFILE\.claude\skills"
Copy-Item -Recurse "legal" "$skillDir\austrian-legal" -Force
Get-ChildItem "skills" -Directory | ForEach-Object {
    Copy-Item -Recurse $_.FullName "$skillDir\$($_.Name)" -Force
}
New-Item -ItemType Directory -Path "$skillDir\austrian-legal\agents" -Force | Out-Null
Copy-Item "agents\*.md" "$skillDir\austrian-legal\agents\" -Force
New-Item -ItemType Directory -Path "$skillDir\austrian-legal\references" -Force | Out-Null
Copy-Item "references\*.md" "$skillDir\austrian-legal\references\" -Force
New-Item -ItemType Directory -Path "$skillDir\austrian-legal\scripts" -Force | Out-Null
Copy-Item "scripts\*.py" "$skillDir\austrian-legal\scripts\" -Force
```

### Verify Installation

After installation, open Claude Code and type:

```
/recht review
```

If Claude asks you for a document to review, the installation was successful.

### RIS Integration (Recommended)

For live Austrian statute and case law lookup, install the [RIS MCP Server](https://github.com/philrox/ris-mcp-ts):

```bash
# In your Claude Code MCP configuration
npm install -g ris-mcp-ts
```

This gives the skill access to 12 RIS tools covering Bundesnormen, Landesnormen, OGH/VfGH/VwGH Judikatur, and BGBl.

---

## Commands

### Case & Dispute Analysis

| Command | Description | DE |
|---------|-------------|----|
| `/recht review ` | Full contract review with 5 parallel agents | Vertragspruefung |
| `/recht risks ` | Deep risk analysis with financial exposure | Risikoanalyse |
| `/recht claim ` | Identify all legal claims from facts | Anspruchspruefung |
| `/recht evidence ` | Evaluate evidence strength per ZPO | Beweiswuerdigung |
| `/recht costs ` | Calculate GGG + RATG court/attorney fees | Kostenrechner |
| `/recht strategy ` | Litigation strategy with success probability | Prozessstrategie |
| `/recht klage ` | Draft court filings (Klage, Berufung, etc.) | Schriftsatz-Entwurf |
| `/recht verjaehrung ` | Check all limitation periods | Verjaehrungspruefung |

### Contract Tools

| Command | Description | DE |
|---------|-------------|----|
| `/recht compare  ` | Compare two contract versions | Vertragsvergleich |
| `/recht plain ` | Translate legal German to plain language | Klartext |
| `/recht negotiate ` | Generate counter-proposals | Verhandlungsstrategie |
| `/recht missing ` | Find missing clauses | Fehlende Klauseln |

### Compliance & Reporting

| Command | Description | DE |
|---------|-------------|----|
| `/recht compliance ` | KSchG, DSGVO, MRG, UGB compliance | Compliance-Pruefung |
| `/recht report-pdf` | Generate professional PDF report | PDF-Bericht |

### Tenancy Law (Mietrecht)

| Command | Description | DE |
|---------|-------------|----|
| `/recht miet ` | MRG analysis, rent limits, Befristung | Mietrechtsanalyse |
| `/recht miet-verfahren ` | Schlichtungsstelle, Raeumungsklage | Mietrechtsverfahren |

### Employment Law (Arbeitsrecht)

| Command | Description | DE |
|---------|-------------|----|
| `/recht arbeit ` | Contract, KollV, termination analysis | Arbeitsrechtsanalyse |
| `/recht arbeit-verfahren ` | Kuendigungsanfechtung, ASG proceedings | Arbeitsrechtsverfahren |

### Family Law (Familienrecht)

| Command | Description | DE |
|---------|-------------|----|
| `/recht familie ` | Divorce, alimony, custody, property division | Familienrechtsanalyse |
| `/recht familie-verfahren ` | Divorce filing, custody proceedings | Familienrechtsverfahren |

### Inheritance Law (Erbrecht)

| Command | Description | DE |
|---------|-------------|----|
| `/recht erbe ` | Succession, wills, forced heirship | Erbrechtsanalyse |
| `/recht erbe-verfahren ` | Probate, Pflichtteilsklage | Erbrechtsverfahren |

### Traffic Law (Verkehrsrecht)

| Command | Description | DE |
|---------|-------------|----|
| `/recht verkehr ` | Accidents, license, traffic violations | Verkehrsrechtsanalyse |
| `/recht verkehr-verfahren ` | Appeals, damage claims, Einspruch | Verkehrsrechtsverfahren |

### Consumer Protection (Verbraucherrecht)

| Command | Description | DE |
|---------|-------------|----|
| `/recht verbraucher ` | Warranty, FAGG withdrawal, KSchG | Verbraucherrecht |
| `/recht verbraucher-verfahren ` | Complaint, Schlichtung, Klage | Verbraucherverfahren |

### Tax Law (Steuerrecht)

| Command | Description | DE |
|---------|-------------|----|
| `/recht steuer ` | Income, corporate, VAT analysis | Steueranalyse |
| `/recht steuer-verfahren ` | Tax appeals, Selbstanzeige, BFG | Abgabenverfahren |

### Asylum & Immigration (Asylrecht)

| Command | Description | DE |
|---------|-------------|----|
| `/recht asyl ` | Asylum, residence permits, protection | Asylanalyse |
| `/recht asyl-beschwerde ` | Appeal BFA decisions, BVwG | Asylbeschwerde |

### Social Security (Sozialrecht)

| Command | Description | DE |
|---------|-------------|----|
| `/recht sozial ` | Pension, unemployment, care allowance | Sozialrechtsanalyse |
| `/recht sozial-beschwerde ` | ASG claims, AMS sanctions | Sozialrechtsbeschwerde |

### Debt & Enforcement (Schulden & Exekution)

| Command | Description | DE |
|---------|-------------|----|
| `/recht schulden ` | Debt, insolvency, Existenzminimum | Schuldenanalyse |
| `/recht exekution ` | Enforcement, Lohnpfaendung, Oppositionsklage | Exekutionsverfahren |

---

## Legal Areas

| Area | Key Laws | Skills |
|------|----------|--------|
| Civil / Contract | ABGB, KSchG | review, risks, claim, evidence, costs, strategy, klage, verjaehrung |
| Tenancy | MRG, WEG, ABGB | miet, miet-verfahren |
| Employment | AngG, ArbVG, AZG, UrlG, GlBG | arbeit, arbeit-verfahren |
| Family | EheG, ABGB, KindNamRaeG | familie, familie-verfahren |
| Inheritance | ABGB 5. Teil, AussStrG | erbe, erbe-verfahren |
| Traffic | EKHG, StVO, KFG, FSG | verkehr, verkehr-verfahren |
| Consumer | KSchG, FAGG, PHG | verbraucher, verbraucher-verfahren |
| Tax | EStG, KStG, UStG, BAO, FinStrG | steuer, steuer-verfahren |
| Asylum | AsylG, FPG, NAG, BFA-VG | asyl, asyl-beschwerde |
| Social Security | ASVG, AlVG, BPGG, ASGG | sozial, sozial-beschwerde |
| Debt / Enforcement | EO, IO, ZPO | schulden, exekution |
| Compliance | DSGVO, DSG, GewO, UGB | compliance |
| Commercial | UGB, GmbHG, AktG | review, missing, compliance |
| Criminal | StGB, StPO | claim, strategy |
| Administrative | AVG, VwGVG, GewO | compliance |
| IP | UrhG, MSchG, PatG | review, compliance |

---

## How It Works

### The Flagship: `/recht review`

5 AI agents analyze your contract in parallel:

| Agent | Role | Weight |
|-------|------|--------|
| Klauselanalyst | Maps every clause to Austrian law | 20% |
| Risikobewerter | Scores risk against Austrian standards | 25% |
| Compliance-Pruefer | Checks KSchG, DSGVO, MRG, UGB | 20% |
| Pflichten-Mapper | Maps obligations, deadlines, triggers | 15% |
| Empfehlungsmotor | Generates fixes with legal citations | 20% |

Returns a **Vertragssicherheits-Score (0-100)** with:
- Risk dashboard
- Clause-by-clause analysis with specific citations
- Formulierungsvorschlaege (copy-paste replacement text)
- Missing clause detection
- Prioritized negotiation strategy

### RIS Integration

Every skill verifies statute citations via the [RIS MCP Server](https://github.com/philrox/ris-mcp-ts) when connected. All outputs include a **Quellenstatus** block showing verification status:

```
## Quellenstatus
| Kategorie | Status | Details |
|-----------|--------|---------|
| RIS MCP   | Verfuegbar | Connected |
| Gesetze   | RIS_VERIFIED | 12 Normen geprueft |
| Judikatur | RIS_VERIFIED | 3 Entscheidungen |
```

### Evidence Handling

When you provide documents, the skills automatically:
- Classify evidence by ZPO hierarchy (Urkunden > Zeugen > Sachverstaendige > Augenschein > Parteienvernehmung)
- Assess Beweiskraft (probative value)
- Identify missing evidence
- Determine Beweislast (burden of proof)
- Recommend what evidence to gather

### Bilingual

- Input in German or English — output matches your language
- Legal terms always include German original: "warranty (Gewaehrleistung)"
- Statutes always in official form: "922 ABGB", not "Section 922 Civil Code"

---

## Testing

The project includes a test framework with 14 cases (9 real OGH decisions + 5 simulated scenarios).

### Run Tests

```bash
# Validate all test cases load correctly
python tests/run_tests.py tests/ogh/

# Score a skill output against gold standard
python tests/run_tests.py tests/ogh/mietrecht/mietzins-richtwert-01/ \
  --skill-output tests/ogh/mietrecht/mietzins-richtwert-01/skill-output.md \
  --format markdown
```

### Test Results

| Dimension | Score |
|-----------|-------|
| Issue Spotting | 98.5% |
| Statute Citation | 88.7% |
| Outcome Alignment | 93.6% |
| **Overall** | **93.6%** |

Real OGH cases score **97.7%** on average.

### Add Your Own Test Cases

Create a directory under `tests/ogh///` with:
- `case.json` — metadata, gold-standard issues/statutes/holding
- `facts.md` — German Sachverhalt (facts only, no holding)
- `gold.md` — expected analysis

See existing test cases for the format.

---

## Project Structure

```
austrian-legal-claude/
├── legal/SKILL.md                    # Main orchestrator (command router)
├── skills/                           # 34 specialized skills
│   ├── recht-review/SKILL.md         # Full contract review (5 agents)
│   ├── recht-miet/SKILL.md           # Tenancy law
│   ├── recht-arbeit/SKILL.md         # Employment law
│   ├── recht-familie/SKILL.md        # Family law
│   ├── recht-erbe/SKILL.md           # Inheritance law
│   ├── recht-verkehr/SKILL.md        # Traffic law
│   ├── recht-verbraucher/SKILL.md    # Consumer protection
│   ├── recht-steuer/SKILL.md         # Tax law
│   ├── recht-asyl/SKILL.md           # Asylum law
│   ├── recht-sozial/SKILL.md         # Social security
│   ├── recht-schulden/SKILL.md       # Debt management
│   ├── recht-exekution/SKILL.md      # Enforcement
│   └── ... (34 skills total)
├── references/                        # Shared protocols and knowledge
│   ├── ris-protocol.md               # RIS verification workflow
│   ├── evidence-protocol.md          # Evidence handling (ZPO hierarchy)
│   ├── ogh-case-presentation.md      # OGH case citation format
│   ├── common-output-rules.md        # Shared output standards
│   ├── zivilrecht-claim-map.md       # Civil law claim taxonomy
│   ├── arbeitsrecht-checklist.md     # Employment law checklist
│   ├── mietrecht-checklist.md        # Tenancy law checklist
│   ├── steuerrecht-issue-map.md      # Tax law issue map
│   ├── asylrecht-procedure-map.md    # Asylum procedure flowchart
│   └── sozialrecht-procedure-map.md  # Social security procedure map
├── agents/                            # 6 parallel analysis agents
├── scripts/generate_legal_pdf.py      # PDF report generator (ReportLab)
├── tests/                             # Test framework + 14 cases
│   ├── run_tests.py                  # Automated test scorer
│   └── ogh/                          # OGH test cases
├── templates/                         # Report templates
├── VISION.md                         # Project vision and roadmap
├── CLAUDE.md                         # Development instructions
├── install.sh                        # One-line installer
├── uninstall.sh                      # Clean uninstaller
└── LICENSE                           # MIT
```

---

## Contributing

We welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.

### Ways to Contribute

- **Add test cases** — Download OGH decisions from RIS, extract facts, create gold standards
- **Improve skills** — Add procedural depth, fix statute citations, improve Formulierungsvorschlaege
- **Add new legal areas** — Follow the advisory + procedural pair pattern
- **Improve the scorer** — Better NLP for issue matching, semantic similarity
- **Add KollV data** — Collective bargaining agreement specifics (IT-KV, Handel-KV, etc.)
- **Add Landesgesetze** — State-specific laws (BauO, NatSchG per Bundesland)
- **Translations** — Improve English output quality

### Skill Pattern

Every new skill follows this pattern:

```yaml
---
name: recht-
description: >
  What this skill does, when to trigger it
---

# Step 1: Read the facts/document
# Step 2: RIS Verification
# Step 2b: Evidence Assessment (if provided)
# Step 3: Classify the situation
# Step 4: Systematic analysis (sub-steps 4A, 4B, ...)
# Step 5: Calculate/Score
# Step 6: Present output (structured template)
# Critical Rules
# Quellenstatus block
# Disclaimer
```

---

## Disclaimer

### Deutsch

Dieses Tool dient ausschliesslich der rechtlichen Ersteinschaetzung und Information. Es handelt sich um **keine Rechtsberatung** im Sinne der RAO. Die Nutzung ersetzt **nicht** die Konsultation eines zugelassenen Rechtsanwalts. Fuer verbindliche Rechtsauskuenfte wenden Sie sich an die zustaendige Rechtsanwaltskammer oder einen Rechtsanwalt Ihres Vertrauens.

### English

This tool provides preliminary legal analysis for educational and informational purposes only. It does **not** constitute legal advice and does **not** replace consultation with a licensed Austrian attorney (Rechtsanwalt). For binding legal opinions, contact the Austrian Bar Association or a qualified attorney.

---

## Acknowledgements

- Architecture inspired by [ai-legal-claude](https://github.com/zubair-trabzada/ai-legal-claude)
- RIS data via [ris-mcp-ts](https://github.com/philrox/ris-mcp-ts)
- Built with [

…

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [MoMarcode1](https://github.com/MoMarcode1)
- **Source:** [MoMarcode1/austrian-legal-claude](https://github.com/MoMarcode1/austrian-legal-claude)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-momarcode1-austrian-legal-claude
- Seller: https://agentstack.voostack.com/s/momarcode1
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
