European Parliament MCP Server API - v1.3.9
    Preparing search index...
    • Compute political-group sentiment scores over a configurable time window.

      Implementation of the MCP sentiment_tracker tool. Combines current EP API MEP composition with DOCEO roll-call vote (RCV) records inside the requested timeframe window to derive a per-group sentiment score, trend, volatility, polarization index, and consensus/divisive topic lists. Falls back to a seat-share-only proxy with confidenceLevel: 'LOW' and an explicit methodology note when DOCEO coverage is insufficient.

      Parameters

      • params: { timeframe: "last_month" | "last_quarter" | "last_year"; groupId?: string }

        Validated tool parameters (see SentimentTrackerSchema)

      Returns Promise<ToolResult>

      A ToolResult containing the sentiment report or a structured error response on failure.