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

    Function fetchAllMEPs

    • Fetches every MEP page, preserving the configured page size for each request.

      Parameters

      • client: MEPPageClient

        Client used to retrieve MEP pages.

      • batchSize: number

        Number of MEPs requested per page.

      Returns Promise<unknown[]>

      All MEP records returned by the paginated endpoint.