Find members of the European Parliament
euparl_search_mepsFind MEPs by name, person ID, country, political group, gender, parliamentary term, or mandate date. Omitting term and mandate_date selects members in office today; term selects that published term roster; mandate_date selects members seated on that date. Name matching requires every normalized token after case, diacritic, and punctuation normalization over the complete roster before paging. mep_ids names the person IDs other tools return (voter mep_id, participant person_ids, question creator person/ references) in one call; requested IDs absent from the roster come back in unmatched_mep_ids. Country and group are published for the selected roster, never inferred for another date; term rosters publish neither. Continue with page.next_offset and snapshot; restart at offset 0 without snapshot after snapshot_changed. Read identity and membership history with euparl_get_mep. Empty matches succeed with guidance.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "euparl_search_meps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | Parliamentary term 0–10, exclusive with mandate_date; omitting both selects members in office today. | |
| limit | No | Whole items requested; default 20. Whole-acquired local collections return the requested count or remaining rows, without an output-size cap. Values above the safe-integer range normalize to 9007199254740991; search windows and bounded modes may narrow further. | |
| gender | No | Supported gender code FEMALE, MALE, NAP, NKN, or NST, case-insensitive. | |
| offset | No | Zero-based collection offset; default 0. | |
| country | No | Supported ISO alpha-2 country code, case-insensitive. United Kingdom members are published as GB (UK accepted), on historical rosters only. See euparl_list_reference topic mep_filters. | |
| mep_ids | No | Person IDs to keep from the selected roster, as other tools return them: voter mep_id, participant person_ids, question creator person/ references. Canonicalized and deduplicated; an empty list counts as omitted; an org/ creator or other non-person entry is rejected. Narrows together with every other filter, with no extra upstream request. Pick the roster the IDs belong to: mandate_date (the vote or sitting date) for country and group as published that day, term for names only. | |
| language | No | Supported EU ISO-639-1 language, case-insensitive; default en; source text is never translated. | |
| snapshot | No | Returned roster snapshot; required for offset above 0, optional at offset 0. | |
| mandate_date | No | Members holding a seat on this YYYY-MM-DD date, not after today (UTC); exclusive with term. Country and group are matched and returned as published on that date. A term's first sitting day can return an incomplete roster or an upstream error; use the following day. | |
| name_contains | No | All-token name filter over the complete selected roster; case, diacritics, and punctuation are normalized, without fuzzy scoring. Must keep at least one letter or digit. | |
| political_group | No | Published political group code, current or historical (PPE, S-D, PPE-DE, ALDE, GUE-NGL…), or its published label (S&D, Verts/ALE, The Left, IND/DEM), case-insensitive; EPP, Greens/EFA and Patriots are accepted too. euparl_list_reference topic mep_filters lists every code with its label and periods. GUE/NGL selects GUE-NGL on terms 0–8 and dates through 2020-12-18, the last day the dated roster matches GUE-NGL, and THE-LEFT otherwise. With mandate_date, or on the current roster, it matches only the code in force that day. On a term roster it matches the term's members holding a membership in the code that had not ended when the term began, later memberships included, not who sat in the group during the term; use mandate_date for that. Query aliases never rewrite historical organization identities. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | Effective whole-item page limit. | |
| page | No | Whole-item page metadata. | |
| error | No | Present when the call failed. Absent on success. | |
| items | No | Complete member records on the selected local page. | |
| shown | No | Whole items shown on this partial page. | |
| notice | No | Publication, language fallback, empty-result or continuation guidance. | |
| available | No | Whether the selected source array was published, including a published empty array. | |
| truncated | No | True when this page returns only part of the selected collection. | |
| totalCount | No | Exact count only when published or computed over a complete collection. | |
| appliedFilters | No | Actual normalized retrieval scope and filters. | |
| unmatched_mep_ids | No | Requested mep_ids with no row in the selected roster after every filter, canonical, in first-seen order; the same on every page. Present only when mep_ids was supplied. A wrong term or date is the usual cause; euparl_get_mep reads any member by ID. |