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

    Function createGroupID

    • Factory function to create a validated Political Group ID

      Parameters

      • value: string

        String to convert to Group ID

      Returns GroupID

      Branded Group ID

      If value is not a valid Group ID

      const groupId = createGroupID("EPP");
      const members = await getGroupMembers(groupId);

      Input validation prevents injection attacks