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

    Module clients/ep/baseClient

    Base European Parliament API Client

    Shared HTTP infrastructure for all EP API sub-clients: LRU caching, token-bucket rate limiting, timeout/retry logic, and structured audit/performance instrumentation.

    ISMS Policies:

    • SC-002 (Secure Coding Standards)
    • PE-001 (Performance Standards)
    • AU-002 (Audit Logging and Monitoring)
    • DP-001 (Data Protection and GDPR Compliance)

    Classes

    APIError
    BaseEPClient

    Variables

    DEFAULT_CACHE_TTL_MS
    DEFAULT_EP_API_BASE_URL
    DEFAULT_MAX_CACHE_SIZE
    DEFAULT_MAX_RESPONSE_BYTES
    DEFAULT_MAX_RETRIES
    DEFAULT_RATE_LIMIT_INTERVAL
    DEFAULT_RATE_LIMIT_TOKENS
    DEFAULT_REQUEST_TIMEOUT_MS
    DEFAULT_RETRY_BASE_DELAY_MS
    DEFAULT_RETRY_ENABLED
    DEFAULT_RETRY_MAX_DELAY_MS

    Functions

    validateApiUrl