ECB Data Portal

The European Central Bank's statistics, with Greece in front: the euro reference exchange rates, Greek government bond yields, what Greek banks charge on mortgages and business loans and pay on deposits, how much Greek households and firms hold and owe, the Bank of Greece's TARGET balance, inflation, house prices, non-performing loans and government debt, and any other series of the ECB's by its key.

Publisher
European Central Bank — ECB Data Portal
Licence
ESCB statistics reuse policy — free reuse, source quoted, statistics unmodified
Attribution
Source: ECB statistics (ECB Data Portal, data.ecb.europa.eu)

MCP server

https://agoramcp-server.vercel.app/gr/mcp/ecb

HTTP API

https://agoramcp-server.vercel.app/gr/api/ecb

Its own server, with the tools under their plain names. On Greece's server the same tools answer as ecb_….

Tools

5 tools, each with the description a model is given, its arguments and the example it ships with. Over HTTP a tool answers at /gr/api/ecb/{tool}; over MCP, as itself.

get_exchange_rate >Euro reference exchange rates

The ECB's euro reference exchange rate for one or more currencies: how many units of each currency one euro buys, as the ECB sets it around 16:00 CET each TARGET working day. With no dates, the latest rate. With `date`, the rate in force that day — the last one set on or before it, since none is set at weekends or on TARGET holidays. With startDate and/or endDate, every daily rate in that window, up to 366 days. About thirty currencies are set daily (USD, GBP, JPY, CHF, TRY, CNY, AUD, CAD, PLN, RON, SEK…). Currencies that joined the euro keep their final rate: GRD, the drachma, stops at 29 December 2000 at the irrevocable 340.75. These are reference rates for information, not the rate a bank will trade at.

Arguments

currenciesstring, 3–60 characters
ISO 4217 codes, comma-separated: "USD" or "USD,GBP,TRY", up to 10. Defaults to USD. The euro is the base and cannot be one of them.
datestring
One day, YYYY-MM-DD: the rate in force that day. Not with startDate/endDate.
startDatestring
First day of a window, YYYY-MM-DD. Defaults to 30 days before endDate when only endDate is given.
endDatestring
Last day of a window, YYYY-MM-DD. Defaults to today when only startDate is given.

Example arguments

{
  "currencies": "USD"
}

list_greek_indicators >Greece at a glance, from the ECB

The latest value, and the one before it, of eighteen ECB series on Greece in one call: the 10-year bond yield; headline, core, energy and food inflation; what Greek banks charge on new mortgages and business loans and pay on household deposits; household deposits and household and business loans outstanding; the Bank of Greece's TARGET balance; flat prices; the sovereign stress index; the banks' non-performing loans ratio; and government debt and deficit as a share of GDP. Each row names its flow and key, so get_series can fetch its history. Rates are percentages; stocks are in the unit and multiplier the row gives (millions of euro, mostly). Use it to answer "how is Greece doing" questions, or to find the key for one of these without searching.

Arguments

None. Call it with an empty object.

search_dataflows >Find an ECB dataflow

Find the dataflow — the ECB's word for a dataset — that holds a statistic, by words in its id or name. Every series lives in one flow: EXR exchange rates, MIR bank interest rates, BSI bank balance sheets, HICP consumer prices, IRS long-term interest rates, GFS government finance, RESR property prices, SUP banking supervision, TGB TARGET balances, CISS stress indicators. Names are English; some flows are named only by their id. With no words, every flow. Next, find_series lists the series a flow holds for Greece, and get_series reads one. Flows from Eurostat and the IMF are republished by the ECB and marked as such; a few old flows still answer but stopped years ago, and are marked with their successor.

Arguments

wordsstring, up to 200 characters
Words to find in the flow's id or name, all of them, e.g. "interest rate", "property", "balance sheet".
limitinteger, 1–250
Most flows to return, 1-250. Defaults to 50.

Example arguments

{
  "words": "interest"
}

find_series >Find a series and its key

List the series one dataflow holds, with each one's key, title and unit, filtered by words in the title — the step between search_dataflows and get_series. By default only Greece's series (refArea GR) in flows that have a country dimension; give refArea for another country or euro-area aggregate (U2 is the euro area, I9 the euro area in its changing composition), or an empty string for every country. Alongside the series comes each dimension of the key, in key order, with the codes present among the matches — which is how to build a key by hand, or narrow one with `key` (empty parts are wildcards, + joins codes). The series lists are a day old at most.

Arguments

flowstring, up to 40 charactersrequired
The dataflow id, e.g. MIR, BSI, HICP. search_dataflows finds it.
wordsstring, up to 200 characters
Words that must all appear in the series' title or its dimension labels, e.g. "house purchase", "deposits households".
refAreastring, up to 4 characters
Country or area code for flows that have REF_AREA. Defaults to GR (Greece); "" for every country.
keystring, up to 400 characters
A partial key to narrow by, overriding refArea, e.g. M.GR.B.A2C..R.A.2250.EUR.N. One part per dimension, empty for any.
limitinteger, 1–100
Most series to return, 1-100. Defaults to 25.

Example arguments

{
  "flow": "MIR",
  "words": "house purchase"
}

get_series >Read ECB series

The observations of one or more ECB series, by flow and key, with what each series is, its unit and multiplier, and the status of any value that is estimated, provisional or withheld. The key is one code per dimension separated by dots (find_series lists them); leave a part empty to take every code, or join codes with + to take several — M.GR+CY+PT.L.L40.CI.0000.EUR.N.Z is three countries' bond yields. Give startPeriod and/or endPeriod (2025, 2025-Q2, 2025-09, 2025-10-14), or lastObservations for the latest N; with neither, the latest 12. At most 20 series and 2,000 observations come back, the most recent kept. Each series says whether it looks discontinued — some flows answer for years after they stopped — and values are exactly as published.

Arguments

flowstring, up to 40 charactersrequired
The dataflow id, e.g. IRS, MIR, EXR.
keystring, up to 400 charactersrequired
The series key, e.g. M.GR.L.L40.CI.0000.EUR.N.Z. Empty parts are wildcards; + joins codes.
startPeriodstring, up to 10 characters
First period: 2020, 2020-S1, 2020-Q1, 2020-01, 2020-W01 or 2020-01-15. Not after today.
endPeriodstring, up to 10 characters
Last period, same formats.
lastObservationsinteger, 1–2000
The latest N observations of each series (inside the window, if one is given). Defaults to 12 when no period is given.

Example arguments

{
  "flow": "IRS",
  "key": "M.GR.L.L40.CI.0000.EUR.N.Z",
  "lastObservations": 12
}