European Parliament MCP Server API - v1.3.9
    Preparing search index...
    • Internal

      Strip the person/ prefix and surrounding whitespace from a MEP identifier.

      The EP API returns MEP ids in several forms (person/124936, 124936, MEP-124936). We normalise to the bare numeric token plus the original string so substring matches against author fields succeed regardless of the representation chosen by a given endpoint.

      Parameters

      • id: string

      Returns string[]