214 countries and territories189 of 193 UN membersmonthly to 2026-09back to 1926
Documentation / Guides / Start here / 05 of 25

MCP tools

Every tool the MCP server offers, what it answers and its inputs.

Guide

The MCP server at https://tourismapi.com/mcp offers 14 tools. An assistant reads this list itself (the tools/list call) and picks the tool that answers the question; each call counts against your key like any other request, and your plan decides what it can read.

list_countries

Every country held, with its region, depth, latest month and measures.

InputTypeRequiredDescription
monthly_onlybooleannoOnly countries with monthly figures

country_profile

One country: what is held by measure, frequency and breakdown, and which statistics it carries.

InputTypeRequiredDescription
countrystringyesISO 3166 two-letter country code, such as JP

latest_figures

A country's newest headline figure with its change on a year before.

InputTypeRequiredDescription
countrystringyesISO 3166 two-letter country code, such as JP

get_measure

Monthly (or quarterly, yearly) figures of one measure for up to ten countries.

InputTypeRequiredDescription
measurestring: arrivals, nights, spend, departures, occupancy, capacityyesWhat is counted
countrystringyesOne or more ISO codes, comma separated, such as JP,TH,FR
freqstring: M, Q, Ano
fromstringnoFirst period: a year (2019), month (2024-01) or date
tostringnoLast period: a year, month or date

compare_countries

Two to ten countries side by side, month by month, for one measure.

InputTypeRequiredDescription
countrystringyesOne or more ISO codes, comma separated, such as JP,TH,FR
measurestring: arrivals, nights, spend, departures, occupancy, capacitynoWhat is counted
fromstringnoFirst period: a year (2019), month (2024-01) or date
tostringnoLast period: a year, month or date

rank_countries

Countries ranked by one measure in one month, with the change on a year before.

InputTypeRequiredDescription
measurestring: arrivals, nights, spend, departures, occupancy, capacitynoWhat is counted
periodstringnoA month such as 2025-08; empty for each country's latest
limitintegerno

growth

Change on a year before, and year to date, for up to 25 countries.

InputTypeRequiredDescription
countrystringyesOne or more ISO codes, comma separated, such as JP,TH,FR
measurestring: arrivals, nights, spend, departures, occupancy, capacitynoWhat is counted
periodstringnoA month (2025-08) or a year (2025)

search_series

Find series by words in their names, optionally in one country.

InputTypeRequiredDescription
qstringyesWords, such as hotel nights foreign
countrystringnoISO 3166 two-letter country code, such as JP

series_figures

Every figure of one series by its id (sr_...) or readable name (jp.arrivals.total.m).

InputTypeRequiredDescription
idstringyes
fromstringnoFirst period: a year (2019), month (2024-01) or date
tostringnoLast period: a year, month or date

origin_markets

A country's arrivals split by where visitors come from, largest first.

InputTypeRequiredDescription
countrystringyesISO 3166 two-letter country code, such as JP
periodstringno

statistic

A worked statistic for one country: trend, recovery, benchmark, stay-length, forecast, nowcast, anomalies, origin-shift or concentration.

InputTypeRequiredDescription
statstring: trend, recovery, benchmark, stay-length, forecast, nowcast, anomalies, origin-shift, concentrationyes
countrystringyesISO 3166 two-letter country code, such as JP

holidays

Public holidays for one or more countries in a date range.

InputTypeRequiredDescription
countrystringyesOne or more ISO codes, comma separated, such as JP,TH,FR
fromstringnoFirst period: a year (2019), month (2024-01) or date
tostringnoLast period: a year, month or date

exchange_rates

Daily rates of one currency against the euro.

InputTypeRequiredDescription
currencystringyesISO 4217, such as THB
fromstringnoFirst period: a year (2019), month (2024-01) or date
tostringnoLast period: a year, month or date

release_calendar

When each country's next month of figures is expected.

InputTypeRequiredDescription
countrystringnoOne or more ISO codes, comma separated, such as JP,TH,FR

A call, as the assistant sends it

{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "latest_figures",
        "arguments": {
            "country": "JP"
        }
    }
}

The answer carries the same JSON the REST endpoint returns, as the tool result's text. Connecting a client is on MCP server for Claude and ChatGPT.