r/ClaudeCode • u/yucek • 17h ago
Built with Claude Built an MCP server so Claude Code can read the actual law: court decisions and legislation from 120+ countries, fetched from the official websites
Earlier this year I posted word-mcp-live here, the Word server I built because I review contracts all day. This is the other half of that job: finding the law itself.
I'm a lawyer. When I ask Claude about a statute or a court decision, it answers fluently, and sometimes it's quoting an article that was amended years ago or a case that doesn't say what it claims. It's not lying; it just can't see the source, so it guesses. The fix is boring: let it look the text up where the courts and governments publish it.
So I built Fontes. It's an MCP server that searches case law and legislation live on official government and court websites, in over 120 jurisdictions plus international courts (ECtHR, CJEU, ICJ). Every result carries the link to the original page. There's no database in between; it fetches at the moment you ask.
https://reddit.com/link/1y6c0pg/video/we4lcf1ow04i1/player
Setup in Claude Code:
claude mcp add fontes -- uvx fontes-mcp
Then ask "Which jurisdictions can Fontes search?" and it lists them. For Claude Desktop there's a Mac and Windows installer, or a .mcpb file you double-click.
What you can ask:
- "Show me ยง 823 of the German Civil Code"
- "Find UK Supreme Court judgments since 2020 that mention duty of care"
- "Turkish Constitutional Court decisions on freedom of expression", asked in Turkish or English
Seven tools for every country. A common worry with big MCP servers is the model picking the wrong tool once there are 15 or 20 of them. Fontes has seven research tools (search case law, get a decision, search legislation, full text, table of contents, one provision, list jurisdictions). The country is a parameter, so adding a country never adds a tool.
What it doesn't do:
- It doesn't tell you whether a case supports your argument. It gets you the text; you still read it.
- Coverage is uneven. Some countries have full case law and consolidated statutes, some only a gazette.
list_jurisdictionssays what each one has and what's missing. - Government websites go down, change their HTML, or put up bot checks. A health check runs every day and publishes the result: on 25 November, 181 of 238 sources were fully working. Status page: https://ykarapazar.github.io/fontes/status/
- If a site's robots.txt says no, Fontes doesn't fetch it, even when that leaves a gap (the Austrian case law API and the Dutch legislation search are blocked this way right now).
- A few sources need a free API key you register for yourself. The rest work without one.
Free and open source (Apache 2.0). No account. It sends me nothing unless you opt in to anonymous usage counts.
GitHub: https://github.com/ykarapazar/fontes PyPI: uvx fontes-mcp
If your country is missing or something returns nonsense, tell me here or open an issue. That's the most useful feedback I can get. And if you like it, give it a star ๐ .
โข
u/AutoModerator 17h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.