Arlet

Connect IMF Data to Claude Code

Query IMF Data directly from Claude Code. Arlet links the two through one MCP connection and takes care of API keys.

Connects your AI client to IMF Data via the SDMX 3.0 API (api.imf.org). The legacy SDMX 2.0 endpoints (dataservices.imf.org) are retired, and old IFS-style series codes do not carry over — find the current dataflow first.

Tools:

  • search_imf_dataflows: keyword search over all dataflows (list cached in the runtime).
  • get_imf_dataflow_dimensions: dimension order and codes for one dataflow; shows the exact key template for the data query.
  • get_imf_data: observations for a dimension key like 'USA.CPI.CP01.IX.A' ('*' = wildcard), with lastNObservations control.

Attribution: data are from IMF Data (https://data.imf.org). Responses carry the source name.

How to connect IMF Data to Claude Code

  1. 1

    In the Arlet dashboard, open Data tools, find IMF Data and switch it on. No API key setup is needed.

  2. 2

    In your terminal, run claude mcp add --transport http arlet https://mcp.arlet.dev/mcp/ to add Arlet as an MCP server.

  3. 3

    Start Claude Code, run /mcp, select arlet and click Authenticate.

  4. 4

    Your browser opens. Sign in with Google and click Allow on the consent screen. The connection is complete.

The connection is per user and works across every project on the same machine.

Use IMF Data with other AI clients