Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"uk-law": {
"url": "https://mcp.ansvar.eu/law-uk-law-mcp/mcp",
"type": "url"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
The legislation.gov.uk alternative for the AI age.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y '@ansvar/uk-law-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @ansvar/uk-law-mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in legal
87 tools for Korean law — statutes, precedents, ordinances, interpretations | MCP Server · CLI · npm
Proof primitive for AI agents on MultiversX. Anchor file hashes on-chain as verifiable proofs.
956k Swiss court decisions: full-text search, citation graph, statute lookup (DE/FR/IT)
Sanctions screening and PEP checks via OpenSanctions API for AI agents
MCP Security Weekly
Get CVE alerts and security updates for Uk Law MCP Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
▶ Try this MCP instantly via Ansvar Gateway
50 free queries/day · no card required · OAuth signup at ansvar.eu/gateway
One endpoint, one OAuth signup, access from any MCP-compatible client.
Claude Code (one line):
claude mcp add ansvar --transport http https://gateway.ansvar.eu/mcp
Claude Desktop / Cursor — add to claude_desktop_config.json (or mcp.json):
{
"mcpServers": {
"ansvar": {
"type": "url",
"url": "https://gateway.ansvar.eu/mcp"
}
}
}
Claude.ai — Settings → Connectors → Add custom connector → paste https://gateway.ansvar.eu/mcp
First request opens an OAuth flow at ansvar.eu/gateway. After signup, your client is bound to your account; tier (free / premium / team / company) determines fan-out, quota, and which downstream MCPs are reachable.
You can also clone this repo and build the corpus yourself. The schema, fetcher, and tool implementations all live here. What is not in the repo is the pre-built database — TDM and standards-licensing constraints on the upstream sources mean we host the corpus on Ansvar infrastructure rather than redistribute it as a public artifact.
Build your own: run this repo's ingestion script (entry-point varies per
repo — typically scripts/ingest.sh, npm run ingest, or make ingest;
check the repo root).
The legislation.gov.uk alternative for the AI age.
Query 3,241 UK statutes -- from the UK GDPR and Computer Misuse Act to the Employment Rights Act, Companies Act, and more -- directly from Claude, Cursor, or any MCP-compatible client.
If you're building legal tech, compliance tools, or doing UK legal research, this is your verified reference database.
Built by Ansvar Systems -- Stockholm, Sweden
UK legal research is scattered across legislation.gov.uk, BAILII, and EUR-Lex retained EU law indexes. Whether you're:
...you shouldn't need dozens of browser tabs and manual PDF cross-referencing. Ask Claude. Get the exact provision. With context.
This MCP server makes UK law searchable, cross-referenceable, and AI-readable.
Once connected, just ask naturally: