4,500+ servers built on MCP Fusion
Vinkius

UK Legislation MCP. Access primary source law records directly.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

UK Legislation MCP on Cursor AI Code Editor MCP Client UK Legislation MCP on Claude Desktop App MCP Integration UK Legislation MCP on OpenAI Agents SDK MCP Compatible UK Legislation MCP on Visual Studio Code MCP Extension Client UK Legislation MCP on GitHub Copilot AI Agent MCP Integration UK Legislation MCP on Google Gemini AI MCP Integration UK Legislation MCP on Lovable AI Development MCP Client UK Legislation MCP on Mistral AI Agents MCP Compatible UK Legislation MCP on Amazon AWS Bedrock MCP Support

Just plug in your AI agents and start using Vinkius.

UK Legislation MCP Server connects your AI agent directly to the official UK law database. Search, retrieve, and analyze Acts, Statutory Instruments, and specific sections of British law in real-time.

Need to verify a rule or track legislative changes? This server gives you direct access to primary legal sources from the UK Parliament.

What your AI agents can do

Get legislation

Retrieves specific details about a named piece of UK legislation.

Get legislation by year

Lists all Acts and instruments that were enacted during a specified calendar year.

Get recent legislation

Pulls the full details of legislative documents published most recently by the government.

+ 5 more capabilities included
Search by subject matter

The agent searches across multiple acts and instruments using broad keywords related to a topic.

Find specific sections of law

You pinpoint an exact section within a piece of legislation, retrieving its full text immediately.

Retrieve annual acts

The agent lists all major acts and instruments passed during a specified calendar year.

Get the latest laws

You pull up a list of legislative documents that were most recently published, ensuring you see new rules fast.

Map legal structure

The agent fetches the complete table of contents for an act, showing its full hierarchy and scope.

Supported MCP Clients

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients
Free for Subscribers

Waiting for input…

AI Agent

UK Legislation MCP Server: 8 Tools for Legal Retrieval

Use these tools to search by subject, retrieve specific sections, map tables of contents, or list all legislation passed during a precise year.

get019d8494

get legislation

Retrieves specific details about a named piece of UK legislation.

get019d8494

get legislation by year

Lists all Acts and instruments that were enacted during a specified calendar year.

get019d8494

get recent legislation

Pulls the full details of legislative documents published most recently by the government.

get019d8494

get schedule

Retrieves the content of a specific schedule attached to an act or instrument.

get019d8494

get section

Pulls the full, verbatim text for one defined section within any law.

get019d8494

get table of contents

Generates and returns a hierarchical map of all chapters and sections for a given act.

search019d8494

search by subject

Searches the entire database for laws that pertain to a defined subject area or keyword group.

search019d8494

search legislation

Returns a list of matching acts, statutory instruments, and legislative documents based on general search criteria.

Choose How to Get Started

Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.

Build Your Own

Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.

  • Import from OpenAPI, Swagger, or YAML specs
  • Create Agent Skills with progressive disclosure
  • Deploy to edge with MCPFusion framework
  • Built in DLP, auth, and compliance on every call
  • Real time usage dashboard and cost metering
  • Publish to catalog or keep private
Start building

Make Your AI Do More

Start with UK Legislation, then connect any of our 4,700+ other servers whenever your AI needs more. One click, no limits.

  • Use this MCP plus 4,700+ others, all in one place
  • Add new capabilities to your AI anytime you want
  • Every connection is secured and compliant automatically
  • Track usage and costs across all your servers
  • Works with Claude, ChatGPT, Cursor, and more
  • New servers added to the catalog every week

What you can do with this MCP connector

Your AI agent connects directly to the official UK legal database using this UK Legislation MCP Server. You'll find real-time access to Acts, Statutory Instruments, and specific British law sections straight from the Parliament. When you need to verify a rule or track legislative changes, your agent pulls primary source data instantly.

Searching for Law

To start looking through the massive body of UK law, you've got two main search paths. If you know what subject matter you're dealing with—say, environmental regulations or banking rules—you use search_by_subject. This tool searches across multiple Acts and Instruments using broad keywords related to that topic, giving you a pool of relevant laws.

If your criteria are more general (like searching by title or a specific year), you run search_legislation; it returns a list of matching acts, instruments, or legislative documents based on those general search terms.

Deep Structural Analysis and Retrieval

Once you've got a promising act from the searches, you need to understand its structure. You can use get_table_of_contents to generate a complete, hierarchical map of chapters and sections for that specific Act. This shows you exactly how the law is organized—it’s crucial for knowing your scope. If you're looking at a detailed section of text, you don't have to wade through pages; get_section pulls the full, verbatim text for one defined section within any law immediately.

You also use get_schedule when an Act references specific supplementary content attached to it; this tool retrieves that precise schedule material.

Time-Based and Targeted Retrieval

For tracking changes or finding foundational laws, you've got time-stamped tools. If you want to see every major law passed during a specific calendar year, you run get_legislation_by_year, which lists all Acts and instruments enacted in that chosen year. To stay ahead of the curve and know what just dropped, you use get_recent_legislation; this pulls up the full details for legislative documents published most recently by the government.

If you're targeting one specific piece of legislation by its known name, get_legislation retrieves all the core details about that named Act or Instrument.

Putting It All Together

You don’t just search; you analyze. You can combine these tools to build a complete legal picture for your agent. You'll use search_by_subject to narrow down general topics, then run get_table_of_contents on the results to map out their internal scope, and finally pull specific details using get_section or get_schedule. This whole process gives your AI client direct, reliable access that beats searching through dusty PDFs.

You're getting primary legal sources directly from the UK Parliament into your workflow.

How UK Legislation MCP Works

  1. 1 First, subscribe to the UK Legislation server. No API key is needed; access is public.
  2. 2 Next, instruct your AI client (Claude, Cursor, etc.) using natural language. For example: 'What is Section 5 of the Data Protection Act?'
  3. 3 The agent selects and executes the appropriate tool (like get_section), pulls the raw data from the official source, and delivers the specific text back to you.

The bottom line is that your AI client handles the complex query flow—you just ask what law you need.

Who Is UK Legislation MCP For?

Legal professionals, compliance officers, and policy researchers use this when they can't trust general search engines with verifiable legal facts. They need direct access to primary source documents to avoid costly errors in drafting or regulatory reporting.

Compliance Officer

You check for required changes by running get_recent_legislation and comparing new rules against existing internal policies.

Legal Researcher

You track the history of a law, using search_by_subject combined with annual searches to build an argument's legal foundation.

Policy Analyst

You analyze legislative trends by retrieving full tables of contents (get_table_of_contents) for entire acts, mapping out structural shifts in policy.

What Changes When You Connect

  • Verify legal compliance instantly. Instead of manually checking government sites, use get_recent_legislation to pull the text of new statutory instruments and confirm if they affect your operations.
  • Build a chronological legal history. Use get_legislation_by_year to list all acts passed in 1998 or 2004, letting you trace how specific laws have evolved over decades.
  • Understand the full scope of an Act. Calling get_table_of_contents shows you the entire structure of a complex law, preventing you from missing a critical chapter buried deep inside.
  • Target precise data points. If you need to quote a rule, use get_section. It pulls only that specific section's text, cutting out pages of irrelevant legal boilerplate.
  • Find laws by theme. Don't know the exact name of the law? Use search_by_subject to find all relevant legislation related to 'data privacy,' even if the acts are from different years.

Real-World Use Cases

01

Updating internal policy after a regulatory change

A compliance officer sees a news alert about new regulations. Instead of reading multiple government circulars, they prompt their agent: 'Show me all recent changes regarding financial reporting.' The agent uses get_recent_legislation and filters the results, immediately giving them the necessary text to update company policy.

02

Drafting a legal memo requiring historical context

A lawyer needs to reference how data protection rules changed after 2015. They use get_legislation_by_year for that period, then combine it with search_by_subject (e.g., 'data retention') to pull all relevant acts and sections for their memo.

03

Mapping the structure of a massive act

A student is studying constitutional law and needs to know how an Act is organized. They use get_table_of_contents on the main act, which provides the full, chapter-by-chapter breakdown, allowing them to understand the document's hierarchy without reading everything.

04

Verifying a specific legal clause for a client

A user needs to confirm exactly what 'The Convention rights' are under UK law. They use get_section on the Human Rights Act 1998, which immediately pulls the definitive text of that section, ensuring zero ambiguity.

The Tradeoffs

Running a general search for specific details

The user asks: 'Tell me about data protection.' The agent runs search_legislation and returns 50 links, forcing the user to click through multiple PDFs just to find the correct section.

Instead of searching generally, use targeted tools. If you need a specific rule, call get_section. If you need all related acts, use search_by_subject first, then drill down with get_table_of_contents.

Assuming keyword search is enough for history

The user asks: 'What laws covered banking in the 1980s?' A general search might miss acts that were passed but never widely publicized or indexed by a simple keyword query.

Always start with time boundaries. Use get_legislation_by_year for 1984, then repeat for 1985 to ensure you capture every piece of legislation from that period.

Confusing general search with structural analysis

The user asks: 'What are the parts of this Act?' They rely on search_legislation and get a list of documents, but no internal structure or chapter breakdown.

To understand the organization, you must use get_table_of_contents. That tool maps out the entire document's hierarchy, showing you exactly where everything is located.

When It Fits, When It Doesn't

Use this server if your research requires verifiable primary source data from the UK government. You need to know what the law says, not just that a law exists. If you are trying to understand structural relationships or historical changes (e.g., 'How did X change between 2015 and 2020?'), this is your primary toolset.

Don't use this if you simply need general information about the law, like an overview for a non-legal client. If you only need to know which agency handles a certain topic, another database might be faster. Also, don't rely on search_legislation as your single source of truth; always follow up with specialized tools like get_section or get_table_of_contents to guarantee data granularity and integrity.

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by UK Legislation. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

VINKIUS INFRASTRUCTURE

Cloud Hosted

Managed infra

V8 Isolated

Sandboxed per request

Zero-Trust Proxy

No stored credentials

DLP Enforced

Policy on every call

GDPR Compliant

EU data residency

Token Compression

~60% cost reduction

How we secure it →

Works with Claude, ChatGPT, Cursor, and more

The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.

This server provides 8 capabilities that interface natively with Claude, ChatGPT, Cursor, and any MCP client. No middleware. No custom integration required.

Available Capabilities

get_legislation get_legislation_by_year get_recent_legislation get_schedule get_section get_table_of_contents search_by_subject search_legislation

Finding the exact legal text you need shouldn't require three different government websites.

Today, finding a specific regulatory section means jumping between Act titles, checking date ranges on one site, and then cross-referencing that with another database to find the current version. It’s copy/paste hell just to verify a single paragraph.

With this server, you simply ask your agent: 'What is Section 3 of the Data Protection Act?' It runs `get_section`, pulls the definitive text directly from the source, and gives it to you in one clean response. No tabs, no jumping around.

The UK Legislation MCP Server delivers granular control using `get_section`.

Manual research forces you into macro views: 'I need to check the law.' This means fetching massive documents that contain thousands of irrelevant pages. You waste time filtering boilerplate language just to find one crucial paragraph.

Now, your agent uses `get_section`. It isolates exactly what you asked for—the section's text only. The output is clean, precise, and ready to cite immediately.

Common Questions About UK Legislation MCP

How do I find all laws related to finance from a specific year using get_legislation_by_year? +

You must first call get_legislation_by_year with the target year (e.g., 2024). Then, use search_by_subject on the resulting list of acts to filter for 'finance' or 'taxation' laws.

Is search_legislation better than get_section when I just need a general overview? +

No. search_legislation gives you a list of documents, which is too vague. If you want to see the actual text and structure of one document, use get_table_of_contents first, then drill down with get_section.

What do I use if I need to know what laws were published last week? +

You run the get_recent_legislation tool. This pulls the most recently published documents and gives you a list of acts, instruments, or amendments that are active now.

Can I find all regulations concerning data privacy using search_by_subject? +

Yes, this is the right tool. search_by_subject lets you input a high-level topic like 'data privacy' and retrieves every law across different years that touches on it.

How does using `get_table_of_contents` help me understand a complex Act's structure? +

It provides the full document hierarchy. This returns all chapters, parts, and sections within an Act, letting you map out the entire legal framework before diving into specifics.

When should I use `get_schedule` instead of retrieving a main section using `get_section`? +

Use get_schedule when the law contains supporting documents or detailed lists that aren't part of the narrative text. It isolates these structured appendix items for clean extraction.

What is the best sequence to use `search_legislation` and then look up details? +

First, run search_legislation to narrow results down to the specific Act or instrument you need. Then, pass that identifier directly into get_table_of_contents or get_legislation. This minimizes calls.

If I know an Act's name and year, how do I use `get_legislation` efficiently? +

You pass the specific identifier to get all core details in one go. This single call retrieves both the metadata and the main text, bypassing the need for multiple lookup steps.

Can I find the 'Human Rights Act 1998' and read its sections? +

Yes! Use the search_legislation tool with the title 'Human Rights' and year '1998'. Once you have the type (ukpga) and number (42), you can use get_section to read specific parts of the act.

How do I see all legislation enacted in 2023? +

Use the get_legislation_by_year tool and specify the year as '2023' and the type (e.g., 'ukpga' for Public General Acts). It will list all documents registered for that year.

Does this server provide recently published laws? +

Yes, you can use the get_recent_legislation tool to fetch a list of the most recently enacted and published legislative documents in the UK.

You might also like

Built & Managed by Vinkius 30s setup 8 tools

We've already built the connector for UK Legislation. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 8 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.