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

    Module clients/europeanParliamentClient

    European Parliament API Client – Facade

    Thin facade that delegates every public method to a bounded-context sub-client while keeping all public method signatures identical. All sub-clients share the same LRU cache and rate-limiter bucket.

    Architecture: Facade pattern over 8 domain sub-clients: MEPClient · PlenaryClient · VotingClient · CommitteeClient · DocumentClient · LegislativeClient · QuestionClient · VocabularyClient

    Intelligence Perspective: Primary OSINT data collection interface—implements rate-limited, cached access to all EP datasets for intelligence product generation.

    Business Perspective: Core API client powering all data products—reliability, caching, and rate limiting directly impact SLA commitments and customer experience.

    Marketing Perspective: Client performance metrics (cache hit rate, response time) serve as key technical differentiators in developer marketing materials.

    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

    EuropeanParliamentClient

    Variables

    epClient

    References

    APIError → APIError
    DEFAULT_CACHE_TTL_MS → DEFAULT_CACHE_TTL_MS
    DEFAULT_EP_API_BASE_URL → DEFAULT_EP_API_BASE_URL
    DEFAULT_MAX_CACHE_SIZE → DEFAULT_MAX_CACHE_SIZE
    DEFAULT_MAX_RESPONSE_BYTES → DEFAULT_MAX_RESPONSE_BYTES
    DEFAULT_MAX_RETRIES → DEFAULT_MAX_RETRIES
    DEFAULT_RATE_LIMIT_INTERVAL → DEFAULT_RATE_LIMIT_INTERVAL
    DEFAULT_RATE_LIMIT_TOKENS → DEFAULT_RATE_LIMIT_TOKENS
    DEFAULT_REQUEST_TIMEOUT_MS → DEFAULT_REQUEST_TIMEOUT_MS
    DEFAULT_RETRY_BASE_DELAY_MS → DEFAULT_RETRY_BASE_DELAY_MS
    DEFAULT_RETRY_ENABLED → DEFAULT_RETRY_ENABLED
    DEFAULT_RETRY_MAX_DELAY_MS → DEFAULT_RETRY_MAX_DELAY_MS
    validateApiUrl → validateApiUrl