Pandex – Official European Law for AI Agents, over MCP

(pandex.io)

70 points | by vasie 11 hours ago ago

14 comments

  • vasie 11 hours ago ago

    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?

    • sebmellen 5 hours ago ago

      It would be really cool to have something like this for individual US states as well.

    • therealalexz 7 hours ago ago

      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.

    • jwr 7 hours ago ago

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

  • kaladin-jasnah 4 hours ago ago

    A picture of the US Supreme Court seems a bit out of place for a product focused on European Law?

    • etatester 7 minutes ago ago

      You're absolutely right! Let me fix that for you.

  • gumby 7 hours ago ago

    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.

    • rafram 4 hours ago ago

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

      • evujumenuk 3 hours ago ago

        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.

        • nonethewiser 27 minutes ago ago

          Can you be more specific? What loophole do you have in mind?

  • holoduke an hour ago ago

    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.

  • skwon816 6 hours ago ago

    Areas like laws, it's crucial to be accurate and avoid hallucinations. I'm curious if AI will do a good job at this.

    • Muromec 6 hours ago ago

      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

      • namibj 27 minutes ago ago

        If your from the USA: European courts work differently in jurisprudence aspects from USA courts.