Skip to content
Eden Engine

Search UK Parliament Members

ukparliamentmembers/search-members

Searches the members of the UK House of Commons and House of Lords by name, optionally only current members or one house. 20 per page at most, each with member id, names, party, house, constituency or peerage type and membership dates. 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/search-members" })

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

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "ukparliamentmembers/search-members", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "ukparliamentmembers/search-members", 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",
  "anyOf": [
    {
      "required": [
        "name"
      ]
    },
    {
      "required": [
        "house"
      ]
    },
    {
      "required": [
        "isCurrentMember"
      ]
    }
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "description": "Part of a name, for example Starmer or Adams of Craigielea. Give at least one of name, house or isCurrentMember."
    },
    "skip": {
      "type": "integer",
      "default": 0,
      "maximum": 100000,
      "minimum": 0,
      "description": "Results to skip, for paging, default 0."
    },
    "take": {
      "type": "integer",
      "default": 20,
      "maximum": 20,
      "minimum": 1,
      "description": "Results per page, 1 to 20, default 20."
    },
    "house": {
      "enum": [
        1,
        2
      ],
      "type": "integer",
      "description": "1 for the Commons, 2 for the Lords. Leave out for both."
    },
    "isCurrentMember": {
      "type": "boolean",
      "description": "true for sitting members only, false for former members only. Leave out for both."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "items"
  ],
  "properties": {
    "skip": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Members skipped."
    },
    "take": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Page size used."
    },
    "items": {
      "type": "array",
      "items": {
        "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": "A member.",
        "additionalProperties": true
      },
      "description": "Matching members."
    },
    "total": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Members matching the search."
    }
  },
  "additionalProperties": true
}