European Parliament MCP Server API - v1.0.1
    Preparing search index...

    Function handleGetMEPDetails

    • Handles the get_mep_details MCP tool request.

      Retrieves comprehensive information about a single MEP identified by their unique ID, including biography, contact details, committee memberships, voting statistics, and parliamentary activities. Access to personal data is audit-logged for GDPR compliance.

      Parameters

      Returns Promise<ToolResult>

      MCP tool result containing detailed MEP profile data including biography, contact information, committee roles, voting record, and activity statistics

      • If args fails schema validation (e.g., missing or empty id field)
      • If the European Parliament API is unreachable or returns an error response
      const result = await handleGetMEPDetails({ id: 'MEP-124810' });
      // Returns full profile for MEP 124810, including committees and voting stats

      Input is validated with Zod before any API call. Personal data (biography, contact info) access is audit-logged per GDPR Art. 5(2) and ISMS Policy AU-002. Data minimisation applied per GDPR Article 5(1)(c).

      0.8.0