UK Parliament Monitor: Bills, Votes & New Laws (MCP) avatar

UK Parliament Monitor: Bills, Votes & New Laws (MCP)

Pricing

Pay per event

Go to Apify Store
UK Parliament Monitor: Bills, Votes & New Laws (MCP)

UK Parliament Monitor: Bills, Votes & New Laws (MCP)

Official UK Parliament APIs unified: bills with live stage + sponsors, Commons & Lords votes with counts, MP/peer lookup. Monitor a watchlist for new bills, stage changes and divisions since the last run. MCP-ready.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Zakaria el bouami

Zakaria el bouami

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

6 days ago

Last modified

Share

Every bill moving through the UK Parliament, every Commons and Lords vote with the count, every MP and peer — straight from the official parliament.uk APIs, no key, no login. Search mode for one-off lookups, monitor mode for daily "what changed in Westminster" diffs. MCP-compatible, agent-ready.

Why this data is hard (and worth it)

  • The official Parliament data sits behind four separate APIs (bills, Commons divisions via an OData endpoint most people never find, Lords divisions with a different schema, and the members API) — each with its own pagination, date formats, and structure. This actor unifies all of them into one clean row per record.
  • Bills move constantly: 4,000+ bills live in the system, stages change (first reading → second reading → committee → royal assent), titles are renamed, bills are withdrawn or defeated. An LLM answering "where is the Workers' Rights Bill now?" is guessing; this returns the live stage.
  • Votes are reported per division with full Aye/No (Commons) and Content/Not Content (Lords) counts — the answer to "did it pass?" with numbers, not vibes.

What you get per record

Bills (recordKind: "bill"): billId, shortTitle, currentHouse, originatingHouse, currentStage + abbreviation, lastUpdateISO, isAct/isDefeated/billWithdrawn, and in search mode longTitle, summary and sponsors (member + party, up to 8).

Votes (recordKind: "vote"): divisionId, house, title, dateISO, ayeCount / noCount, resultWon (aye/no or content/not-content for the Lords).

Members (recordKind: "member"): memberId, memberName, party, house, constituency, membershipSince.

{ "mode": "search", "query": "artificial intelligence", "searchIn": "all", "daysBack": 30, "maxResults": 10 }
  • Bills: keyword in title (recently updated subset), enriched with long title + sponsors.
  • Votes: divisions in the last N days (default 30) matching the keyword.
  • Members: MP/peer by name ("Starmer", "May", "Sunak").
  • Charged $0.001 per row.

Mode monitor — Westminster diff radar

{ "mode": "monitor", "watchlist": ["energy", "immigration", "artificial intelligence"], "maxResults": 20 }
  • Run 1 = free baseline (info row only): cursor + stage snapshot of current bills.
  • Run 2+: emits only what changed —
    • new-bill: a bill matching your watchlist appeared,
    • stage-changed: a watched bill just moved stage (previous stage included — the moment journalists and lobbyists care about),
    • bill-updated: procedural updates to a watched bill,
    • vote-held: new Commons/Lords divisions whose title matches.
  • Schedule daily; a quiet day costs $0.001. Webhook to Slack/Sheets via Apify.

Three ready recipes

  1. Policy-agent brief — as an MCP tool, your agent answers "what did Parliament do about AI this week?" with dated bills, stages, sponsor parties, and vote counts — sourced, not hallucinated.
  2. Bill tracking for lobbyists/NGOs — monitor a watchlist (["employment rights", "data protection"]), get alerts the moment a tracked bill changes stage.
  3. Vote research — search today's divisions on a topic, get per-division counts and outcomes for both Houses.

Data honesty & limits

  • Bill search covers the most recently updated bills (top ~200 by update date); the full archive (4,000+) is not keyword-indexed client-side — for deep history use bills.parliament.uk directly.
  • Lords divisions use member counts when available; aggregated teller counts otherwise (source may vary slightly vs the live ticker).
  • Written Questions are not included (the official Q&A endpoints are unstable — we ship only reliable sources).
  • All fields come from the official APIs at run time; no derived scores are invented.

Sources (official, anonymous, no key)

  • Bills: bills-api.parliament.uk · Members: members-api.parliament.uk · Commons divisions: commonsvotes-api.parliament.uk · Lords divisions: lordsvotes-api.parliament.uk

Price

eventprice
Actor start$0.001
Parliament record extracted (bill/vote/member row)$0.001 / row

Typical runs: enriched 10-row search ≈ $0.011 · daily radar with 3 stage changes + 2 new votes ≈ $0.006.

MCP / AI-agent usage

Add the actor to your agent's tools, or call:

https://api.apify.com/v2/acts/YOUR_HANDLE~uk-parliament-monitor/run-sync-get-dataset-items?token=YOUR_TOKEN

Input = the JSON examples above. Output = the dataset rows described in the table. Compatible with per-request agentic payments.

Questions / feedback: see the actor's Issues tab on Apify Store.