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

    Function loadWeeklyMEPCache

    • Returns Promise<
          | {
              mepDetails: Record<
                  string,
                  {
                      active: boolean;
                      committees: string[];
                      country: string;
                      id: string;
                      name: string;
                      politicalGroup: string;
                      termStart: string;
                      address?: string;
                      bday?: string;
                      biography?: string;
                      citizenship?: string;
                      email?: string;
                      facebook?: string;
                      familyName?: string;
                      givenName?: string;
                      hasEmail?: string;
                      hasGender?: string;
                      hasHonorificPrefix?: string;
                      hasMembership?: {
                          contactPoint: {
                              email?: (...)
                              | (...);
                              hasSite?: (...) | (...);
                              hasTelephone?: (...) | (...);
                              id?: (...) | (...);
                              officeAddress?: (...) | (...);
                              type?: (...) | (...);
                          }[];
                          id?: string;
                          identifier?: string;
                          memberDuring?: {
                              id: string;
                              type: string;
                              endDate?: (...)
                              | (...);
                              startDate?: (...) | (...);
                          };
                          membershipClassification?: string;
                          notation_codictFunctionId?: string;
                          notation_codictMandateId?: string;
                          organization?: string;
                          represents?: string[];
                          role?: string;
                          type?: string;
                      }[];
                      identifier?: string;
                      img?: string;
                      label?: string;
                      notation_codictPersonId?: string;
                      phone?: string;
                      placeOfBirth?: string;
                      roles?: string[];
                      sortLabel?: string;
                      termEnd?: string;
                      twitter?: string;
                      type?: string;
                      upperFamilyName?: string;
                      upperGivenName?: string;
                      votingStatistics?: {
                          abstentions: number;
                          attendanceRate: number;
                          totalVotes: number;
                          votesAgainst: number;
                          votesFor: number;
                      };
                      website?: string;
                  },
              >;
              meps: {
                  active: boolean;
                  committees: string[];
                  country: string;
                  id: string;
                  name: string;
                  politicalGroup: string;
                  termStart: string;
                  email?: string;
                  termEnd?: string;
              }[];
              metadata: {
                  generatedAt: string;
                  schemaVersion: number;
                  source: string;
                  complete?: boolean;
                  dataset?: "meps"
                  | "corporate-bodies"
                  | "controlled-vocabularies";
                  detailCount?: number;
                  recordCount?: number;
                  scope?: "current" | "all";
                  weekKey?: string;
              };
          }
          | null,
      >