StackData
Official statistics, China censuses & yearbooks, and as-of customs tariffs with legal citations.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"stackdata": {
"url": "https://api.stackdata.io/mcp"
}
}
}遠端端點
https://api.stackdata.io/mcpstreamable-http它能做什麼
工具清單
工具(4)
🟢search_datasets(q, limit)
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.
輸入結構描述
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "search query"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 10
}
},
"required": [
"q"
]
}🟢get_table(dataset_id)
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'.
輸入結構描述
{
"type": "object",
"properties": {
"dataset_id": {
"type": "string",
"description": "catalog dataset id"
}
},
"required": [
"dataset_id"
]
}🟢tariff_lookup(code, jurisdiction, origin, date, direction)
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.
輸入結構描述
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "goods code, 2-10 digits (HS/TARIC/HTS)"
},
"jurisdiction": {
"type": "string",
"enum": [
"eu",
"us",
"uk",
"jp"
],
"default": "eu"
},
"origin": {
"type": "string",
"description": "ISO2 origin country (eu/uk only)"
},
"date": {
"type": "string",
"description": "as-of date YYYY-MM-DD, default today"
},
"direction": {
"type": "string",
"enum": [
"import",
"export"
],
"default": "import"
}
},
"required": [
"code"
]
}⚪resolve_data(q, start, end)
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).
輸入結構描述
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "the question"
},
"start": {
"type": "integer",
"description": "start year"
},
"end": {
"type": "integer",
"description": "end year"
}
},
"required": [
"q"
]
}建議的提示詞
search_datasetssearch_datasetsget_tableget_tablesearch_datasetssearch_datasets社群
證據