Open-sourced MCP server predicts Dutch court outcomes after stripping 92% target leakage

rechtssysteem · reddit · 2026-09-11

The builder of Rechtssysteem.ai open-sourced (Apache 2.0) a zero-dependency Python MCP server for Dutch court outcome prediction, Glama Triple-A audited. Key insight: 92% of Dutch judgments reveal the outcome in the text, so the team stripped dictums and outcome-announcing phrases, cutting residual leakage from 92% to 0.1% across 609,715 cases. A LightGBM model trained with 5-fold CV hits 78.2% accuracy and 77.1% macro-F1 (vs 43.7% majority baseline), and outputs 'insufficient certainty' below 55% confidence. The single-file server uses stdlib-only JSON-RPC over stdio with three tools (benchmark stats, leakage check, risk classification) and works out of the box in Claude Desktop or Cursor.

Original post →

More from coding & agent

coding & agent channel →