Token导航 LogoToken导航TokenDH.com
IMF Data MCP Server logo
搜索检索stdio官方级别未说明来源级核验

IMF Data MCP Server

MCP Server

This MCP server integrates with the free IMF data API to provide a set of tools and resources for retrieving and processing economic data. It enables users to query datasets, fetch time series data, and list available indicators and countries, making it easier to work with IMF data in a structured and programmatic way.

工具数

5

提示词数

0

GitHub Stars

8

资源数

0
PythonClaude搜索Claude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

c-cf

提供方

c-cf

最后核验

2026/5/18 04:03

运行时

Python

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

uvx --from git+https://github.com/c-cf/imf-data-mcp imf-data-mcp

详细介绍

国际货币基金组织数据MCP

用于IMF经济数据的模型上下文协议服务器,基于 imfp 和那个 IMF SDMX APIdata.imf.org.

v0.2.0--突破性变化: 旧服务器调用 dataservices.imf.org, 国际货币基金组织于2025年将其退役。因此,所有请求均已超时。 此版本迁移到 imfp,针对当前 data.imf.org SDMX 3.0 API,并得到积极维护。

______________________________________________________________________

安装

使用 uv (推荐)

uvx --from git+https://github.com/c-cf/imf-data-mcp imf-data-mcp

使用pip

pip install git+https://github.com/c-cf/imf-data-mcp.git

______________________________________________________________________

Claude桌面配置

{
  "mcpServers": {
    "imf": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/c-cf/imf-data-mcp", "imf-data-mcp"]
    }
  }
}

或者,如果通过pip安装:

{
  "mcpServers": {
    "imf": {
      "command": "imf-data-mcp"
    }
  }
}

______________________________________________________________________

可用工具

工具说明
imf_list_databases列出约155个IMF数据库及其ID
imf_search_databases按关键字筛选数据库(例如。 "inflation", "trade")
imf_get_parameter_defs列出数据库的查询维度
imf_get_parameter_codes列出维度的有效代码,可选择搜索
imf_fetch_data使用年份范围和维度过滤器获取时间序列数据

______________________________________________________________________

典型工作流程

1. imf_search_databases(keyword="consumer price")
   → CPI, CPI_WCA, ...

2. imf_get_parameter_defs(database_id="CPI")
   → country, index_type, coicop_1999, frequency, ...

3. imf_get_parameter_codes(database_id="CPI", parameter="country", search="austria")
   → AUT

4. imf_fetch_data(
       database_id="CPI",
       start_year=2015, end_year=2023,
       filters={"country": ["AUT"], "frequency": ["M"]}
   )

______________________________________________________________________

通用数据库ID

主题ID
消费者价格CPI
生产者价格PPI
国民账户(年度)ANEA
国民账户(季度)QNEA
国际收支平衡BOP_AGG
汇率ER_2026_JAN_VINTAGE
商品价格PCPS
财政监测FM
政府财政统计GFS_COFOG
货币统计MFS_CBS, MFS_MA, MFS_IR
财务稳健FSIC
服务贸易ITS
SDG数据SDG

______________________________________________________________________

费率限制

IMF API允许大约10个请求/5秒。 imfp 手柄 速率限制和自动重试。

______________________________________________________________________

调试

npx @modelcontextprotocol/inspector imf-data-mcp

______________________________________________________________________

许可证

Apache 2.0

目录标签

目录标签

PythonClaude搜索research-and-dataIMF数据本地部署经济数据SDMXAPI数据查询时间序列

支持客户端

Claude

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

运行时(runtime,运行环境)

Python

部署方式(deploymentType,部署类型)

remote-capable

工具数量(toolCount,工具数)

5

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiononeremote-capable

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP