StackData

io.stackdata由 stackdata.io 发布官方发布者v0.1.0更新于 Oct 28, 2026

Official statistics, China censuses & yearbooks, and as-of customs tariffs with legal citations.

已验证Streamable HTTP可网页运行金融数据与分析

概览

AI 生成的概览

StackData 让助手访问官方统计数据、中国人口普查与年鉴数据,以及带法律引用的按日期生效关税。

可以做什么
  • 检索 5 万多个官方统计数据集目录,涵盖 SDMX/世界银行数据流、中国人口普查与年鉴、关税表,支持多语言查询。
  • 按数据集 id 整表获取已存储的表格,含带标签的行列、单位与来源信息。
  • 查看数据集的发布结构:维度及全部成员代码与标签、频率、期间覆盖范围与可服务国家。
  • 按明确指定的各维度获取单条序列,返回值附带来源,并列出缺失的国家-期间。
  • 用自然语言数据问题解析到最合适的数据集并返回观测值。
  • 按日期查询欧盟、美国、英国或日本某商品编码适用的关税措施与税率。
适用场景
需要权威官方统计数据、中国普查或年鉴表格,或带法律引用的关税税率时适用;适合让助手先找到正确数据集,再取回带来源的精确数值,而非估算数字。
运行要求
通过 streamable HTTP 连接 api.stackdata.io 的远程 MCP 端点;未声明软件包、环境变量或请求头,也未声明身份验证。
安装前请注意
关税结果明确不构成法律意见,依赖前应自行核实税率与引用。请求会发送至第三方服务。序列请求必须精确指定每个维度,错误请求会被拒绝而不会放宽。

安装

在 SourceWeft 中

  1. 打开 控制台中的 StackData,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.stackdata%2Fstackdata/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "stackdata": {
      "type": "http",
      "url": "https://api.stackdata.io/mcp"
    }
  }
}

工具

6

search_datasets

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.

输入参数q必填limit

get_table

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'.

输入参数dataset_id必填

tariff_lookup

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.

输入参数code必填dateorigindirectionjurisdiction

resolve_data

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).

输入参数q必填endstart

get_structure

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.

输入参数dataset必填

get_series

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.

输入参数period必填select必填dataset必填countries必填

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 72%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分

    请在注册中心条目中发布图标。

  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。