Skip to content
@matematicsolutions

MateMatic Solutions

European LegalTech infrastructure: Repertorium (legal knowledge), PATRON (local-first workspace), Boutique (connectors & skills). Answers traced to source.
MateMatic Solutions - AI that knows what it doesn't know. We know how.

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

Website · Hugging Face · Where your data is


Architecture

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.

Corpus or live query

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.

Look under the hood

Claims are cheap; these are the parts you can inspect.

  • Citation contract - MCS v0.1: the source_id / url / exact_quote / locator / confidence shape 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) or search_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-watch checks 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.

In numbers

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

Connectors

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.

Skills

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)

What is open, what is not

  • 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.

Contact

MateMatic Solutions · Kraków, Poland · kontakt@matematic.co · matematicsolutions.com

Pinned Loading

  1. repertorium repertorium Public

    Repertorium - legal knowledge infrastructure for AI: Polish and EU law corpus with citation graph, locators and provenance. Public interface docs (MCP, REST).

  2. patron patron Public

    Local-first AI workspace for law firms: case files stay on your machine, local or chosen cloud model, hash-chained audit trail with its own verifier. 9 editions. AGPL-3.0.

    TypeScript 14 8

  3. prawo-pl-mcp prawo-pl-mcp Public

    One MCP server for Polish legal data - courts, legislation, KRS, tax rulings, KIO, UODO behind 4 unified tools

    Python 1

  4. mcp-eu-sparql mcp-eu-sparql Public

    MCP server for EU legislation and 57k+ CJEU rulings via the Publications Office SPARQL endpoint (EUR-Lex / Cellar), plus national data-protection decisions from GDPRhub. CELEX + ECLI on every citat…

    TypeScript 1 1

  5. awesome-matematic-skills-en awesome-matematic-skills-en Public

    English hub of method-neutral legal AI skills (verification core, content quality, EU law) - bundle model. Polish-jurisdiction skills live in awesome-matematic-skills-pl.

    Python

  6. eu-drift-watch eu-drift-watch Public

    Cross-EU statute-watch: monthly drift check of anchor statutes across 9 EU jurisdictions via the eu-legal-mcp connectors.

    JavaScript

Repositories

Showing 10 of 60 repositories
  • repertorium Public

    Repertorium - legal knowledge infrastructure for AI: Polish and EU law corpus with citation graph, locators and provenance. Public interface docs (MCP, REST).

    matematicsolutions/repertorium's past year of commit activity
    0 0 0 0 Updated Sep 19, 2026
  • awesome-matematic-skills-pl Public

    Polish hub of legal-AI skills - 45 skills in 8 Claude Code / Cowork bundles (LLM output verification, PL/EU case law, DOCX redline, audit bundle). Vendor-neutral, MIT.

    matematicsolutions/awesome-matematic-skills-pl's past year of commit activity
    Python 6 MIT 3 0 0 Updated Sep 19, 2026
  • awesome-matematic-skills-en Public

    English hub of method-neutral legal AI skills (verification core, content quality, EU law) - bundle model. Polish-jurisdiction skills live in awesome-matematic-skills-pl.

    matematicsolutions/awesome-matematic-skills-en's past year of commit activity
    Python 0 MIT 0 0 0 Updated Sep 19, 2026
  • matematic-readiness Public

    AI-readiness assessment for Polish law firms - 30 questions across 5 dimensions, scoring, Build-vs-Buy framework, 3-year TCO. CC BY-SA 4.0.

    matematicsolutions/matematic-readiness's past year of commit activity
    0 1 0 0 Updated Sep 17, 2026
  • patron Public

    Local-first AI workspace for law firms: case files stay on your machine, local or chosen cloud model, hash-chained audit trail with its own verifier. 9 editions. AGPL-3.0.

    matematicsolutions/patron's past year of commit activity
    TypeScript 14 AGPL-3.0 8 0 14 Updated Sep 17, 2026
  • .github Public

    Organization profile + GitHub configuration for MateMatic Solutions

    matematicsolutions/.github's past year of commit activity
    Python 0 0 0 0 Updated Sep 17, 2026
  • matematic-contract-review-pl Public

    Open Claude Code skill for bulk contract review at a Polish law firm - tabular review, red flags, source citations, .docx output. PII pseudonymised before any model call. Apache-2.0.

    matematicsolutions/matematic-contract-review-pl's past year of commit activity
    1 2 0 0 Updated Sep 17, 2026
  • legalize-mcp Public

    MCP server over the legalize-dev law-as-git corpus - 32 jurisdictions (21 EU) of legislation as versioned Markdown with ELI-style citations. Read-only, self-hostable.

    matematicsolutions/legalize-mcp's past year of commit activity
    Python 0 Apache-2.0 1 0 0 Updated Sep 17, 2026
  • tr-eli-mcp Public

    MCP connector for Turkish legislation (Adalet Bakanlığı Mevzuat Bilgi Sistemi)

    matematicsolutions/tr-eli-mcp's past year of commit activity
    Python 1 Apache-2.0 0 0 0 Updated Sep 17, 2026
  • hu-eli-mcp Public

    MCP connector for Hungarian legislation (Nemzeti Jogszabalytar) via structured retrieval

    matematicsolutions/hu-eli-mcp's past year of commit activity
    Python 0 Apache-2.0 0 0 0 Updated Sep 17, 2026

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Most used topics

Loading…