MCP.so
Sign In

IMF Data MCP

@c-cf

About IMF Data MCP

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 da

Basic information

Category

Data & Analytics

License

Apache-2.0

Runtime

python

Transports

stdio

Publisher

c-cf

Submitted by

Chia-feng Chu

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

5

List all ~155 IMF databases with their IDs

Filter databases by keyword (e.g. `"inflation"`, `"trade"`)

List query dimensions for a database

List valid codes for a dimension, with optional search

Fetch time series data with year range and dimension filters

Overview

What is IMF Data MCP?

A Model Context Protocol server for retrieving economic data from the IMF's SDMX API at data.imf.org. It is built on the imfp library and provides tools to list databases, search, inspect dimensions, and fetch time series data.

How to use IMF Data MCP?

Install via uv (recommended: uvx --from git+https://github.com/c-cf/imf-data-mcp imf-data-mcp) or pip. Configure the server in Claude Desktop or any MCP client using the provided JSON block. Invoke tools like imf_search_databases, imf_get_parameter_defs, and imf_fetch_data to interact with IMF data.

Key features of IMF Data MCP

  • Lists all ~155 IMF databases with IDs.
  • Searches databases by keyword (e.g., inflation, trade).
  • Fetches time series data with year range and dimension filters.
  • Handles IMF API rate limits automatically.
  • Uses the current data.imf.org SDMX 3.0 API.
  • Compatible with Claude Desktop and other MCP clients.

Use cases of IMF Data MCP

  • Retrieve consumer price index data for a specific country.
  • Search for databases related to inflation or trade.
  • Compare national accounts across multiple economies.
  • Fetch balance of payments statistics for analysis.
  • Integrate IMF economic data into AI‑powered workflows.

FAQ from IMF Data MCP

What IMF data sources does this server access?

The server accesses the IMF SDMX API at data.imf.org via the imfp library.

What are the runtime dependencies?

Python and either uv or pip. The server pulls in the imfp library automatically during installation.

Are there any API rate limits?

Yes, the IMF API allows roughly 10 requests per 5 seconds. The imfp library handles rate limiting and retries automatically.

What changed in version 0.2.0?

Version 0.2.0 migrated from the decommissioned dataservices.imf.org endpoint to the current data.imf.org SDMX 3.0 API, fixing timeouts.

How do I configure this server for Claude Desktop?

Add a JSON block to mcpServers with either "command": "uvx" and args for uv installation, or "command": "imf-data-mcp" for pip installation.

Comments

More Data & Analytics MCP servers