EU Parliament Monitor — API Documentation - v0.8.30
    Preparing search index...
    • Fetch committee data from three MCP sources for the given abbreviation. Each source failure is caught individually so partial data is still returned.

      When the environment variable EP_COMMITTEE_DATA_FILE is set, pre-fetched committee data is loaded from that JSON file instead of calling the MCP client. This enables agentic workflows to inject real EP data.

      When MCP returns placeholder data (chair=N/A, members=0, docs=[]), a direct call to the EP v2 API is attempted as a fallback to populate at least the committee name and abbreviation.

      Parameters

      Returns Promise<CommitteeData>

      Populated committee data