European Parliament MCP Server API - v1.0.1
    Preparing search index...
    • Handles the compare_political_groups MCP tool request.

      Compares European Parliament political groups across configurable dimensions including voting discipline, activity level, legislative output, attendance, and internal cohesion. Produces ranked comparisons and an overall performance score for each group.

      Parameters

      Returns Promise<ToolResult>

      MCP tool result containing per-group dimension scores, rankings, seat-share distribution, and a computed parliamentary balance index

      • If args fails schema validation (e.g., missing required fields or invalid format)
      • If the European Parliament API is unreachable or returns an error response
      const result = await handleComparePoliticalGroups({
      groupIds: ['EPP', 'S&D', 'Renew', 'Greens/EFA'],
      dimensions: ['voting_discipline', 'activity_level', 'cohesion'],
      dateFrom: '2024-01-01',
      dateTo: '2024-12-31'
      });
      // Returns ranked group comparison with per-dimension scores
      // and overall performance leaderboard
      • Input is validated with Zod before any API call.
      • Personal data in responses is minimised per GDPR Article 5(1)(c).
      • All requests are rate-limited and audit-logged per ISMS Policy AU-002.

      0.8.0