StackData is an MCP server published by io.stackdata, hosted at api.stackdata.io. When last checked on 2026-11-21 it was working: it answers and lists its tools. It declares 6 tools, including search_datasets, get_table, tariff_lookup, resolve_data, get_structure.
Official statistics, China censuses & yearbooks, and as-of customs tariffs with legal citations.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Search StackData's catalog of 50k+ official statistical datasets (SDMX/World Bank dataflows, China censuses and yearbooks, tariff schedules). Multilingual: an English query finds Chinese-titled tables. Returns dataset ids usable with the other tools.
| Parameter | Type | Description |
|---|---|---|
| q * | string | search query |
| limit | integer |
{
"name": "search_datasets",
"description": "Search StackData's catalog of 50k+ official statistical datasets (SDMX/World Bank dataflows, China censuses and yearbooks, tariff schedules). Multilingual: an English query finds Chinese-titled tables. Returns dataset ids usable with the other tools.",
"inputSchema": {
"type": "object",
"required": [
"q"
],
"properties": {
"q": {
"type": "string",
"description": "search query"
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1
}
}
}
}None yet. Changes appear after a server's second daily check.
Fetch a STORED table whole, by dataset id (families cn-nbs-census and cn-nbs-yearbook): labelled rows × columns with original-language labels, English overlay, units, and provenance down to the source file. Ids look like 'cn-nbs-census:2010_a0101a'.
| Parameter | Type | Description |
|---|---|---|
| dataset_id * | string | catalog dataset id |
{
"name": "get_table",
"description": "Fetch a STORED table whole, by dataset id (families cn-nbs-census and cn-nbs-yearbook): labelled rows × columns with original-language labels, English overlay, units, and provenance down to the source file. Ids look like 'cn-nbs-census:2010_a0101a'.",
"inputSchema": {
"type": "object",
"required": [
"dataset_id"
],
"properties": {
"dataset_id": {
"type": "string",
"description": "catalog dataset id"
}
}
}
}As-of customs-tariff lookup: which measures/duty rates apply to a goods code in a jurisdiction (eu, us, uk, jp), optionally from an origin, on a date. Duty expressions are verbatim; every measure carries its legal citation. Not legal advice.
| Parameter | Type | Description |
|---|---|---|
| code * | string | goods code, 2-10 digits (HS/TARIC/HTS) |
| date | string | as-of date YYYY-MM-DD, default today |
| origin | string | ISO2 origin country (eu/uk only) |
| direction | string | one of ["import","export"] |
| jurisdiction | string | one of ["eu","us","uk","jp"] |
{
"name": "tariff_lookup",
"description": "As-of customs-tariff lookup: which measures/duty rates apply to a goods code in a jurisdiction (eu, us, uk, jp), optionally from an origin, on a date. Duty expressions are verbatim; every measure carries its legal citation. Not legal advice.",
"inputSchema": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "goods code, 2-10 digits (HS/TARIC/HTS)"
},
"date": {
"type": "string",
"description": "as-of date YYYY-MM-DD, default today"
},
"origin": {
"type": "string",
"description": "ISO2 origin country (eu/uk only)"
},
"direction": {
"enum": [
"import",
"export"
],
"type": "string",
"default": "import"
},
"jurisdiction": {
"enum": [
"eu",
"us",
"uk",
"jp"
],
"type": "string",
"default": "eu"
}
}
}
}Ask a data question in English ('unemployment rate in Japan', 'compare GDP in Japan and Germany') — resolves to the best covering dataset and returns the observations, with coverage honesty (missing countries are reported, never papered over).
| Parameter | Type | Description |
|---|---|---|
| q * | string | the question |
| end | integer | end year |
| start | integer | start year |
{
"name": "resolve_data",
"description": "Ask a data question in English ('unemployment rate in Japan', 'compare GDP in Japan and Germany') — resolves to the best covering dataset and returns the observations, with coverage honesty (missing countries are reported, never papered over).",
"inputSchema": {
"type": "object",
"required": [
"q"
],
"properties": {
"q": {
"type": "string",
"description": "the question"
},
"end": {
"type": "integer",
"description": "end year"
},
"start": {
"type": "integer",
"description": "start year"
}
}
}
}The published structure of one dataset, free: its dimensions with every member code and label, frequencies, period coverage, the ISO3 countries it serves, and whether it is servable. Call this before get_series to learn the codes to send. Dataset ids come from search_datasets.
| Parameter | Type | Description |
|---|---|---|
| dataset * | string | catalog dataset id, e.g. 'ilo-sdmx:DF_X' |
{
"name": "get_structure",
"description": "The published structure of one dataset, free: its dimensions with every member code and label, frequencies, period coverage, the ISO3 countries it serves, and whether it is servable. Call this before get_series to learn the codes to send. Dataset ids come from search_datasets.",
"inputSchema": {
"type": "object",
"required": [
"dataset"
],
"properties": {
"dataset": {
"type": "string",
"description": "catalog dataset id, e.g. 'ilo-sdmx:DF_X'"
}
}
}
}Fetch ONE series with every dimension named by you (no guessing or relaxing): dataset, ISO3 countries, an ISO period range and a member code for every dimension from get_structure. Returns status ok/empty/refused with each value's provenance, and the missing country-periods listed. A bad request is a named 400 error saying which field and what is allowed.
| Parameter | Type | Description |
|---|---|---|
| period * | object | Inclusive ISO period range. "latest" is not accepted: name the periods you want. Annual 2020, quarterly 2020-Q1, monthly 2020-01. |
| select * | object | A member code for every dimension of the dataset (other than geography and time) as listed in /structure, including frequency. Every dimension must be named; a missing or unknown dimension or code is a 400, never defaulted. |
| dataset * | string | A dataset id from the catalog, as returned by search (/v1/search, or the search_datasets MCP tool), e.g. "ilo-sdmx:DF_X". |
| countries * | array | ISO 3166-1 alpha-3 codes (e.g. "JPN") or an aggregate code listed in the dataset's /structure. 1 to 25 entries. |
{
"name": "get_series",
"description": "Fetch ONE series with every dimension named by you (no guessing or relaxing): dataset, ISO3 countries, an ISO period range and a member code for every dimension from get_structure. Returns status ok/empty/refused with each value's provenance, and the missing country-periods listed. A bad request is a named 400 error saying which field and what is allowed.",
"inputSchema": {
"type": "object",
"required": [
"dataset",
"countries",
"period",
"select"
],
"properties": {
"period": {
"type": "object",
"required": [
"start",
"end"
],
"properties": {
"end": {
"type": "string",
"pattern": "^\\d{4}(-Q[1-4]|-(0[1-9]|1[0-2]))?$",
"description": "Last period, same form and frequency as start."
},
"start": {
"type": "string",
"pattern": "^\\d{4}(-Q[1-4]|-(0[1-9]|1[0-2]))?$",
"description": "First period, ISO form: YYYY, YYYY-Qn or YYYY-MM. Must match a frequency the dataset serves."
}
},
"description": "Inclusive ISO period range. \"latest\" is not accepted: name the periods you want. Annual 2020, quarterly 2020-Q1, monthly 2020-01.",
"additionalProperties": false
},
"select": {
"type": "object",
"description": "A member code for every dimension of the dataset (other than geography and time) as listed in /structure, including frequency. Every dimension must be named; a missing or unknown dimension or code is a 400, never defaulted.",
"additionalProperties": {
"type": "string"
}
},
"dataset": {
"type": "string",
"description": "A dataset id from the catalog, as returned by search (/v1/search, or the search_datasets MCP tool), e.g. \"ilo-sdmx:DF_X\"."
},
"countries": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 25,
"minItems": 1,
"description": "ISO 3166-1 alpha-3 codes (e.g. \"JPN\") or an aggregate code listed in the dataset's /structure. 1 to 25 entries."
}
},
"additionalProperties": false
}
}StackData: official statistics and customs tariffs for agents. Start with search_datasets or resolve_data; get_table serves whole stored tables; tariff_lookup answers as-of duty questions for eu/us/uk/jp. Anonymous use is quota-limited; pass an API key as the x-api-key header.
Names, descriptions and schemas were written by the server and are shown as data.