EU Parliament Monitor — API Documentation - v0.8.4
    Preparing search index...

    Module euparliamentmonitor

    European Parliament Intelligence Platform — npm package entry point.

    This barrel re-exports the reusable library surface of the EU Parliament Monitor so that other projects can consume types, MCP clients, analysis utilities, templates, and language constants without duplicating code.

    import {
    EuropeanParliamentMCPClient,
    getEPMCPClient,
    ALL_LANGUAGES,
    scoreVotingAnomaly,
    generateArticleHTML,
    } from 'euparliamentmonitor';

    Functions

    isRetriableError → isRetriableError
    formatRetryAfter → formatRetryAfter
    parseSSEResponse → parseSSEResponse
    getEPMCPClient → getEPMCPClient
    closeEPMCPClient → closeEPMCPClient
    getWBMCPClient → getWBMCPClient
    closeWBMCPClient → closeWBMCPClient
    withRetry → withRetry
    scoreVotingAnomaly → scoreVotingAnomaly
    analyzeCoalitionCohesion → analyzeCoalitionCohesion
    scoreMEPInfluence → scoreMEPInfluence
    calculateLegislativeVelocity → calculateLegislativeVelocity
    rankBySignificance → rankBySignificance
    buildIntelligenceSection → buildIntelligenceSection
    buildDefaultStakeholderPerspectives → buildDefaultStakeholderPerspectives
    scoreStakeholderInfluence → scoreStakeholderInfluence
    buildStakeholderOutcomeMatrix → buildStakeholderOutcomeMatrix
    rankStakeholdersByInfluence → rankStakeholdersByInfluence
    computeVotingIntensity → computeVotingIntensity
    detectCoalitionShifts → detectCoalitionShifts
    computePolarizationIndex → computePolarizationIndex
    detectVotingTrends → detectVotingTrends
    computeCrossSessionCoalitionStability → computeCrossSessionCoalitionStability
    rankMEPInfluenceByTopic → rankMEPInfluenceByTopic
    buildLegislativeVelocityReport → buildLegislativeVelocityReport
    createEmptyIndex → createEmptyIndex
    addArticleToIndex → addArticleToIndex
    buildIndexFromEntries → buildIndexFromEntries
    findRelatedArticles → findRelatedArticles
    generateCrossReferences → generateCrossReferences
    detectTrends → detectTrends
    findOrCreateSeries → findOrCreateSeries
    buildRelatedArticlesHTML → buildRelatedArticlesHTML
    assessAnalysisDepth → assessAnalysisDepth
    assessStakeholderCoverage → assessStakeholderCoverage
    assessVisualizationQuality → assessVisualizationQuality
    calculateOverallScore → calculateOverallScore
    generateRecommendations → generateRecommendations
    scoreArticleQuality → scoreArticleQuality
    validateArticleContent → validateArticleContent
    validateTranslationCompleteness → validateTranslationCompleteness
    stripScriptBlocks → stripScriptBlocks
    parseArticleFilename → parseArticleFilename
    formatSlug → formatSlug
    calculateReadTime → calculateReadTime
    escapeHTML → escapeHTML
    isSafeURL → isSafeURL
    validateArticleHTML → validateArticleHTML
    detectCategory → detectCategory
    parseWorldBankCSV → parseWorldBankCSV
    formatIndicatorValue → formatIndicatorValue
    getMostRecentValue → getMostRecentValue
    buildEconomicContext → buildEconomicContext
    getWorldBankCountryCode → getWorldBankCountryCode
    isEUMemberState → isEUMemberState
    buildEconomicContextHTML → buildEconomicContextHTML
    generateArticleHTML → generateArticleHTML
    getLocalizedString → getLocalizedString
    isSupportedLanguage → isSupportedLanguage
    getTextDirection → getTextDirection
    getCommitteeIndicators → getCommitteeIndicators
    getCommitteePrimaryIndicators → getCommitteePrimaryIndicators
    getCategoryIndicators → getCategoryIndicators
    getIndicatorIdsForCommittees → getIndicatorIdsForCommittees
    getAllCategoryIndicatorIds → getAllCategoryIndicatorIds

    Classes

    MCPConnection → MCPConnection
    MCPSessionExpiredError → MCPSessionExpiredError
    MCPRateLimitError → MCPRateLimitError
    EuropeanParliamentMCPClient → EuropeanParliamentMCPClient
    WorldBankMCPClient → WorldBankMCPClient
    CircuitBreaker → CircuitBreaker
    MCPHealthMonitor → MCPHealthMonitor

    Interfaces

    CircuitBreakerOptions → CircuitBreakerOptions
    MCPRetryPolicy → MCPRetryPolicy
    ToolHealthEntry → ToolHealthEntry
    HealthSnapshot → HealthSnapshot
    ArticleValidationResult → ArticleValidationResult
    IndicatorMapping → IndicatorMapping
    CommitteeIndicatorEntry → CommitteeIndicatorEntry
    CategoryIndicatorEntry → CategoryIndicatorEntry
    LangTitleSubtitle → LangTitleSubtitle
    PropositionsStrings → PropositionsStrings
    EditorialStrings → EditorialStrings
    MotionsStrings → MotionsStrings
    WeekAheadStrings → WeekAheadStrings
    WeekAheadStakeholderStrings → WeekAheadStakeholderStrings
    StakeholderImpactRow → StakeholderImpactRow
    StakeholderImpactSection → StakeholderImpactSection
    PoliticalTemperature → PoliticalTemperature
    BreakingStrings → BreakingStrings
    ActionConsequence → ActionConsequence
    StakeholderOutcome → StakeholderOutcome
    PoliticalMistake → PoliticalMistake
    DeepAnalysis → DeepAnalysis
    DeepAnalysisStrings → DeepAnalysisStrings
    CommitteeAnalysisContentStrings → CommitteeAnalysisContentStrings
    ParliamentEvent → ParliamentEvent
    CommitteeMeeting → CommitteeMeeting
    LegislativeDocument → LegislativeDocument
    LegislativeProcedure → LegislativeProcedure
    ParliamentaryQuestion → ParliamentaryQuestion
    WeekAheadData → WeekAheadData
    CommitteeDocument → CommitteeDocument
    CommitteeData → CommitteeData
    VotingRecord → VotingRecord
    VotingPattern → VotingPattern
    VotingAnomaly → VotingAnomaly
    MotionsQuestion → MotionsQuestion
    VotingAnomalyIntelligence → VotingAnomalyIntelligence
    CoalitionIntelligence → CoalitionIntelligence
    MEPInfluenceScore → MEPInfluenceScore
    LegislativeVelocity → LegislativeVelocity
    EPFeedItem → EPFeedItem
    AdoptedTextFeedItem → AdoptedTextFeedItem
    EventFeedItem → EventFeedItem
    ProcedureFeedItem → ProcedureFeedItem
    MEPFeedItem → MEPFeedItem
    DocumentFeedItem → DocumentFeedItem
    QuestionFeedItem → QuestionFeedItem
    DeclarationFeedItem → DeclarationFeedItem
    CorporateBodyFeedItem → CorporateBodyFeedItem
    BreakingNewsFeedData → BreakingNewsFeedData
    EPFeedData → EPFeedData
    VotingIntensity → VotingIntensity
    CoalitionShift → CoalitionShift
    PolarizationIndex → PolarizationIndex
    PoliticalSignificanceScore → PoliticalSignificanceScore
    VotingTrend → VotingTrend
    CoalitionStabilityReport → CoalitionStabilityReport
    LegislativeVelocityReport → LegislativeVelocityReport
    ParsedArticle → ParsedArticle
    ArticleSource → ArticleSource
    ArticleOptions → ArticleOptions
    SitemapUrl → SitemapUrl
    ArticleMetadataEntry → ArticleMetadataEntry
    NewsMetadataDatabase → NewsMetadataDatabase
    DateRange → DateRange
    GenerationStats → GenerationStats
    GenerationResult → GenerationResult
    ArticleQualityScore → ArticleQualityScore
    TOCEntry → TOCEntry
    MCPClientOptions → MCPClientOptions
    MCPContentItem → MCPContentItem
    MCPToolResult → MCPToolResult
    JSONRPCRequest → JSONRPCRequest
    JSONRPCResponse → JSONRPCResponse
    PendingRequest → PendingRequest
    GetMEPsOptions → GetMEPsOptions
    GetPlenarySessionsOptions → GetPlenarySessionsOptions
    SearchDocumentsOptions → SearchDocumentsOptions
    GetParliamentaryQuestionsOptions → GetParliamentaryQuestionsOptions
    GetCommitteeInfoOptions → GetCommitteeInfoOptions
    MonitorLegislativePipelineOptions → MonitorLegislativePipelineOptions
    AssessMEPInfluenceOptions → AssessMEPInfluenceOptions
    AnalyzeCoalitionDynamicsOptions → AnalyzeCoalitionDynamicsOptions
    DetectVotingAnomaliesOptions → DetectVotingAnomaliesOptions
    ComparePoliticalGroupsOptions → ComparePoliticalGroupsOptions
    AnalyzeLegislativeEffectivenessOptions → AnalyzeLegislativeEffectivenessOptions
    VotingRecordsOptions → VotingRecordsOptions
    VotingPatternsOptions → VotingPatternsOptions
    GenerateReportOptions → GenerateReportOptions
    AnalyzeCommitteeActivityOptions → AnalyzeCommitteeActivityOptions
    TrackMEPAttendanceOptions → TrackMEPAttendanceOptions
    AnalyzeCountryDelegationOptions → AnalyzeCountryDelegationOptions
    GeneratePoliticalLandscapeOptions → GeneratePoliticalLandscapeOptions
    GetCurrentMEPsOptions → GetCurrentMEPsOptions
    GetSpeechesOptions → GetSpeechesOptions
    GetProceduresOptions → GetProceduresOptions
    GetAdoptedTextsOptions → GetAdoptedTextsOptions
    GetEventsOptions → GetEventsOptions
    GetMeetingActivitiesOptions → GetMeetingActivitiesOptions
    GetMeetingDecisionsOptions → GetMeetingDecisionsOptions
    GetMEPDeclarationsOptions → GetMEPDeclarationsOptions
    GetIncomingMEPsOptions → GetIncomingMEPsOptions
    GetOutgoingMEPsOptions → GetOutgoingMEPsOptions
    GetHomonymMEPsOptions → GetHomonymMEPsOptions
    GetPlenaryDocumentsOptions → GetPlenaryDocumentsOptions
    GetCommitteeDocumentsOptions → GetCommitteeDocumentsOptions
    GetPlenarySessionDocumentsOptions → GetPlenarySessionDocumentsOptions
    GetPlenarySessionDocumentItemsOptions → GetPlenarySessionDocumentItemsOptions
    GetControlledVocabulariesOptions → GetControlledVocabulariesOptions
    GetExternalDocumentsOptions → GetExternalDocumentsOptions
    GetMeetingForeseenActivitiesOptions → GetMeetingForeseenActivitiesOptions
    GetProcedureEventsOptions → GetProcedureEventsOptions
    GetMeetingPlenarySessionDocumentsOptions → GetMeetingPlenarySessionDocumentsOptions
    GetMeetingPlenarySessionDocumentItemsOptions → GetMeetingPlenarySessionDocumentItemsOptions
    NetworkAnalysisOptions → NetworkAnalysisOptions
    SentimentTrackerOptions → SentimentTrackerOptions
    EarlyWarningSystemOptions → EarlyWarningSystemOptions
    ComparativeIntelligenceOptions → ComparativeIntelligenceOptions
    CorrelateIntelligenceOptions → CorrelateIntelligenceOptions
    GetAllGeneratedStatsOptions → GetAllGeneratedStatsOptions
    FeedBaseOptions → FeedBaseOptions
    GetMEPsFeedOptions → GetMEPsFeedOptions
    GetEventsFeedOptions → GetEventsFeedOptions
    GetProceduresFeedOptions → GetProceduresFeedOptions
    GetAdoptedTextsFeedOptions → GetAdoptedTextsFeedOptions
    GetMEPDeclarationsFeedOptions → GetMEPDeclarationsFeedOptions
    GetDocumentsFeedOptions → GetDocumentsFeedOptions
    GetPlenaryDocumentsFeedOptions → GetPlenaryDocumentsFeedOptions
    GetCommitteeDocumentsFeedOptions → GetCommitteeDocumentsFeedOptions
    GetPlenarySessionDocumentsFeedOptions → GetPlenarySessionDocumentsFeedOptions
    GetExternalDocumentsFeedOptions → GetExternalDocumentsFeedOptions
    GetParliamentaryQuestionsFeedOptions → GetParliamentaryQuestionsFeedOptions
    GetCorporateBodiesFeedOptions → GetCorporateBodiesFeedOptions
    GetControlledVocabulariesFeedOptions → GetControlledVocabulariesFeedOptions
    WorldBankIndicator → WorldBankIndicator
    WorldBankCountry → WorldBankCountry
    EconomicContext → EconomicContext
    EconomicIndicatorSummary → EconomicIndicatorSummary
    PolicyRelevantIndicators → PolicyRelevantIndicators
    SwotItem → SwotItem
    SwotAnalysis → SwotAnalysis
    SwotStrings → SwotStrings
    SwotBuilderStrings → SwotBuilderStrings
    SwotDimension → SwotDimension
    SwotCrossReference → SwotCrossReference
    TemporalSwotAssessment → TemporalSwotAssessment
    MultiDimensionalSwot → MultiDimensionalSwot
    MultiDimensionalSwotStrings → MultiDimensionalSwotStrings
    DashboardMetric → DashboardMetric
    ChartDataset → ChartDataset
    ChartData → ChartData
    ChartConfig → ChartConfig
    DashboardPanel → DashboardPanel
    DashboardConfig → DashboardConfig
    DashboardStrings → DashboardStrings
    DashboardBuilderStrings → DashboardBuilderStrings
    MindmapNode → MindmapNode
    MindmapLayer → MindmapLayer
    PolicyConnection → PolicyConnection
    ActorNode → ActorNode
    InfluenceWeight → InfluenceWeight
    IntelligenceMindmap → IntelligenceMindmap
    VotingBloc → VotingBloc
    VoteHighlight → VoteHighlight
    CoalitionMetrics → CoalitionMetrics
    LegislativePipeline → LegislativePipeline
    TrendMetric → TrendMetric
    TrendAnalytics → TrendAnalytics
    StakeholderMetric → StakeholderMetric
    AnalysisDepthScore → AnalysisDepthScore
    StakeholderCoverage → StakeholderCoverage
    VisualizationQuality → VisualizationQuality
    ArticleQualityReport → ArticleQualityReport
    ArticleCrossReference → ArticleCrossReference
    TrendDetection → TrendDetection
    ArticleSeries → ArticleSeries
    ArticleIndexEntry → ArticleIndexEntry
    IntelligenceIndex → IntelligenceIndex
    EvidenceReference → EvidenceReference
    ReasoningChain → ReasoningChain
    ScenarioStakeholderImpact → ScenarioStakeholderImpact
    Scenario → Scenario
    ScenarioPlanning → ScenarioPlanning
    EnhancedAnalysisIteration → EnhancedAnalysisIteration
    AnalysisQualityMetadata → AnalysisQualityMetadata
    EnhancedDeepAnalysis → EnhancedDeepAnalysis
    StakeholderPerspective → StakeholderPerspective
    AnalysisIteration → AnalysisIteration
    StakeholderOutcomeMatrix → StakeholderOutcomeMatrix
    TranslationValidationResult → TranslationValidationResult
    TranslationValidationMetrics → TranslationValidationMetrics

    Type Aliases

    CircuitState → CircuitState
    WBIndicatorId → WBIndicatorId
    LanguageCode → LanguageCode
    RTLLanguageCode → RTLLanguageCode
    AnyLanguageCode → AnyLanguageCode
    LanguagePreset → LanguagePreset
    LanguageMap → LanguageMap
    ArticleCategoryLabels → ArticleCategoryLabels
    PoliticalTemperatureBand → PoliticalTemperatureBand
    ReportType → ReportType
    GeneratedStatsCategory → GeneratedStatsCategory
    FeedTimeframe → FeedTimeframe
    WBMCPClientOptions → WBMCPClientOptions
    EUCountryCodeMap → EUCountryCodeMap
    SwotDimensionName → SwotDimensionName
    StakeholderType → StakeholderType
    MindmapNodeCategory → MindmapNodeCategory
    PolicyConnectionType → PolicyConnectionType
    PolicyConnectionStrength → PolicyConnectionStrength
    ActorType → ActorType
    MindmapBranchColor → MindmapBranchColor
    ArticleGrade → ArticleGrade
    CrossReferenceRelationship → CrossReferenceRelationship
    CrossReferenceStrength → CrossReferenceStrength
    TrendCategory → TrendCategory
    TrendDirection → TrendDirection
    TrendConfidence → TrendConfidence
    ArticleSeriesStatus → ArticleSeriesStatus
    ConfidenceLevel → ConfidenceLevel
    AnalysisStakeholderType → AnalysisStakeholderType
    StakeholderImpact → StakeholderImpact
    StakeholderSeverity → StakeholderSeverity
    AnalysisIterationType → AnalysisIterationType

    Enumerations

    ArticleCategory → ArticleCategory
    ArticlePerspective → ArticlePerspective
    TimePeriod → TimePeriod
    AnalysisPerspective → AnalysisPerspective

    Variables

    EU_COUNTRY_CODES → EU_COUNTRY_CODES
    EU_AGGREGATE_CODE → EU_AGGREGATE_CODE
    POLICY_INDICATORS → POLICY_INDICATORS
    ALL_LANGUAGES → ALL_LANGUAGES
    LANGUAGE_PRESETS → LANGUAGE_PRESETS
    LANGUAGE_FLAGS → LANGUAGE_FLAGS
    LANGUAGE_NAMES → LANGUAGE_NAMES
    WB_INDICATORS → WB_INDICATORS
    COMMITTEE_INDICATOR_MAP → COMMITTEE_INDICATOR_MAP
    CATEGORY_INDICATOR_MAP → CATEGORY_INDICATOR_MAP
    CATEGORY_PERSPECTIVE → CATEGORY_PERSPECTIVE
    CATEGORY_TIME_PERIOD → CATEGORY_TIME_PERIOD
    ALL_STAKEHOLDER_TYPES → ALL_STAKEHOLDER_TYPES