Integration

UK Parliament Bills integration

The UK Parliament's open data API for bills before Parliament, back to 2007. Search bills by title, session, house, sponsor, type or stage, read a bill with its sponsors and current stage, follow every stage and sitting, list and read the amendments tabled at a stage and the motions and amendments exchanged between the two Houses (ping-pong), and find bill publications (bill texts, amendment papers, explanatory notes) and download their files. The RSS feed routes are left out. No authentication: the API is free and open, with no key or registration.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in UK Parliament Bills.Built from the 18 UK Parliament Bills tools below, on the connection you add once.

What you can do with UK Parliament Bills

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Publication, 3 operations

  • list_bill_publicationsList bill publicationsGETList every publication of one bill (bill texts as introduced and amended, amendment papers, explanatory notes, Hansard links) with links and downloadable files.
  • list_bill_stage_publicationsList bill stage publicationsGETList the publications attached to one stage of a bill and to each of its sittings, such as amendment papers and Hansard debate links.
  • list_publicationsList publicationsGETList all bill publications displayed between two dates, across every bill, optionally for one house. Returns each publication with its type, links and files.

Stage, 3 operations

  • get_bill_stageGet bill stageGETGet one stage of a bill: its sittings, the committee that took it, the previous and next stage ids, and whether it has ping-pong motions.
  • list_bill_stagesList bill stagesGETList every stage of one bill in order (readings, committee, report, consideration of amendments, Royal Assent) with the house, session and sitting dates of each.
  • list_stage_typesList stage typesGETList the stage types a bill can go through in each house (readings, committee, report, consideration of amendments, Royal Assent) with their ids for filtering search_bills.

Amendment, 2 operations

  • get_amendmentGet amendmentGETGet one amendment with its full text line by line, explanatory statement, sponsors, the clause, page and line it applies to, and the decision taken on it.
  • list_amendmentsList amendmentsGETList the amendments tabled at one stage of a bill, filtered by words in the text, amendment number, sponsoring member or decision, with each amendment's opening lines, sponsors and decision.

Bill, 2 operations

  • get_billGet billGETGet one bill by its id: short and long title, summary, sponsors and their departments, current house and stage, whether it is an Act, and for a private bill its promoters, agent and petitioning details.
  • search_billsSearch billsGETSearch bills before the UK Parliament by words in the short title, session, current or originating house, sponsoring member, bill type, current stage, or status (defeated, withdrawn, open to amendment).

Ping pong item, 2 operations

  • get_ping_pong_itemGet ping pong itemGETGet one ping-pong motion or amendment with its full text, the amendments proposed to it, its sponsors and its decision.
  • list_ping_pong_itemsList ping pong itemsGETList the motions and amendments exchanged between the Commons and the Lords (ping-pong) at a consideration-of-amendments stage of a bill, with their decisions.

Bill type, 1 operation

  • list_bill_typesList bill typesGETList the types of bill (Government Bill, the kinds of Private Members' Bill, Private, Hybrid, Consolidation, Draft) with their ids for filtering search_bills.

Document, 1 operation

  • get_publication_documentGet publication documentGETGet the details of one file of a bill publication: file name, media type and size, before downloading it with download_publication_document.

Download, 1 operation

  • download_publication_documentDownload publication documentGETDownload one file of a bill publication (usually a PDF of the bill text or an amendment paper) and return it as a stored file.

News article, 1 operation

  • list_bill_news_articlesList bill news articlesGETList the news articles Parliament published about one bill (progress updates and what happens next).

Publication type, 1 operation

  • list_publication_typesList publication typesGETList the types of bill publication (Bill, Act of Parliament, Amendment Paper, Explanatory Notes and so on) with a description of each.

Sitting, 1 operation

  • list_sittingsList sittingsGETList bill sittings (the dates on which a stage of a bill is taken) across all bills, by house and date range, newest first.

Use UK Parliament Bills from Claude Code, Cursor or Codex

Connect UK Parliament Bills in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its UK Parliament Bills operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect UK Parliament Bills

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect UK Parliament Bills once

    UK Parliament Bills needs no credential, so its tools work immediately.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

UK Parliament Bills integration FAQ

What can you do with the UK Parliament Bills integration?

LiveContext exposes 18 operations on UK Parliament Bills, covering publication, stage, amendment and bill.

Popular integrations

Browse the whole catalog