StackData

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

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
96%
命名质量
90%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~516token 数(工具定义)
~699 B典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.40%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 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_research
Search for information about [topic] using StackData
预期工具: search_datasets
find_specific
Find [specific item] using StackData
预期工具: search_datasets
retrieve_data
Get details about [item] from StackData
预期工具: get_table
fetch_info
Fetch [information type] using StackData
预期工具: get_table
search_then_create
Search for [item] and create a new [related item] using StackData
预期工具: search_datasetssearch_datasets

社区

评价此服务器

证据

最近观测

已验证未记录版本4 个工具
已验证未记录版本4 个工具