Skip to content
Eden Engine

Search UK Parliamentary Constituencies

ukparliamentmembers/search-constituencies

Searches UK parliamentary constituencies by name: constituency id, the dates it exists, and the member who currently represents it. 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-constituencies" })

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

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "ukparliamentmembers/search-constituencies", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "ukparliamentmembers/search-constituencies", 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": [
    "searchText"
  ],
  "properties": {
    "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."
    },
    "searchText": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "description": "Part of a constituency name, for example Holborn."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "items"
  ],
  "properties": {
    "skip": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Skipped."
    },
    "take": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Page size used."
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Constituency id."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Constituency name."
          },
          "end_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "When it was abolished, YYYY-MM-DD; null while it exists."
          },
          "start_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the seat was created, YYYY-MM-DD."
          },
          "current_member": {
            "type": [
              "object",
              "null"
            ],
            "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 currently representing the seat; null for an abolished or vacant seat.",
            "additionalProperties": true
          }
        },
        "description": "A constituency.",
        "additionalProperties": true
      },
      "description": "Matching constituencies."
    },
    "total": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Constituencies matching."
    }
  },
  "additionalProperties": true
}