ecb-mcp

v0.1.0
io.github.scka-de/ecb-mcp Checked 1 hour ago Published 8 months ago

ECB data for AI agents — rates, yields, inflation, money supply, and 100+ datasets.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_exchange_rates

Get EUR exchange rates from the European Central Bank. Returns daily, monthly, or annual reference rates for a currency pair against EUR. The ECB publishes reference rates for ~40 currencies at 16:00 CET each business day. Examples of questions this tool answers: - "What is the current EUR/USD exchange rate?" - "Show me EUR/GBP rates for the last week" - "What was the EUR/JPY rate in January 2025?"

ParameterTypeDescription
target *stringTarget currency code (e.g. "USD", "GBP", "JPY", "CHF"). Use "+" for multiple: "USD+GBP"
endPeriodstringEnd date (YYYY-MM-DD, YYYY-MM, or YYYY)
frequencystringD=daily (default), M=monthly average, A=annual average
lastNObservationsintegerReturn only the last N data points
startPeriodstringStart date (YYYY-MM-DD, YYYY-MM, or YYYY)

get_interest_rates

Get key ECB interest rates — the rates that drive eurozone monetary policy. Returns the ECB's main policy rates: Main Refinancing Operations (MRO), Deposit Facility, and Marginal Lending Facility. These are the rates the ECB sets at its Governing Council meetings. Examples of questions this tool answers: - "What is the current ECB deposit facility rate?" - "Show me the history of ECB interest rate changes" - "When did the ECB last change its main refinancing rate?"

ParameterTypeDescription
type *stringRate type: "MRO" (main refinancing), "deposit_facility", or "marginal_lending"
endPeriodstringEnd date (YYYY-MM-DD, YYYY-MM, or YYYY)
lastNObservationsintegerReturn only the last N data points
startPeriodstringStart date (YYYY-MM-DD, YYYY-MM, or YYYY)

get_inflation

Get HICP inflation data from the ECB — the official eurozone inflation measure. Returns the Harmonised Index of Consumer Prices (HICP) as published by Eurostat via the ECB. Available as annual rate of change (%) or index level, for the euro area or individual countries. Examples of questions this tool answers: - "What is the current eurozone inflation rate?" - "Show me Germany's inflation over the past year" - "Compare inflation in France vs Italy"

ParameterTypeDescription
countrystringCountry code: "U2" for euro area (default), "DE", "FR", "IT", "ES", etc.
endPeriodstringEnd date (YYYY-MM, or YYYY)
lastNObservationsintegerReturn only the last N data points
measurestringannual_rate = year-over-year % change (default), index = price index level
startPeriodstringStart date (YYYY-MM, or YYYY)

get_yield_curve

Get euro area government bond yield curve data from the ECB. Returns spot rates from the ECB's AAA-rated government bond yield curve. Available maturities range from 3 months to 30 years. Updated daily. Examples of questions this tool answers: - "What is the current 10-year euro area yield?" - "Show me the 2-year yield over the past 6 months" - "What was the 5-year spot rate in March 2024?"

ParameterTypeDescription
endPeriodstringEnd date (YYYY-MM-DD, YYYY-MM, or YYYY)
issuerTypestringIssuer rating: "AAA" (default) or "all_gov" for all government bonds
lastNObservationsintegerReturn only the last N data points
maturitystringBond maturity: "3M", "6M", "1Y", "2Y", "5Y", "10Y" (default), "15Y", "20Y", "30Y"
startPeriodstringStart date (YYYY-MM-DD, YYYY-MM, or YYYY)

get_money_supply

Get euro area monetary aggregates (M1, M2, M3) from the ECB. Returns monetary aggregate data as outstanding amounts (EUR millions) or annual growth rates. M1 = currency in circulation + overnight deposits. M2 = M1 + short-term deposits. M3 = M2 + repos + money market funds + debt securities up to 2 years. Examples of questions this tool answers: - "What is the current M3 money supply in the euro area?" - "Show me M1 growth rate over the past year" - "How has M3 evolved since 2020?"

ParameterTypeDescription
aggregatestringMonetary aggregate: "M1", "M2", or "M3" (default)
countrystringCountry code: "U2" for euro area (default), or specific country like "DE", "FR"
endPeriodstringEnd date (YYYY-MM, or YYYY)
lastNObservationsintegerReturn only the last N data points
measurestringoutstanding = EUR millions (default), growth_rate = annual % change
startPeriodstringStart date (YYYY-MM, or YYYY)

convert_currency

Convert an amount between currencies using ECB reference rates. Supports EUR to any currency, any currency to EUR, and cross-currency conversion (e.g. USD to GBP) via EUR triangulation. Uses the latest ECB reference rate, or a rate from a specific date. Examples of questions this tool answers: - "Convert 1000 EUR to USD" - "How much is 500 GBP in EUR?" - "Convert 250 USD to JPY" - "What was 1000 EUR worth in CHF on 2025-01-15?"

ParameterTypeDescription
amount *numberAmount to convert
from *stringSource currency code (e.g. "EUR", "USD", "GBP")
to *stringTarget currency code (e.g. "EUR", "USD", "GBP")
datestringSpecific date for the rate (YYYY-MM-DD). Uses latest if omitted.

search_datasets

Search the ECB's 100+ statistical datasets by keyword. Returns matching dataset IDs and names. Use this to discover what data the ECB publishes. After finding a dataset, use explain_dataset to learn its structure, or use the specific data tools (get_exchange_rates, get_interest_rates, etc.) for common queries. Examples of questions this tool answers: - "What ECB datasets are available about inflation?" - "Does the ECB publish data about bank lending?" - "What datasets cover government debt?"

ParameterTypeDescription
query *stringSearch keyword (e.g. "inflation", "exchange", "lending", "payment", "insurance")

explain_dataset

Explain the structure of any ECB dataset — dimensions, valid values, and example queries. Use this after search_datasets to understand what a dataset contains and how to query it. Returns the dataset's dimensions, their valid values (codes), and an example series key. Works for all 100+ ECB datasets, not just the ones with dedicated tools. Examples of questions this tool answers: - "What dimensions does the EXR dataset have?" - "What are the valid currency codes in the exchange rate dataset?" - "How do I query the BSI (balance sheet) dataset?"

ParameterTypeDescription
dataset_id *stringDataset ID (e.g. "EXR", "FM", "ICP", "YC", "BSI"). Use search_datasets to find IDs.