Skip to main content
Glama

UK Data: UK MPs and elections

Server Details

UK MPs and constituencies: election results and history, Cabinet posts, party seat numbers

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A4.1/5.0

Scored across 8 tools

Disambiguation4/5

Each tool targets a distinct slice of the domain (cabinet composition, Commons/Lords party totals, constituency lookup vs. result, member career, interests, contact details), so misselection is unlikely. The main wrinkle is that descriptions repeatedly point agents to an 'mp_lookup' tool for postcode→MP and member-id resolution, which is not in the set, leaving an ambiguous path to member ids.

Naming Consistency4/5

All names are snake_case and readable, but the convention is noun-phrase based with mixed ordering: some lead with the entity (cabinet_ministers, lords_party_composition, member_career_history) while others lead with the resource being queried (constituency_search, constituency_election_result). Predictable enough to navigate, with minor inconsistency in prefixing ('mp_' vs 'member_').

Tool Count5/5

Eight tools is well-scoped for a UK Parliament data surface covering both Houses, elections and member profiles. Each tool corresponds to a distinct question type and none feel like padding.

Completeness3/5

Coverage of elections results, party composition, and member profiles is solid, but there is no member search by name and the advertised postcode-to-MP lookup ('mp_lookup') does not exist, so agents must go through constituency_search to obtain a member id. There is also no tool for current MPs representing a given area beyond the constituency route, leaving a notable dead end.

Available Tools

8 tools
cabinet_ministersA
Read-onlyIdempotent
Inspect

Who holds each UK Cabinet and Cabinet-level post right now, Prime Minister first: the post, department, minister, party, seat and start date, from the UK Parliament Members API. A live answer for "who is the current Chancellor / Health Secretary?" after reshuffles. Optional q filters by post, department or name. Cabinet and Cabinet-level posts only (about 28: Prime Minister, Chancellor, Secretaries of State, Chief Whip, Leaders of both Houses, Attorney General and a few others); junior ministers, most Ministers of State and Parliamentary Under-Secretaries are not covered. (cost: 1 credit)

Inputs: q.

commons_party_seatsA
Read-onlyIdempotent
Inspect

How many seats each party holds in the House of Commons on a given date, with totals and the number of women MPs, from the UK Parliament Members API state of the parties. Answers "how many MPs does each party have?" after defections and by-elections. Shows the largest party's margin as simple arithmetic; it does not compute the official working majority. (cost: 1 credit)

Inputs: date.

constituency_election_resultA
Read-onlyIdempotent
Inspect

Latest election result for a UK parliamentary constituency: every candidate with party, votes and vote share, the winner, majority, electorate and turnout, from the UK Parliament Members API. Answers "who won in X and by how much?", including by-elections. Needs a constituency id (get one from constituency_search). Covers Westminster elections only, not local, mayoral or devolved elections. (cost: 1 credit)

Inputs: constituencyId.

lords_party_compositionA
Read-onlyIdempotent
Inspect

How many members of the House of Lords each party or group has on a given date, including Crossbench peers, Bishops and non-affiliated members, from the UK Parliament Members API state of the parties. Useful for "how big is the Lords?" and Lords reform questions. Totals may differ slightly from Parliament's published figures depending on how members on leave are counted. (cost: 1 credit)

Inputs: date.

member_career_historyA
Read-onlyIdempotent
Inspect

An MP's or peer's career in Parliament: seats held, party changes, ministerial and shadow posts, other posts and select committee memberships, each with start and end dates, from the UK Parliament Members API. Answers "was X ever a minister?" or "what committees has X sat on?" for journalists, researchers and public affairs. Covers parliamentary roles only, not careers outside Parliament. (cost: 1 credit)

Inputs: memberId.

member_registered_interestsA
Read-onlyIdempotent
Inspect

An MP's or peer's declared financial interests by category: outside jobs and earnings, donations, gifts and hospitality, overseas visits, shareholdings and more, with payment details and registration dates, from the UK Parliament Members API. Answers "who pays or funds my MP?" for constituents, journalists and due diligence. Shows what members declared, unverified; ministers' interests published by the Cabinet Office are not included. (cost: 1 credit)

Inputs: memberId.

mp_contact_detailsA
Read-onlyIdempotent
Inspect

Official contact details for an MP or peer: parliamentary and constituency office addresses, phone numbers, email, website and listed social media, as published by the UK Parliament Members API. Answers "how do I contact my MP?" for letter writers and constituents with casework. Needs a member id (from mp_lookup or constituency_search); former members usually have no details listed. (cost: 1 credit)

Inputs: memberId.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Provides access to live UK Parliament data including bills, votes, MP profiles, and financial interests without requiring an API key. It enables users to track parliamentary rebellions, search petitions, and cross-reference voting records with declared financial interests.
      5
      9
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables searching and retrieving UK Parliament records — bills, members, Commons and Lords divisions, Hansard contributions, written questions, and committee business — from the official Parliament APIs. Runs over STDIO or Streamable HTTP with no API key, linking records across their distinct identifiers.
      316 npm
      1
      Apache 2.0
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to query and compare Indian MPs using parliamentary records, attendance, affidavits, and election results, including topic search, report cards, rankings, and source-backed answers.
      -
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources