imf-mcp-server
io.github.cyanheads/imf-mcp-server
Serveur MCP OK 5 outils
Query IMF SDMX 3.0 macroeconomic dataflows — WEO, BOP, CPI, exchange rates, 190 countries.
Fiche technique
- Auteur
- cyanheads (espace de noms du registre)
- Dépôt
- github.com/cyanheads/imf-mcp-server
- Site
- —
- Version
- 0.6.0
- Transport
- Streamable HTTP stdio
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://imf.caseyjhand.com/mcp Streamable HTTP
- Paquets
- @cyanheads/imf-mcp-server 0.6.0 npm stdio
@cyanheads/imf-mcp-server 0.6.0 npm Streamable HTTP - Outils
- 5
- Catégories
- —
- Dernière mise à jour
- 12 nov. 2026
- Publication
- 12 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.cyanheads/imf-mcp-server)<a href="https://latlas.dev/mcp/io.github.cyanheads/imf-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/imf-mcp-server.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://imf.caseyjhand.com/mcp
- Dernier résultat
- OK 28 nov. 2026, 08:55
- Temps de réponse
- 1 224 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- imf-mcp-server 0.6.0
- Outils
- 5
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 08:55 | OK | 1 224 ms | 5 |
Outils exposés (5, réponse à tools/list, 28 nov. 2026)
imf_list_databases
Imf List Databases
List IMF SDMX dataflows available on the portal. Entry point for every query: imf_get_database and imf_query_dataset both require a dataflow id obtained here. Vintage (historical snapshot) dataflows such as WEO_2025_OCT_VINTAGE are excluded by default; set include_vintages=true to include them. Results are paged — 50 per call by default and at most 200, adjustable with limit and offset — and total_count reports how many dataflows matched. Descriptions are shortened here; imf_get_database returns the full text for a single dataflow.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| filter | string | non | Optional words to filter results by, split on spaces and commas. A dataflow matches when every word appears, case-insensitively, somewhere in its ID, name, or full description. Example: "exchange rate" returns ER and related dataflows; "WEO outlook" returns WEO and the regional outlooks built on it. |
| include_vintages | boolean | non | Include vintage (historical snapshot) dataflows such as WEO_2025_OCT_VINTAGE. Default false — vintages are excluded to keep the discovery surface clean. |
| limit | integer | non | Maximum dataflows to return in this call. Default 50; one call returns at most 200, so a larger limit (up to 1,000) returns 200 and echoes requested_limit and applied_limit. total_count reports how many matched, so a partial page is always recognizable as one. |
| offset | integer | non | Number of matching dataflows to skip before this page. Combine with limit to page through a broad or unfiltered catalog. |
imf_get_database
Imf Get Database
Fetch a dataflow's dimension list with a codelist preview for each dimension. Resolves human-readable terms to SDMX codes (e.g. "United States" → USA, "Constant prices" → NGDP_RPCH). Required before imf_query_dataset — SDMX keys are opaque without codelist lookups. Each codelist is capped at the first 50 entries by default, including previews filtered by codelist_filter. Set dimension_id to retrieve one codelist with bounded limit/offset paging after the optional codelist_filter, which keeps codes whose ID or name contains every word given. Set available_only=true to page codes the dataflow actually publishes, with series and time coverage metadata; availability filtering happens before codelist_filter and paging. The imf://database/{dataflow_id} resource provides the same bounded discovery summary. Country codes are ISO 3-letter (USA, GBR, DEU), not ISO 2-letter (US, GB, DE). The key_format field shows the exact dimension order required by imf_query_dataset. Note: codelists enumerate the code universe, not actual coverage — valid codes can still return no_data if the combination has no series in this dataflow.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| dataflow_id | string | oui | Dataflow identifier from imf_list_databases, e.g. WEO, BOP, CPI. |
| agency_id | string | non | Agency ID that publishes this dataflow, e.g. IMF.RES or IMF.STA, matched case-insensitively. Auto-detected from the dataflow list when omitted. |
| version | string | non | Dataflow version, e.g. 9.0.0. Auto-detected from the dataflow list when omitted. |
| codelist_filter | string | non | Optional words to search for in each dimension's codelist, split on spaces and commas. A code matches when every word appears, case-insensitively, in its code ID or name; different words may match different fields. Filtering runs before the 50-entry preview or selected-dimension page. Example: "CPI… |
| available_only | boolean | non | Return only codes reported by the dataflow-wide availability constraint. Default false keeps ordinary codelist discovery unchanged. |
| dimension_id | string | non | Exact dimension ID from this tool, e.g. INDICATOR. Select one dimension to page beyond its preview. |
| limit | integer | non | Entries to return from the selected dimension. Valid only with dimension_id; default 50. One call returns at most 200, so a larger limit (up to 50,000) returns 200, echoes requested_limit and applied_limit, and next_offset names the rest. |
| offset | integer | non | Matching entries to skip in the selected dimension before this page. Valid only with dimension_id; default 0. |
imf_query_dataset
Imf Query Dataset
Query an IMF SDMX dataflow by dimension key over a time range. Returns observations with time_period, value, and status, plus the unit, scale, and decimals of each series — a key resolving to several series carries one entry per series in series_metadata, since unit and scale differ between them. An index series also carries the reference_period it is based on (e.g. 2010A, 2010=100) exactly as published, on the series and, where the dataflow publishes one per observation, on each observation. Requires imf_get_database first to obtain the correct key_format and valid dimension codes. Country codes are ISO 3-letter (USA, GBR, DEU — not US, GB, DE). Key format: dot-separated codes in DSD keyPosition order (e.g. USA.NGDP_RPCH.A for WEO). Every position must carry a code: use + to combine codes (e.g. USA+GBR.NGDP_RPCH.A) and * to match every code at a position (e.g. *.NGDP_RPCH.A for all countries); * stands alone and cannot join a + list. Codes are matched case-insensitively and checked against each dimension's codelist before the query — an unknown code is rejected with the nearest valid codes. Codelists from imf_get_database enumerate the code universe, not actual coverage — valid codes can still return no_data if the combination has no series. When a + key returns data for some requested series and none for others, missing_series names each empty one with the reason a query for it alone gives (no_data or no_data_in_range). When the extra request that recovers the unit, scale,…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| dataflow_id | string | oui | Dataflow identifier from imf_list_databases, e.g. WEO, BOP, CPI. Matched case-insensitively; the response echoes the catalog spelling. |
| agency_id | string | non | Agency ID, e.g. IMF.RES or IMF.STA, matched case-insensitively. Auto-detected from dataflow list when omitted. |
| version | string | non | Dataflow version, e.g. 9.0.0. Auto-detected from dataflow list when omitted. |
| key | string | oui | Dot-separated dimension codes in DSD keyPosition order. Call imf_get_database to get key_format and valid codes first. Use + to combine codes at one position (e.g. USA+GBR.NGDP_RPCH.A). Use * to match every code at a position — *.NGDP_RPCH.A returns the indicator for all countries, and CAN.*.A ever… |
| start_period | string | non | Start of time range (inclusive). Accepts any of YYYY (annual), YYYY-SN (semi-annual, e.g. 2023-S1), YYYY-QN (quarterly, e.g. 2023-Q1), YYYY-MM (monthly), or a calendar-valid YYYY-MM-DD (daily), whatever the dataflow's frequency. The bound covers the whole period it names, so start_period 2023 admit… |
| end_period | string | non | End of time range (inclusive). Same formats as start_period, and must not be earlier than it. The bound covers the whole period it names, so end_period 2023 admits 2023-M12 and 2023-Q4. Observations after this period are excluded from the result. |
| last_n_observations | integer | non | Keep only each series' last N observations, an integer from 1 to 1,000,000; 1 returns each series' latest value. Latest is per series: series end at different periods, and a WEO series ends in its projection years (e.g. 2031), so set end_period to stop at a past year. With start_period or end_perio… |
| canvas_id | string | non | Existing canvas ID to accumulate results into across multiple queries. This selects the destination only; it does not force staging. Use output_mode="canvas" to stage an under-budget result. A canvas_id that has expired fails as canvas_not_found once the result is staged: omit it to stage onto a fr… |
| output_mode | enum: "auto" | "canvas" | non | Result placement. auto returns an under-budget result inline and spills only when needed. canvas explicitly stages the full result, using canvas_id when supplied or allocating a fresh canvas. |
imf_dataframe_describe
Imf Dataframe Describe
List DataCanvas tables and columns staged by a prior imf_query_dataset call. Returns each table's name, row count, and column schema (name + DuckDB type). Required before imf_dataframe_query to discover the table and column names for SQL.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| canvas_id | string | oui | Canvas ID returned by imf_query_dataset whenever staged=true, from automatic spillover or output_mode="canvas". |
imf_dataframe_query
Imf Dataframe Query
Run a read-only SQL SELECT against a DataCanvas table staged by imf_query_dataset. Supports multi-country comparisons, time-series aggregation, and cross-indicator joins. Requires imf_dataframe_describe first to discover table and column names. One SELECT statement per call; a leading WITH … SELECT (CTE) is accepted. DML and DDL are rejected.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| canvas_id | string | oui | Canvas ID returned by imf_query_dataset whenever staged=true. Call imf_dataframe_describe with it before writing SQL. |
| sql | string | oui | Read-only SQL SELECT statement — exactly one statement, starting with SELECT or with a WITH … SELECT common table expression. Reference tables by the names returned by imf_dataframe_describe. Example: SELECT time_period, value FROM spilled_abc123 WHERE time_period >= '2010' ORDER BY time_period. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://imf.caseyjhand.com/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http imf-mcp-server https://imf.caseyjhand.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : imf-mcp-server ; URL : https://imf.caseyjhand.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : imf-mcp-server ; Server URL : https://imf.caseyjhand.com/mcp ; Create as a plugin{
"mcpServers": {
"imf-mcp-server": {
"url": "https://imf.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"imf-mcp-server": {
"type": "http",
"url": "https://imf.caseyjhand.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"imf-mcp-server": {
"url": "https://imf.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"imf-mcp-server": {
"httpUrl": "https://imf.caseyjhand.com/mcp"
}
}
}[mcp_servers.imf-mcp-server]
url = "https://imf.caseyjhand.com/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
imf-mcp-server · L’Atlas · Test du
[imf-mcp-server — L’Atlas](https://latlas.dev/mcp/io.github.cyanheads/imf-mcp-server)Source : Registre officiel MCP · relevé le 1 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.