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

    Function handleGetMEPDetails

    • Handles the get_mep_details MCP tool request.

      Retrieves the complete EP API v2 profile for a single MEP, including biographical fields and full membership history. Access to personal data is audit-logged for GDPR compliance.

      Parameters

      Returns Promise<ToolResult>

      MCP tool result containing the detailed MEP profile and membership records

      • 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 the EP profile for MEP 124810, including complete memberships

      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