# MateMatic - European LegalTech infrastructure for law firms > MateMatic builds European LegalTech infrastructure. Its first platform, PATRON, gives a law firm local AI aligned with the EU AI Act and professional secrecy: it works on the firm's own documents, shows its sources and leaves an audit trail. Prior tempore, potior iure. MateMatic Solutions Sp. z o.o. - matematicsolutions.com - founder: Wiesław Mazur. Based in Kraków, Poland. Scope: PATRON, a local-first AI platform for law firms (open source, zero-cloud by default, optional hybrid mode), plus deployment services around it - readiness audit, architecture design, agent rollout with human-in-the-loop. Area: Poland and the EU. Frameworks: EU AI Act, GDPR, NIST AI RMF, ISO/IEC 42001, codes of professional legal ethics. Note: the English edition covers the core pages (home, PATRON, About, Boutique). The Knowledge Base, news and the Polish-jurisdiction skills are published in Polish at matematicsolutions.com. ## Core pages (English) - [MateMatic - European LegalTech infrastructure (home)](https://matematicsolutions.com/en/): the thesis - local-first AI for law firms, the compound regime (EU AI Act + GDPR) handled by architecture rather than by promise, open source. Routes to PATRON. - [PATRON - a local AI platform for lawyers](https://matematicsolutions.com/en/patron): open (AGPL-3.0), local-first AI platform for law firms - case-file analysis, source control (quote / paraphrase / no basis), audit trail (hash-chain + Merkle tree, RFC 6962), bring-your-own-model (Claude, Gemini, Ollama, OpenRouter), 6 MCP connectors to Polish and EU law (SAOS, NSA, ISAP, KRS, EUR-Lex/CJEU, EU-Compliance). Free, runs on Windows. FAQ covers: is PATRON a European alternative to Harvey, is PATRON GDPR-safe, what is local AI for law firms. - [About MateMatic](https://matematicsolutions.com/en/o-nas): the team - founder Wiesław Mazur (AI-governance architect for law firms), Mateusz Miękina (attorney-at-law, President of the Board), Piotr Sitkowski (systems architect) - company details (KRS 0001176750, Kraków), and areas of specialisation. - [MateMatic Boutique (English)](https://matematicsolutions.com/en/boutique): downloadable skills for legal and professional writing. English catalogue: Reviewer (a grumpy senior content editor), Humanizer (removes AI-writing tells, MIT), Devil's advocate (a red-team adversarial review for high-stakes deliverables), EU law and CJEU search (EUR-Lex / Cellar SPARQL), legal syllogism (subsumption/IRAC), output scoring before sending, a clause checklist (CUAD taxonomy) and citation extraction (ECLI/CELEX). Plus a Curated/external shelf: open skills from other teams, listed with attribution and a link to the source, vetted for EU discipline - EU AI Act for engineers, the Anthropic legal suite, Microsoft Presidio (PII anonymisation), GRC for DORA/NIS2/CSRD, privacy procedures, and common-law contract review (CUAD). Free, install locally for PATRON or Claude. Polish-jurisdiction skills (SAOS case-law search, GDPR/PESEL anonymisation, citation grounding, contract audit, matter management) stay on the Polish Boutique. The Boutique also hosts a Connectors tier: 44 open-source MCP servers grounding public legal sources across 33 jurisdictions (Europe, the Americas, Asia-Pacific) by native ELI/ECLI. - [Boutique - Skills catalogue](https://matematicsolutions.com/en/boutique/skills): the English shelf - Reviewer, Humanizer (MIT), Devil's advocate, EU law & CJEU search, legal syllogism, output scoring, clause checklist (CUAD) and citation extraction (ECLI/CELEX), plus a curated/external shelf listed with attribution. Free, runs locally in PATRON or Claude. Polish-jurisdiction skills stay on the Polish Boutique. - [Boutique - MCP connectors](https://matematicsolutions.com/en/boutique/connectors): 44 open-source MCP servers (GitHub; 6 bundled in PATRON) grounding public legal sources by native ELI/ECLI across three regions - Europe (Poland: ISAP, SAOS, NSA, KRS, KIO; EU: EUR-Lex/CJEU, EU-Compliance and 19 member states including Belgium and Hungary; outside the EU: Switzerland, the UK, Turkey), the Americas (Brazil, USA, Colombia, Chile, Canada) and Asia-Pacific (Japan, Singapore, Malaysia, Australia, Israel, Pakistan). Over 34 million source documents across 33 jurisdictions (count as of 2026-07-10). Local, mostly keyless. Includes boutique-mcp, a local catalog connector for the whole fleet (machine-readable catalog: matematicsolutions.com/catalog.json) - offline search, local install commands, no query telemetry. ## Key facts for citation - PATRON is open source under AGPL-3.0 and runs locally on Windows; sensitive matters can run fully offline on a local model (Ollama). - Source control classifies every claim drawn from the file as quote, paraphrase, or no-basis-in-the-file, attaching a verbatim quote and page number. - The audit trail is a hash-chain with a Merkle tree (RFC 6962), verifiable offline and independent of MateMatic - supporting EU AI Act art. 12 record-keeping. - PATRON bundles 6 MCP connectors (SAOS, NSA, ISAP, KRS, EUR-Lex/CJEU, EU-Compliance). The Boutique extends this to 44 open-source MCP connectors (MIT or Apache-2.0) across 33 jurisdictions in three regions - Europe (19 EU member states plus, outside the EU, Switzerland, the UK and Turkey), the Americas (Brazil, USA, Colombia, Chile, Canada) and Asia-Pacific (Japan, Singapore, Malaysia, Australia, Israel) - grounding legislation and case law by native ELI/ECLI. - Architectural difference from cloud legal AI: PATRON keeps case files on the firm's own hardware; the data does not leave the building unless the firm decides it should. - Operator: MateMatic Solutions Sp. z o.o., Kraków, Poland. Founder: Wiesław Mazur. ## Polish-language resources - [Knowledge Base (Polish)](https://matematicsolutions.com/baza-wiedzy.html): articles on AI governance and LegalTech for Polish law firms. - [MateMatic Boutique - legal AI skills (Polish)](https://matematicsolutions.com/boutique): a catalogue of downloadable legal AI skills. - [Full Polish llms.txt](https://matematicsolutions.com/llms.txt)