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

    Function handleTrackLegislation

    • Handles the track_legislation MCP tool request.

      Tracks a specific European Parliament legislative procedure through its full lifecycle — from initial proposal through committee review, plenary vote, trilogue, and final adoption. Accepts both EP API process-id format (2024-0006) and human-readable reference format (2024/0006(COD)).

      Parameters

      Returns Promise<ToolResult>

      MCP tool result containing the procedure's current stage, timeline, committee assignments, voting records, and next-step projections

      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 handleTrackLegislation({
      procedureId: '2024/0006(COD)'
      });
      // Returns legislative tracking with current stage, timeline milestones,
      // committee assignments, and estimated adoption timeline

      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

      • trackLegislationToolMetadata for MCP schema registration
      • handleMonitorLegislativePipeline for pipeline-wide health and bottleneck analysis