Skip to content
Eden Engine

Get UK Parliament Member

ukparliamentmembers/get-member

Returns one UK Parliament member by id: names, gender, party, house, constituency or peerage type, membership dates, end reason and whether the member is current. Contains Parliamentary information licensed under the Open Parliament Licence v3.0 (https://www.parliament.uk/site-information/copyright-parliament/open-parliament-licence/). Source: UK Parliament Members API, https://members-api.parliament.uk. Modified by Eden Engine (fields renamed and reduced; photos and contact details are not included). Served by Eden Engine; not an official UK Parliament product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

UK Parliament Members API

Contains Parliamentary information licensed under the Open Parliament Licence v3.0 (https://www.parliament.uk/site-information/copyright-parliament/open-parliament-licence/). Source: UK Parliament Members API, https://members-api.parliament.uk. Modified by Eden Engine (fields renamed and reduced; photos and contact details are not included). Served by Eden Engine; not an official UK Parliament product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "ukparliamentmembers/get-member" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "ukparliamentmembers/get-member" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "ukparliamentmembers/get-member", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "ukparliamentmembers/get-member", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 26, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "maximum": 99999999,
      "minimum": 1,
      "description": "Member id from search-members, for example 4514."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "description": "Member id, the number the other Members tools take."
    },
    "house": {
      "type": [
        "string",
        "null"
      ],
      "description": "Commons or Lords."
    },
    "party": {
      "type": [
        "string",
        "null"
      ],
      "description": "Party of the latest house membership."
    },
    "gender": {
      "type": [
        "string",
        "null"
      ],
      "description": "M or F."
    },
    "party_id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Party id."
    },
    "name_display": {
      "type": [
        "string",
        "null"
      ],
      "description": "Display name, for example Sir Keir Starmer."
    },
    "name_list_as": {
      "type": [
        "string",
        "null"
      ],
      "description": "Sort name, family name first, for example Starmer, Sir Keir."
    },
    "membership_end": {
      "type": [
        "string",
        "null"
      ],
      "description": "End of the latest membership, YYYY-MM-DD; null while the member is current."
    },
    "membership_from": {
      "type": [
        "string",
        "null"
      ],
      "description": "Constituency (Commons) or type of peerage (Lords) of the latest membership."
    },
    "name_full_title": {
      "type": [
        "string",
        "null"
      ],
      "description": "Full name with titles."
    },
    "membership_start": {
      "type": [
        "string",
        "null"
      ],
      "description": "Start of the latest membership, YYYY-MM-DD."
    },
    "is_current_member": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "True while the member sits, false once the membership has ended; null when the API gives neither a status nor an end date."
    },
    "party_abbreviation": {
      "type": [
        "string",
        "null"
      ],
      "description": "Party abbreviation, for example Lab."
    },
    "membership_end_reason": {
      "type": [
        "string",
        "null"
      ],
      "description": "Why the membership ended, null while current."
    }
  },
  "description": "The member.",
  "additionalProperties": true
}