get_my_mp
Find your MP by postcode and get their full profile, including constituency, biography, interests, election results, and voting record. Optionally filter votes by topic.
Instructions
Find your MP by postcode and get their full profile - combines postcode lookup, biography, interests, election result, and voting | who is my MP, postcode lookup, constituency MP, local representative | Use when someone wants to find their MP from a postcode | Returns MP profile with constituency, biography, interests, election results, and recent votes (and how they voted on a topic, if given). Combines: search_members (location), get_members_biography, search_roi, get_member_latest_election_result, get_member_voting, get_commons_voting_record_for_member. See also: get_mp_profile, check_mp_vote.
Args:
postcode: UK postcode to look up (e.g., 'SW1A 1AA', 'N1 9GU').
topic: Optional topic keyword to filter votes (e.g., 'climate', 'NHS').
Returns:
Combined MP profile with constituency, biography, interests, election result, and voting data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | ||
| postcode | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |