Raw tool arguments, validated against GetMEPsSchema
MCP tool result containing a paginated list of MEP records with name, country, political group, committee memberships, and contact information
With operation: 'validateInput' if args fails Zod schema validation
(e.g., country code not 2 uppercase letters, limit out of range 1–100)
With operation: 'validateOutput' if the EP API response does not match
the expected schema shape
With operation: 'fetchData' if the European Parliament API is
unreachable or returns an error response
const result = await handleGetMEPs({ country: 'SE', limit: 10 });
// Returns up to 10 Swedish MEPs with group and committee details
// Get active EPP group members
const result = await handleGetMEPs({ group: "EPP", active: true, limit: 50 });
Handles the get_meps MCP tool request.
Retrieves Members of European Parliament with optional filtering by country, political group, committee, and active status. Results are paginated and GDPR-compliant.
Intelligence Use Cases: Filter by country for national delegation analysis, by group for cohesion studies, by committee for policy domain expertise mapping.
Business Use Cases: Power stakeholder mapping products, political risk dashboards, and MEP engagement tracking for corporate affairs teams.
Marketing Use Cases: Demo-ready endpoint for showcasing EP data access to potential API consumers, journalists, and civic tech developers.