European LegalTech infrastructure that leads a legal answer back to its source, its context and its provenance.
Repertorium · legal knowledge infrastructure | PATRON · local-first legal workspace
Boutique · connectors and skills | MateMatic · architecture, audit and deployment
Four layers. Each works on its own; none requires the others.
| Layer | What it is | How you reach it | Code | Runs on your machine |
|---|---|---|---|---|
| Repertorium | Legal knowledge infrastructure: a corpus of Polish and EU law with a citation graph and PL-EU links | web console, remote MCP, REST | hosted service; interface and response contract documented in the open | as a local data pack, by agreement |
| PATRON | Local-first legal workspace: case files, chat, tracked-changes drafting, audit trail | Windows desktop app, 9 language editions | AGPL-3.0 | yes; the model is local or a cloud one you choose |
| Boutique | Catalogue of MCP connectors and agent skills | uvx / npx / npx skills add, catalog.json |
MIT / Apache-2.0 | yes; connectors query public sources from your machine |
| MateMatic | Architecture, reliability audit and deployment inside a firm | contact | governance documents are open | - |
people ─────────► PATRON (desktop) ───► connectors ───► official sources
(live query)
AI agents ──────► any MCP client ─────► connectors
└───► Repertorium (corpus snapshot)
applications ───► REST / MCP ─────────► Repertorium
people ─────────► web console ────────► Repertorium
PATRON reaches Polish and EU sources through its own bundled connectors today; wiring it to Repertorium is planned.
The two words mean different things here.
- Corpus (Repertorium, and the offline connectors
mcp-eu-compliance,mcp-fr-legal,pk-eli-mcp): a snapshot of the law with a known state date. Fast, joinable, citable - and as current as its last build. - Live query (most connectors): the request goes to the official source at the moment you ask. As current as the source itself - and only as available and as structured as that source is.
Claims are cheap; these are the parts you can inspect.
- Citation contract - MCS v0.1: the
source_id / url / exact_quote / locator / confidenceshape PATRON verifies citations against, with a conformance test a connector can run. - Response contract - Repertorium answers are
ok,partial(with the shards that failed named) orsearch_unavailable. An empty list is never passed off as an honest zero. Details. - Audit trail - PATRON hash-chains every model interaction and exports a ZIP with its own verifier, and the documentation says what the trail does not prove (ADR-0142, audit trail).
- Decisions - Architecture Decision Records and the AI Constitution a firm reads before deployment.
- Monitoring -
eu-drift-watchchecks monthly that anchor statutes in 9 EU jurisdictions still resolve at the source. - Numbers - every figure below has a definition and a place where it is measured:
ecosystem.json.
| Repertorium corpus | 1,492,530 Polish and 236,944 EU documents · 1,443,748 PL-EU links |
| Connectors | 45 MCP connectors · 35 jurisdictions (34 countries and EU law) |
| Skills | 54 in the Boutique catalogue · hubs: 45 PL, 18 EN |
| PATRON | 9 installer editions · 7 Polish and EU sources bundled |
Source connectors are standalone MCP servers, one repository per source, returning a citation with a stable identifier (ELI / ECLI / CELEX / case number) and a source_url. Two exceptions: prawo-pl-mcp aggregates the Polish sources, and boutique-mcp returns install commands, not law.
Poland - one server for all of them: prawo-pl-mcp (4 tools), or each source on its own: mcp-saos (courts) · mcp-nsa (administrative courts) · mcp-isap (legislation) · mcp-krs (company register) · mcp-eureka (tax interpretations) · kio-orzeczenia-mcp (public procurement)
European Union - mcp-eu-sparql (EUR-Lex and CJEU, live) · mcp-eu-compliance (digital and data regulations, offline corpus)
National connectors - 33 countries
| Region | Connectors |
|---|---|
| Europe | de · fr (+ offline mcp-fr-legal) · it · es · nl · ch · se · be · at · ie · dk · fi · cz · ro · hu · hr · sk · lt · lu · mt · gb · tr |
| Americas | us · br · ca · cl · co |
| Asia-Pacific | jp · au · sg · my · il · pk |
| Cross-jurisdiction | legalize-mcp (law-as-git, 32 jurisdictions) · boutique-mcp (the catalogue itself, searched locally) |
Install commands for each: matematicsolutions.com/en/boutique/connectors.
A skill is a procedure an agent follows: grounding a citation, red-teaming a memo, scoring an output before it ships. Two hubs, installable in any Agent-Skills-compatible tool:
npx skills add matematicsolutions/awesome-matematic-skills-en
awesome-matematic-skills-en - method-neutral and EU law · awesome-matematic-skills-pl - Polish jurisdiction, full firm workflow · praxis - open guides for law firms (CC BY-SA 4.0)
- Open source: PATRON (AGPL-3.0), every connector in this organization (MIT or Apache-2.0), the skill hubs, the governance documents. Why the split: ADR-0002.
- Open interface, hosted service: Repertorium. The contract is public; the corpus build pipeline and infrastructure are not.
- Your data: PATRON keeps case files on the machine it runs on. With a local model nothing leaves it; with a cloud model you choose, the request goes to that provider with names and identifiers masked, and the call is recorded in the audit trail. Connectors send your query to the public source they read.
MateMatic Solutions · Kraków, Poland · kontakt@matematic.co · matematicsolutions.com