CC

c-cf/imf-data-mcp

API development

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

14 stars 6 forks 품질 67 트렌드 9Apache-2.0

이 MCP 서버는 무료 IMF 데이터 API와 통합하여 경제 데이터를 검색 및 처리하기위한 도구 및 리소스 세트를 제공합니다.

개요

IMF 경제 데이터에 대한 모델 콘텍스 프로토콜 서버, imfp 및 data.imf.org에서 IMF SDMX API에 내장. dataservices.imf.org라는 오래된 서버는 2025년 IMF가 제출한 것입니다. 모든 요청은 결과로 표시됩니다. 이 버전은 현재 data.imf.org SDMX 3.0 API를 대상으로 imfp로 마이그레이션하고 적극적으로 유지됩니다. IMF API는 대략 10개의 요구/5 초를 허용합니다. imfp는 제한과 retries를 자동적으로 취급합니다.

개요(AI 번역)

IMF 경제 데이터의 모델 Context Protocol 서버, 내장 imfp와 data.imf.org]에서 IMF SDMX API.

v0.2.0 — 파손 변화: dataservices.imf.org라는 오래된 서버, 2025년 IMF가 승인한 것. 모든 요청은 결과로 표시됩니다. 이 버전은 imfp]로 마이그레이션하여 현재 data.imf.org를 대상으로 합니다. SDMX 3.0 API는 적극적으로 유지됩니다.


설치

사용 uv (추천)

pip 사용


Claude 데스크탑 구성

또는 pip를 통해 설치되는 경우:


사용 가능한 도구

| 도구 | 설명 | |—||| | imf_list_databases | 아이디와 함께하는 모든 ~155 IMF 데이터베이스 일람 | | imf_search_databases | 키워드별 필터 데이터베이스(예: [T7]], "trade") | | imf_get_parameter_defs | 데이터베이스에 대한 쿼리 크기 목록 | | imf_get_parameter_codes | 옵션 검색과 함께 차원의 유효한 코드 일람 | | imf_fetch_data | 연간 범위와 치수 필터의 철자 시간 시리즈 데이터 |


전형적인 워크플로우


일반적인 데이터베이스 ID

| 전화번호 | |—||| | 소비자가 | [T12] | | 프로듀서 | [T13] | | 국민계좌(연간) | ANEA | | 국민계좌(Quarterly) | [[T15]

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

IMF Data MCP

A Model Context Protocol server for IMF economic data, built on imfp and the IMF SDMX API at data.imf.org.

v0.2.0 — Breaking change: The old server called dataservices.imf.org, which the IMF decommissioned in 2025. All requests timed out as a result. This version migrates to imfp, which targets the current data.imf.org SDMX 3.0 API and is actively maintained.


Installation

Using uv (recommended)

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

Using pip

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

Claude Desktop configuration

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

Or, if installed via pip:

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

Available tools

Tool Description
imf_list_databases List all ~155 IMF databases with their IDs
imf_search_databases Filter databases by keyword (e.g. "inflation", "trade")
imf_get_parameter_defs List query dimensions for a database
imf_get_parameter_codes List valid codes for a dimension, with optional search
imf_fetch_data Fetch time series data with year range and dimension filters

Typical workflow

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"]}
   )

Common database IDs

Topic ID
Consumer Prices CPI
Producer Prices PPI
National Accounts (Annual) ANEA
National Accounts (Quarterly) QNEA
Balance of Payments BOP_AGG
Exchange Rates ER_2026_JAN_VINTAGE
Commodity Prices PCPS
Fiscal Monitor FM
Gov. Finance Statistics GFS_COFOG
Monetary Statistics MFS_CBS, MFS_MA, MFS_IR
Financial Soundness FSIC
Trade in Services ITS
SDG Data SDG

Rate limits

The IMF API allows roughly 10 requests / 5 seconds. imfp handles rate limiting and retries automatically.


Debugging

npx @modelcontextprotocol/inspector imf-data-mcp

License

Apache 2.0

GitHub에서 전체 README 보기

설치

uvx --from git+https://github.com/c-cf/imf-data-mcp imf-data-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

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