Hi HN. AI models often get European law wrong, quoting old versions or making up text. Pandex gives them the official text instead.
It covers EU, Germany, France, Netherlands, UK, Austria, Switzerland, Luxembourg and ECHR case law, with every past version of each law. Updated every night.
Works as an MCP server, no key needed:
claude mcp add --transport http pandex https://api.pandex.io/mcp
That is a ridiculous idea, I’m sorry. Laws aren’t programs or mathematical statements, and they are interpreted by courts using much more than the words on the page. You can’t feed them into a program and “look for loopholes.”
You're absolutely right! This is precisely why loopholes in tax systems, which come into being as a result of legislature, have remained a purely theoretical threat to government budgets, all over the world.
How does it work internally? Is this agent to agent with a MCP in between? From my experience this domain is pretty hard to get right. Often multiple LLM passes are needed over different kinds of structured data. RAG, indices, raw texts, DB search, with extra validations and more.
We have a similar internal systems. Each question takes about 2 to 5 minutes and costs about 1 to 2 dollars in tokens. Simply injecting raw law books into your LLM will not have enough reliability.
Law text alone aren't enough to know how the rules are applied. So it needs court decisions too. That wouldn't be enough either because ton of things aren't in either laws or courts.
You need to see stuff like refusals to issue a permit or licence, waiting times or what not.
A lot of things aren't in public record or any record at all
Hi HN. AI models often get European law wrong, quoting old versions or making up text. Pandex gives them the official text instead.
It covers EU, Germany, France, Netherlands, UK, Austria, Switzerland, Luxembourg and ECHR case law, with every past version of each law. Updated every night.
Works as an MCP server, no key needed: claude mcp add --transport http pandex https://api.pandex.io/mcp
Which countries should we add next?
It would be really cool to have something like this for individual US states as well.
This is a great service for EU companies working with AI agents but also want to try to stay compliant in early stages. Please add Sweden next.
Poland would be useful to me, if you did it right (I would need to be sure you are getting the latest and correct data).
A picture of the US Supreme Court seems a bit out of place for a product focused on European Law?
You're absolutely right! Let me fix that for you.
This is great! I can see good ways to find inconsistencies In national implementations.
As well, there was recently a post on HN on using Lean to look for loopholes in US laws — this will make the same thing possible in Europe.
That is a ridiculous idea, I’m sorry. Laws aren’t programs or mathematical statements, and they are interpreted by courts using much more than the words on the page. You can’t feed them into a program and “look for loopholes.”
You're absolutely right! This is precisely why loopholes in tax systems, which come into being as a result of legislature, have remained a purely theoretical threat to government budgets, all over the world.
Can you be more specific? What loophole do you have in mind?
How does it work internally? Is this agent to agent with a MCP in between? From my experience this domain is pretty hard to get right. Often multiple LLM passes are needed over different kinds of structured data. RAG, indices, raw texts, DB search, with extra validations and more. We have a similar internal systems. Each question takes about 2 to 5 minutes and costs about 1 to 2 dollars in tokens. Simply injecting raw law books into your LLM will not have enough reliability.
Areas like laws, it's crucial to be accurate and avoid hallucinations. I'm curious if AI will do a good job at this.
Law text alone aren't enough to know how the rules are applied. So it needs court decisions too. That wouldn't be enough either because ton of things aren't in either laws or courts.
You need to see stuff like refusals to issue a permit or licence, waiting times or what not.
A lot of things aren't in public record or any record at all
If your from the USA: European courts work differently in jurisprudence aspects from USA courts.