Skip to main content
Glama
@pipeworx/bis

@pipeworx/bis

Official
by pipeworx-io

@pipeworx/bis

BIS(Bank for International Settlements)MCP —— 通过 BIS SDMX v2 API 提供中央银行与全球金融统计数据。无需认证。

是 Pipeworx 的一部分 —— 一个将 AI 智能体连接到 1476+ 个实时数据源的 MCP 网关。

工具

  • bis_credit_gap(country, start_period?, end_period?, limit?) —— 针对单个国家,按季度提供信贷/GDP 比率、其长期 HP 滤波趋势,以及两者之间的缺口。该缺口是巴塞尔 III 逆周期资本缓冲的参考指标。接受国家名称或 ISO alpha-2 代码;覆盖 44 个经济体以及欧元区总量(XM)。

  • list_curated_flows(topic?) —— 按主题(利率、外汇、银行业、债务、信贷、房地产、衍生品、价格)提供的预先审核过的数据流引用。

  • search_dataflows(query, limit?) —— 对整个 BIS 数据流注册表进行关键词搜索;返回可直接用于 fetch_dataset 的 flow_ref。

  • fetch_dataset(flow_ref, key?, start_period?, end_period?, limit?) —— 从任意 BIS 数据流返回整洁的数据行。

Related MCP server: mcp-ecb

认证

无。BIS 公开发布这些统计数据,不要求密钥,也没有配额限制。

关于上游 API 的说明

  • flow_ref 带有版本号,且版本不一定总是 1.0。 BIS 会对数据流进行就地重新版本化(WS_TC 是 2.0),过期的版本会返回空结果而不是报错。请从 list_curated_flows 或 search_dataflows 获取引用,而不要自行假设版本。

  • 键是相对于数据流自身维度的位置参数,用点分隔 —— 例如 WS_CREDIT_GAP 上的 Q.US...,其键为 FREQ.BORROWERS_CTY.TC_BORROWERS.TC_LENDERS.CG_DTYPE。将某个位置留空即表示不按该位置过滤。当键没有任何匹配时,fetch_dataset 会把该数据流的实际维度名称返回给你。

  • 数据行同时携带代码及其含义。 每个编码列都会附带一个 <COLUMN>_label 伴随列(CG_DTYPE: "C" / CG_DTYPE_label: "Credit-to-GDP gaps (actual-trend)"),因为 BIS 的编码值本身含义不透明。

  • 银行业和债务证券数据流无界且可达数 MB —— 请传入 start_period / end_period。

数据来源

快速开始

添加到你的 MCP 客户端(Claude Desktop、Cursor、Windsurf 等):

{
  "mcpServers": {
    "bis": {
      "url": "https://gateway.pipeworx.io/bis/mcp"
    }
  }
}

该端点实际提供什么

位于 https://gateway.pipeworx.io/bis/mcp 的 tools/list 会返回上表中的工具,外加共享的 Pipeworx 元工具 —— ask_pipeworx、discover_tools、search_within、remember/recall 以及整个网关范围内的其余工具。因此你看到的工具数量会多于这张表:目前,单包端点会与包自身的工具一起列出大约 30 个共享工具。连接的 initialize 响应会说明其确切范围,并且是给定日期的权威答案。

这是有意为之,而非意外的多路复用。正是这些元工具让限定范围的连接能够通过 ask_pipeworx(它会在整个目录中路由)回答此包未覆盖的问题,而无需你添加第二个 MCP 服务器。目前没有办法在不带这些元工具的情况下挂载包端点;如果额外的 schema 让你消耗的上下文超过路由带来的价值,请一次性连接完整网关,而不是连接多个包端点。

或者连接完整的 Pipeworx 网关,让每个包的工具都被直接列出,而不只是这一个包的:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

两个 URL 都通向同一个网关和同样的 1476+ 个数据源。唯一区别是哪些包的工具被直接列出;从两者中的任意一个,ask_pipeworx 都能访问全部工具。

与 ask_pipeworx 一起使用

无需直接调用工具,你可以用普通英语提问 —— 这既适用于上面的包端点,也适用于完整网关:

ask_pipeworx({ question: "your question about Bis data" })

网关会自动选择正确的工具并填入参数。

更多

许可证

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Provides access to World Bank economic and country data without an API key, allowing users to search countries, fetch indicator time series, and compare latest values.
      5
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides access to European Central Bank statistical data through SDMX data flows, enabling querying and listing of data flows via natural language or direct tool calls.
      160 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables searching, exploring, and querying over 1,500 OECD statistical datasets via SDMX, covering national accounts, employment, trade, PISA, health, and more.
      204 npm
      5
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables discovery and retrieval of National Bank of Belgium statistical data across 221 SDMX dataflows, with search, descriptions, custom queries, and comparisons of economic indicators.
      6
      45 PyPI
      3
      MIT