FXMacroData

io.github.fxmacrodataPublished by GitHub account fxmacrodatav1.0.1Updated Nov 2, 2026

Macroeconomic and FX time-series data for AI agents: indicators, calendars, COT, forex, commodities.

VerifiedStreamable HTTPWeb executableDatabasesFinanceData & Analytics

Overview

AI-generated overview

Remote MCP server exposing FXMacroData macroeconomic and FX time series — indicators, release calendars, COT, forex, commodities — to AI assistants.

What you can do
  • Discover indicators and data coverage per currency, and check API health and client capabilities
  • Query macro indicator time series, latest announcements, press releases, macro news and risk-sentiment series
  • Look up release calendars, historical calendar snapshots, event versions and stored forecasts or predictions
  • Fetch FX spot history with technical indicators, seasonality, rate curves, rate differentials and commodity snapshots
  • Render interactive charts and calendars in MCP Apps clients, and build briefing, intel, heatmap, scenario and replay analyses
When to use it
Useful when an assistant needs authoritative macro and FX data for research, market commentary, event-surprise context or currency analysis, and when you want charts rendered inline in a compatible client. The public USD workflow lets you evaluate it before subscribing.
Requirements
A remote streamable HTTP endpoint at fxmacrodata.com; no local install. Many tools work anonymously for USD only; non-USD indicators, FX spot history, COT, commodities, rate curves and most analysis tools require an FXMacroData API key from a paid subscription, supplied via OAuth, an API key or a bearer token depending on the client.
Before you install
Most datasets are subscriber-only and anonymous calls return subscription_required with a checkout link; a subscribe tool returns payment options. An API key is a credential — the SDK notes it is sent only over HTTPS and redirects to other hosts are refused. Data is third-party and some fields are derived or heuristic, such as sentiment scores and scenario elasticity estimates.

Installation

In SourceWeft

  1. Open FXMacroData in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.fxmacrodata%2Ffxmacrodata/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "fxmacrodata": {
      "type": "http",
      "url": "https://fxmacrodata.com/mcp"
    }
  }
}

README

FXMacroData Python SDK 🐍📊

[PyPI Version] [Python Versions] [License] [Build]

The FXMacroData Python SDK provides a simple and efficient interface for fetching macroeconomic indicators, forex prices, release calendars, COT positioning, and commodity prices from FXMacroData.

Use synchronous and asynchronous clients to bring the data into research notebooks, backtests and applications.

Subscribe to FXMacroData for non-USD data, full available history, FX, commodities and positioning. Use the public USD workflow to evaluate the integration before connecting your subscription.


🌟 Features

  • Fetch:
    • Macroeconomic indicators — policy rates, inflation, GDP, unemployment, bond yields, and more: 97 distinct indicators across 656 endpoints
    • FX spot rates with optional technical indicators (SMA, RSI, MACD, Bollinger Bands)
    • Release calendars — upcoming economic data release dates
    • Data catalogue — discover available indicators per currency
    • COT data — CFTC Commitment of Traders positioning
    • Commodity prices — gold, silver, platinum
  • Evaluate with public USD macro data covering the most recent 90 days; connect your FXMacroData subscription for full available history.
  • FX spot-rate history through get_fx_price.
  • A key from an authorized FXMacroData subscription is required for protected datasets, including non-USD indicators, FX spot-rate history, COT, and commodities.
  • Full support for:
    • Synchronous client
    • Asynchronous client
  • Lightweight: depends only on requests and aiohttp.

📦 Installation

Install from PyPI:

bash
pip install fxmacrodata

Or install the latest version from GitHub:

bash
pip install git+https://github.com/fxmacrodata/fxmacrodata.git

🔧 Usage

Synchronous

python
from fxmacrodata import Client
client = Client(api_key="YOUR_API_KEY")
# Fetch macroeconomic indicatorsdata = client.get_indicator(    "aud", "policy_rate",    start_date="2023-01-01",    end_date="2023-11-01")print(data)
# Forex price endpointfx = client.get_fx_price("usd", "gbp", start_date="2025-01-01")print(fx)
# Forex with technical indicatorsfx = client.get_fx_price("eur", "usd", indicators="sma_20,rsi_14,macd")print(fx)
# Release calendarcalendar = client.get_calendar("usd")print(calendar)
# Data catalogue — discover available indicatorscatalogue = client.get_data_catalogue("usd")print(catalogue)
# COT positioning datacot = client.get_cot("eur", start_date="2025-01-01")print(cot)
# Commodity pricesgold = client.get_commodities("gold", start_date="2026-01-01")print(gold)

Asynchronous

python
import asynciofrom fxmacrodata import AsyncClient
async def main():    async with AsyncClient(api_key="YOUR_API_KEY") as client:        # Fetch macroeconomic indicators        data = await client.get_indicator("eur", "inflation")        print(data)
        # Forex price endpoint        fx = await client.get_fx_price("usd", "jpy")        print(fx)
        # Release calendar        calendar = await client.get_calendar("usd")        print(calendar)
        # Data catalogue        catalogue = await client.get_data_catalogue("usd")        print(catalogue)
        # COT positioning        cot = await client.get_cot("jpy")        print(cot)
        # Commodity prices        gold = await client.get_commodities("gold")        print(gold)
asyncio.run(main())

Timeouts and errors

Every request has a 30-second timeout by default. Change it per client:

python
Client(api_key="YOUR_API_KEY", timeout=60)            # secondsClient(api_key="YOUR_API_KEY", timeout=(3.05, 120))   # (connect, read)AsyncClient(api_key="YOUR_API_KEY", timeout=60)       # total seconds

All errors are FXMacroDataError or one of its subclasses:

ExceptionRaised when
FXMacroDataAPIErrorThe API returns a non-200 status (.status_code is set).
FXMacroDataResponseErrorThe API returns 200 but the body is an error message or not a JSON object.
FXMacroDataTimeoutErrorThe request exceeds the timeout.
FXMacroDataTransportErrorThe connection fails (DNS, TLS, network).
FXMacroDataRedirectErrorA redirect would send your API key to a different origin, so it is refused.

Your API key is never included in error messages, and it is only sent over HTTPS to the origin you configured: redirects to another host or to plain HTTP are refused rather than followed with the key attached.


OpenBB Integration

FXMacroData supports all practical OpenBB integration paths from this package:

  • OpenBB Python: installable provider/router extension for obb.fxmacrodata.*.
  • OpenBB REST API: /api/v1/fxmacrodata/* routes through openbb-api.
  • OpenBB Workspace, generated: widgets generated by openbb-api from inline metadata.
  • OpenBB Workspace, custom: standalone backend serving widgets.json, apps.json, and data endpoints.
  • OpenBB MCP: tools exposed through openbb-mcp.
  • OpenBB CLI: commands available after openbb-build.

OpenBB packages require Python 3.10+. Install the OpenBB Python extra:

bash
pip install "fxmacrodata[openbb]"openbb-build

Then use FXMacroData from the OpenBB Python interface:

python
from openbb import obb
obb.user.credentials.fxmacrodata_api_key = "YOUR_API_KEY"
catalogue = obb.fxmacrodata.data_catalogue(    currency="USD",    provider="fxmacrodata",).to_df()
inflation = obb.fxmacrodata.macro_indicators(    currency="USD",    indicator="inflation",    start_date="2020-01-01",    provider="fxmacrodata",).to_df()
eurusd = obb.fxmacrodata.fx_historical(    base="EUR",    quote="USD",    start_date="2024-01-01",    provider="fxmacrodata",).to_df()

Run the OpenBB REST API and generated Workspace backend:

bash
pip install "fxmacrodata[openbb-api]"openbb-buildfxmacrodata-openbb-api --host 127.0.0.1 --port 6900

Workspace can be connected to http://127.0.0.1:6900. The generated /widgets.json uses FXMacroData's inline OpenBB widget metadata.

Run the OpenBB Workspace custom backend:

bash
pip install "fxmacrodata[workspace]"fxmacrodata-openbb-backend

Default backend URL:

text
http://127.0.0.1:7779

Workspace exposes /widgets.json, /apps.json, /catalogue, /release_calendar, /macro_indicator, /forex, /cot, and /commodity. Swagger/OpenAPI docs are disabled by default for this backend. For local debugging only, set FXMACRODATA_OPENBB_ENABLE_DOCS=1 before starting it.

Run OpenBB MCP:

bash
pip install "fxmacrodata[mcp]"openbb-buildfxmacrodata-openbb-mcp --default-categories fxmacrodata --host 127.0.0.1 --port 8001

Run OpenBB CLI:

bash
pip install "fxmacrodata[openbb-cli]"openbb-buildopenbb

See docs/openbb-integration.md for the full integration matrix and the separate upstream OpenBB repository contribution path.


📘 API Overview

get_indicator(currency, indicator, start_date=None, end_date=None)

Fetches macroeconomic indicator time series data.

  • currency: "usd", "aud", "eur", "gbp", "cad", "nok", "nzd", "jpy", "brl", "cny", "dkk", "pln", "sek", "sgd", etc.
  • indicator: "policy_rate", "inflation", "gdp", "unemployment", "trade_balance", "current_account_balance", "gov_bond_10y", etc.
  • API key required for non-USD.

get_fx_price(base, quote, start_date=None, end_date=None, indicators=None)

Fetches daily FX spot rates between two currencies.

  • indicators: Optional comma-separated technical indicators — "sma_20", "sma_50", "sma_200", "rsi_14", "macd", "ema_12", "ema_26", "bollinger_bands", or "all".
  • API key required.

get_calendar(currency, indicator=None)

Fetches upcoming economic data release dates for a currency.

  • indicator: Optional filter to a specific indicator slug.
  • Returns announcement_datetime (Unix timestamp) and release (indicator slug).

get_data_catalogue(currency, include_capabilities=False, include_coverage=False, indicator=None)

Discovers available macroeconomic indicators for a given currency.

  • Returns a dict keyed by indicator slug with name, unit, frequency, and has_official_forecast.
  • API key required for non-USD.

get_cot(currency, start_date=None, end_date=None)

Fetches CFTC Commitment of Traders (COT) positioning data.

  • Supported currencies: AUD, CAD, CHF, EUR, GBP, JPY, NZD, USD.
  • API key required for non-USD.

get_commodities(indicator, start_date=None, end_date=None)

Fetches commodity price time series.

  • indicator: "gold", "silver", or "platinum".
  • API key required.

💹 Supported Currencies & Indicators

18 currencies supported: AUD, BRL, CAD, CHF, CNH, CNY, DKK, EUR, GBP, ILS, JPY, NGN, NOK, NZD, PEN, SEK, THB, USD.

The table below shows a sample of indicator coverage across four major currencies. Use get_data_catalogue() to discover the full list for any currency.

CategoryMetricUSDEURAUDGBP
EconomyGDP Growth✓✓✓✓
Inflation Rate✓✓✓✓
Trade Balance✓✓✓✓
Current Account Balance✓✓✓✓
Retail Sales✓✓✓✓
Industrial Production✓———
Labor MarketUnemployment Rate✓✓✓✓
Employment Level✓✓✓✓
Full-Time Employment✓✓✓—
Part-Time Employment✓✓✓✓
Participation Rate✓✓✓✓
Non-Farm Payrolls✓———
Monetary PolicyPolicy Rate✓✓✓✓
Risk-Free Rate✓✓✓✓
Central Bank Assets✓—✓—
Government Bond Yields2-Year Govt Bond✓✓✓✓
5-Year Govt Bond✓✓✓✓
10-Year Govt Bond✓✓✓✓
Inflation-Linked Bond✓✓✓✓

📄 License

MIT License © FXMacroData


🌐 Links

Source: README.md at commit 817acce

Tools

56

ping

Ping

Health check that confirms the FXMacroData API and MCP server are reachable. Returns the API health response.

Takes no parameters.

mcp_capabilities

MCP Capabilities

Explains what the FXMacroData MCP server can do: which tools render MCP Apps, which return plain rows, what is public versus subscriber-only, and how tool selection differs across ChatGPT, Claude, Cursor, Codex, and plain MCP clients. Suited to questions about what is available, why visuals are not showing, or how to get the same result in a different interface.

Takes no parameters.

mcp_auth_guide

MCP Auth Guide

Explains which authentication mode suits FXMacroData MCP across major clients and platforms: OAuth, an API key, or a bearer token, for ChatGPT/OpenAI Apps, Claude/Anthropic, Microsoft/VS Code/Copilot-style clients, AstrBot, Cursor, Codex, local scripts, and CI.

Takes no parameters.

subscribe_for_mcp_access

Subscribe For MCP Access

Returns FXMacroData subscription options and a direct checkout path for unlocking MCP app visuals, charts, and advanced analytical tools.

Takes no parameters.

data_catalogue

Indicator Catalogue

List every macroeconomic indicator FXMacroData publishes for a currency, with units, frequency, and coverage/freshness metadata. Returns the exact `indicator` slug strings used across FXMacroData indicator, calendar, and prediction endpoints. Rows whose `coverage` is stale, partial, or unavailable are not suitable for real-time carry or inflation analysis. Supported currencies (lowercase 3-letter codes): AUD, BRL, CAD, CHF, CNH, CNY, DKK, EUR, GBP, HUF, ILS, JPY, KRW, MYR, NGN, NOK, NZD, PEN, SEK, THB, TWD, USD. Access: free for every currency, no API key required.

Parameterscurrencyrequiredindicatorinclude_coverageinclude_capabilities

risk_sentiment

Global Risk Sentiment

Return the global risk-on/risk-off sentiment series used for FX regime analysis. The result includes a derived composite score, regime label, component contributions, pagination, and data_quality metadata. Suited to cross-asset regime context for high-beta, safe-haven, commodity, or USD-defensive FX conditions. Access: free, no API key required.

Parametersend_datestart_date

risk_sentiment_changes

Recorded Risk Sentiment Changes

Poll retained risk-sentiment additions, score revisions, and input-metadata changes. Pass pagination.next_after_sequence as after_sequence on the next page or poll. Recording timestamps describe when FXMacroData stored each change; earlier untracked revisions and publisher publication times are unavailable. Access: free, no API key required.

Parameterslimitafter_sequence

macro_news

Macro News

Return recent official central-bank news and press-release headlines for a currency, covering central-bank policy, inflation, employment, GDP, trade, fiscal, energy, and commodity narratives. Rows are official-source headlines with lightweight keyword-derived affected_indicators and sentiment fields when a headline is classifiable. Supported currencies: AUD, BRL, CAD, CHF, DKK, EUR, GBP, ILS, JPY, NGN, NOK, NZD, PEN, SEK, USD. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parameterslimitoffsetcurrencyrequiredlookback_days

release_calendar

Release Calendar

Get upcoming scheduled macroeconomic release timestamps for a currency, for questions such as when the next CPI, GDP, payrolls, or policy decision is due. Returns ISO-8601 announcement_datetime values in UTC plus market-local timestamps, a markdown agenda, and Release Calendar App metadata. The optional `timezone` adds an `announcement_datetime_requested_timezone` field. Each row has a `release` string with the indicator name and a `currency` code. Unbounded calls return future releases only. The optional `indicator` filter narrows to a single series, and optional `start_date` and `end_date` bounds select a month, week, day, or explicit date range. Supported currencies: AUD, BRL, CAD, CHF, CNH, CNY, COMM, DKK, EUR, GBP, HUF, ILS, JPY, KRW, MYR, NGN, NOK, NZD, PEN, SEK, THB, TWD, USD. The `indicator` parameter lists the accepted indicator slugs. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parameterscurrencyrequiredend_datetimezoneindicatorstart_date

calendar_snapshot

Historical Calendar Snapshot

Return persisted economic-event schedules, importance and cancellation states at an explicit historical cutoff. Accepted mode requires actual capture and parser acceptance by the cutoff. Reconstruction additionally admits qualified official notices recovered later; it does not establish historical service availability. Scheduled-date and event filters apply after version selection. Checkpoint and cursor pin subsequent export pages. Empty results do not establish that no events were scheduled. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parametersas_ofrequiredlimitcursorcurrencyrequiredend_datecheckpointevent_kindimportancestart_dateknowledge_mode

calendar_event_versions

Calendar Event Versions

Return immutable schedule and importance versions for a stable archive event ID, including explicit publisher cancellations and source capture evidence. Capture, acceptance and documentary publisher clocks remain distinct. Checkpoint and cursor pin subsequent history pages. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parameterslimitcursorcurrencyrequiredcheckpointarchive_event_idrequired

calendar_archive_coverage

Calendar Archive Coverage

Inspect persisted official-calendar captures, parser outcomes, configured sources and coverage limitations for a currency. Successful capture does not prove complete historical calendar or speech coverage. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parameterscurrencyrequired

release_calendar_visual_artifact

Release Calendar Visual Artifact

Returns the release calendar payload with MCP Apps metadata so compatible clients render the interactive Release Calendar App inline. Suited to requests to show, display, visualize, or render a macro release calendar, such as 'show me the AUD release calendar'. Optional `indicator`, `start_date`, and `end_date` filters narrow the calendar to a series, month, week, day, or date range; `timezone` adds local times for a specific city or region. Supported currencies: AUD, BRL, CAD, CHF, CNH, CNY, COMM, DKK, EUR, GBP, HUF, ILS, JPY, KRW, MYR, NGN, NOK, NZD, PEN, SEK, THB, TWD, USD. The `indicator` parameter lists the accepted indicator slugs. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parameterscurrencyrequiredend_datetimezoneindicatorstart_date

event_predictions

Event Predictions

Return stored forecasts, consensus-style predictions, central-bank projections, survey forecasts, IMF forecasts, nowcasts, or FXMacroData blended predictions for macro announcements, for actual-vs-consensus, prior-vs-forecast, or event-surprise context. Rows are keyed by announcement_id/date/indicator and include prediction source metadata. Supported currencies: AUD, BRL, CAD, CHF, CNH, CNY, DKK, EUR, GBP, HUF, ILS, JPY, KRW, MYR, NGN, NOK, NZD, PEN, SEK, THB, TWD, USD. The `indicator` parameter lists the accepted indicator slugs. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parameterspageas_ofbasislimitoffsetcurrencyrequiredend_datefrequencyindicatorrequiredstart_datebefore_dateseasonality+8 more

latest_announcements

Latest Macro Announcements

Return the latest stored macroeconomic value for every available indicator in one currency, as a compact current macro snapshot. An unverified announcement_datetime has unproven origin; it is neither a verified scheduled time nor observed actual publication. Report absent schedule, publication and ingestion evidence as unknown, and latency as not measured. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parameterscurrencyrequired

announcement_changes

Macro Announcement Changes

Poll recently ingested macro announcement changes with a resumable cursor. This is the bounded, MCP-safe counterpart to the release-event stream: the returned next_cursor is accepted as `since` on a later call, so polling resumes without holding a streaming invocation open. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parameterslimitsincepayloadcurrenciesindicators

press_releases

Official Press Releases

Return the public central-bank press-release archive for a currency as the original official release rows, without derived sentiment or indicator classifications. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parameterslimitoffsetcurrencyrequired

macro_factor

Macro Factor

Return a precomputed macro factor for one currency, with optional stored component scores and source references. The factor is a documented summary value and does not replace the underlying macro releases. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parameterslimitfactorrequiredoffsetcurrencyrequiredend_datestart_dateinclude_sourcesinclude_components

fx_reference_sources

FX Reference Sources

List public official FX reference-rate sources and the source policy that governs pair-specific intraday reference-rate series. Access: free for every currency, no API key required.

Takes no parameters.

fx_reference_universe

FX Reference Pair Universe

List the public FX reference-rate pair universe, optionally filtered by currency or source id, showing which pairs and sources have intraday reference-rate series. Access: free for every currency, no API key required.

Parameterssourcecurrency

fx_intraday_reference_rates

Intraday FX Reference Rates

Return subscriber intraday official FX reference-rate observations for one pair. Coverage is limited to the pairs and sources in the FX reference pair universe. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parametersbaserequiredquoterequiredend_timestart_time

rate_curve

Rate Curve Analytics

Return official government-nominal curve nodes, slopes, or derived forward segments for one currency. This is a subscriber data tool and preserves the endpoint's requested view and method metadata. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parametersdateviewmethodmetriccurrencyrequiredcurve_family

rate_differentials

Pair Rate Differentials

Return the stored or derived rate differential for one FX pair, with the measure, rate type, curve family, and tenor metadata that define it. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parametersbaserequiredlimitquoterequiredoffsetmeasureend_daterate_typestart_datecurve_familyend_tenor_yearsstart_tenor_years

latest_commodities

Latest Commodity Values

Return the latest stored value for every available commodity indicator in one response, as a batch snapshot of the subscriber commodity series. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Takes no parameters.

forex

FX Spot Rates

Get raw historical FX spot-rate rows for a currency pair (e.g. EUR/USD, USD/JPY) as a plain-text table, raw rows, exact values, or JSON-like data, with optional technical-indicator series (SMA, EMA, RSI, MACD, Bollinger Bands, etc.) computed from spot. Returns data only, without chart metadata. Daily granularity from official central-bank reference rates with full multi-year history. Supported currencies (lowercase 3-letter codes): AUD, BRL, CAD, CHF, CNH, CNY, DKK, EUR, GBP, HUF, ILS, JPY, KRW, MYR, NGN, NOK, NZD, PEN, SEK, THB, TWD, USD. The optional `indicators` parameter accepts a comma-separated list of technical indicator slugs to attach to each row. Supported indicator values: adx_14, atr_14, bollinger_bands, cci_20, donchian_20, ema_12, ema_20, ema_200, ema_26, ema_50, macd, macd_histogram, macd_signal, rsi_14, sma_20, sma_200, sma_50, stochastic_14_3, williams_r_14, all. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parametersbaserequiredquoterequiredend_dateindicatorsstart_date

seasonality

FX Seasonality

Get monthly return seasonality for an FX pair or XAU/USD, covering seasonal patterns, month-of-year tendency, historical monthly win rate, and XAUUSD/gold seasonality. Returns monthly average return, median return, win rate, sample size, dispersion, and per-year monthly returns from stored FX or gold series. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parametersmonthend_dateinstrumentrequiredlookback_years

indicator_query

Indicator Time Series

Get a paginated historical time series of a single macroeconomic indicator for a currency, sourced directly from the official central bank or statistical agency. Covers CPI/inflation, GDP, unemployment, policy rates, bond yields, payrolls, retail sales, PCE, PPI, trade balance, current account, money supply, and similar series. Each row returns `date` (economic reference period), `val` (numeric), and separate publication evidence. The `as_of` parameter restricts results to historically eligible values; current values can include later revisions. Returns raw rows without chart metadata. Each call returns one page, newest first: 100 rows when `start_date` is set, otherwise 20 (`limit` overrides, maximum 100). A page is not the full history. When `pagination.has_more` is true the result has a `partial_page` object: `partial_page.next_call` holds the exact arguments for the next page and `partial_page.pages_remaining` gives the number of pages left. Responses default to official-source rows only; prohibited private aggregator rows are always removed. USD indicators are free; non-USD requires an API key. Supported currencies: AUD, BRL, CAD, CHF, CNH, CNY, DKK, EUR, GBP, HUF, ILS, JPY, KRW, MYR, NGN, NOK, NZD, PEN, SEK, THB, TWD, USD. The `indicator` parameter lists the accepted indicator slugs. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parameterspageslugas_oflimitoffsetcurrencyend_dateindicatorrevisionsstart_datevalue_modeseries_mode+3 more

plot_visual_artifact

Plot Visual Artifact

Build a generic MCP Apps chart from one or more FXMacroData endpoint families: arbitrary plots, multi-series charts, and actual-vs-consensus views that combine announcements with predictions. Supported series sources are announcements, predictions, forex, commodities, and cot. For example, USD policy-rate midpoint actuals against market consensus use one announcements series for `usd/policy_rate_midpoint` and one predictions series for `usd/policy_rate_midpoint` with `prediction_class=forecaster_survey`. The tool does not fetch arbitrary URLs or run custom chart code; it only composes approved FXMacroData API surfaces into the comparison chart app. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parametersbasepagelimitqueryquotetitley_keyoffsetseriessourcex_axisy_label+7 more

indicator_visual_artifact

Indicator Visual Artifact

Returns an indicator time series with MCP Apps metadata so compatible clients (Claude Desktop, ChatGPT, Codex, etc.) render an interactive line chart instead of a JSON dump. Suited to indicator time-series requests to show, tell, explain, compare, inspect a trend, or review a recent window. Broad histories page through the `limit`, `offset`, and `page` controls, with `pagination.next_offset` giving the next page. Supported currencies: AUD, BRL, CAD, CHF, CNH, CNY, DKK, EUR, GBP, HUF, ILS, JPY, KRW, MYR, NGN, NOK, NZD, PEN, SEK, THB, TWD, USD. The `indicator` parameter lists the accepted indicator slugs. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parameterspagelimitoffsetcurrencyrequiredend_dateindicatorrequiredstart_date

forex_visual_artifact

FX Visual Artifact

Returns FX spot-rate history for a currency pair with MCP Apps chart metadata so compatible clients render an interactive spot-rate chart inline. Suited to FX pair time-series and trend requests such as 'show me AUD/USD', 'the last 30 days', or 'how has EUR/USD moved recently'. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parametersbaserequiredquoterequiredend_dateindicatorsstart_date

commodities_visual_artifact

Commodities Visual Artifact

Returns commodity price history with MCP Apps chart metadata so compatible clients render an interactive commodity chart inline. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parametersend_dateindicatorrequiredstart_date

cot_visual_artifact

COT Visual Artifact

Returns weekly CFTC COT positioning data with MCP Apps chart metadata. By default it charts noncommercial net positioning; the `metric` parameter selects another COT field. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parametersmetricreportcurrencyrequiredend_datestart_date

policy_rate_differential_visual_artifact

Policy-Rate Differential Visual Artifact

Build a two-series chart comparing base and quote policy-rate history to visualize the rate differential setup for an FX pair. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parametersbaserequiredquoterequiredend_datestart_date

macro_briefing_task

Macro Briefing Task

Build a compact macro briefing for a currency by combining catalogue, key macro series, release-calendar, prediction, news, risk-sentiment, COT, seasonality, and FX technical context. Returns analysis in the tool response. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parameterscurrencyrequired

indicator_intel_task

Indicator Intelligence Task

Build an intelligence pack for one indicator by combining chart-ready series data, derived analytics, and nearest release timing context. Returns analysis in the tool response. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parameterscurrencyrequiredend_dateindicatorrequiredstart_date

pair_intel_task

FX Pair Intelligence Task

Build an intelligence pack for an FX pair by combining policy-rate spread context, spot-rate context, and release-timing metadata. Returns analysis in the tool response. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parametersbaserequiredquoterequiredend_datestart_date

macro_heatmap_task

Macro Heatmap Task

Build a cross-currency macro heatmap from indicator time series and return a matrix with latest values, recent changes, and z-scores. Returns analysis in the tool response.

Parametersend_datecurrenciesindicatorsstart_date

policy_scenario_modeler_task

Policy Scenario Modeler Task

Run a policy-rate spread what-if scenario for an FX pair and estimate directional spot impact using an explicit heuristic elasticity assumption. Returns analysis in the tool response. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parametersbaserequiredquoterequiredend_dateshock_bpsshock_legstart_datepolicy_shock_bpselasticity_per_100bps

macro_war_room_task

Macro War Room Task

Build a multi-panel macro market cockpit that combines FX sessions, upcoming release queue, pair context, and generated risk alerts. Returns analysis in the tool response. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parametersbasequotecurrencyend_dateindicatorstart_date

event_impact_replay_task

Event Impact Replay Task

Replay verified publication events against measured 1, 5 and 20-observation FX reference returns. Daily windows exclude the publication-day fixing; changes from previous actuals are not consensus surprises. Returns analysis in the tool response. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parametersbasequotecurrencyrequiredend_dateindicatorrequiredstart_datelookback_events

quant_scenario_lab_task

Quant Scenario Lab Task

Run an expanded quant-style policy scenario for an FX pair with deterministic projection, stress percentiles, and horizon assumptions. Returns analysis in the tool response. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parametersbaserequiredquoterequiredend_dateshock_bpsshock_legstart_datehorizon_dayselasticity_per_100bpsannualized_volatility_pct

known_at_time_task

Known At Time Task

Return the slice of a macro series that would have been known at a specific timestamp, selecting verified value vintages before pagination. Returns analysis in the tool response. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parametersas_ofrequiredcurrencyrequiredend_dateindicatorrequiredstart_dateavailabilitydataset_version

macro_regime_classifier_task

Macro Regime Classifier Task

Classify a currency's macro regime using policy rate, inflation, GDP, and unemployment context, with explicit assumptions and confidence notes. Returns analysis in the tool response. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parameterscurrencyrequiredend_datestart_date

release_risk_score_task

Release Risk Score Task

Score upcoming releases for a currency pair using release-calendar proximity and indicator-level heuristics. Returns analysis in the tool response. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parametersbaserequiredquoterequiredhorizon_events

portfolio_risk_engine_task

Portfolio Risk Engine Task

Analyze a multi-position FX book for concentration, stress exposure, and event-driven catalyst risk. Returns analysis in the tool response. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parametershorizon_eventspositions_jsonrequiredstress_shock_pct

fx_trade_setup_task

FX Trade Setup Task

Build a trader-oriented FX pair setup using spot context, macro differentials, upcoming catalyst risk, and optional COT positioning. Returns analysis in the tool response. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parametersbaserequiredquoterequiredinclude_cothorizon_events

fx_backtest_task

FX Backtest Task

Run a spot-only FX backtest using historical policy-rate-differential and/or lagged momentum signals. Downloads complete histories, verifies vintages and price coverage, and charges opening, rebalancing and closing costs. The carry signal does not include funding income or broker rollover. Returns analysis in the tool response. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parametersbaserequiredquoterequiredend_datestrategystart_dateevent_gatedinitial_capitalevent_window_daysmomentum_lookbacktransaction_cost_bps

macro_research_pack_task

Macro Research Pack Task

Bundles catalogue, indicator history, next release timing, and optional FX pair context into one persistent-host-friendly research payload. Returns analysis in the tool response. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parametersbasequotecurrencyrequiredend_dateindicatorrequiredstart_date

prediction_coverage

Forecast Coverage Catalogue

List which publishers produce pre-release forecasts for a currency's indicators, what class of forecast each one is (compiled consensus, forecaster survey, market implied, model nowcast, central-bank projection), whether any of them is a genuine consensus, and how far the verified archive runs. Suited to questions about whether a consensus, forecast or estimate exists for a release, such as 'do you have the consensus for US CPI' or 'what forecast do you have for payrolls'. It needs no API key and works for every served currency. It returns no forecast values: those require a subscription. Its answer distinguishes two cases: no publisher produces this forecast for anybody (no subscription adds it), versus the data exists and is behind the paywall. A pair listed here exists in the verified archive. Access: free for every currency, no API key required. It returns coverage metadata only; forecast values need a subscription.

Parameterscurrency

market_sessions

FX Market Sessions

Returns which FX trading sessions are currently open (Sydney, Tokyo, London, New York) and when the next session opens or closes, for questions such as 'is the market open?', 'when does London open?', or 'which sessions overlap right now?'. An ISO-8601 UTC timestamp in `at` returns the snapshot for a specific moment instead of now. Accounts for weekends and major banking holidays. Access: free, no API key required.

Parametersat

cot_data

COT Report

Get weekly CFTC Commitment of Traders (COT) positioning data for a currency's FX futures contract on the CME, covering speculator positioning, non-commercial longs vs shorts, hedge-fund FX positioning, and sentiment extremes. Returns weekly snapshots with long/short open interest by trader category. Updated every Friday at 15:30 ET reflecting the Tuesday cutoff. USD (the USD Index contract) is available without an API key for the most recent 90 days on a 15-minute release delay; every other currency and the full history need an API key. Supported currencies: AUD, CAD, CHF, EUR, GBP, JPY, NZD, USD, XAU. Access: USD is available without an API key; every other currency returns subscription_required with a subscribe link.

Parametersreportcurrencyrequiredend_datestart_date

commodities

Commodity Indicators

Get historical price series for supported commodity indicators using the exact slugs advertised by this schema. Requires an API key. Supported indicators: crude_oil_inventories, distillate_inventories, gasoline_inventories, gold, natural_gas, natural_gas_storage, oil_brent, oil_wti, platinum, silver. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parameterssymbolend_dateindicatorstart_date

positioning

Futures Instrument Positioning

Read persisted CFTC contract positioning. Omit instrument to list supported instrument/report combinations. Main and micro contracts, futures-only and combined reports remain separate. Position dates are not publication timestamps. Requires an API key.

Parameterslimitoffsetreportend_dateinstrumentstart_date

native_history

Reserves, Treasury and Energy History

Read one source and year of gold ownership/custody, Treasury auctions, cash/debt, TIC positions or EIA energy fundamentals. Keep native dimensions and unknown historical publication times. Omit source to list definitions; an API key is required.

Parametersyearlimitorderoffsetregionsourcemeasureproductmaturityaccount_typeownership_basisholder_country_code

financial_prices

Official Financial Prices

Read persisted official financial price observations: government yield curves, individual securities, overnight benchmarks and reference prices. Preserves issuer, instrument, maturity, curve type and source precision. Requires an API key; an empty result means no stored observations for the selection. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parameterslimitissueroffsetsourcemeasurecurrencyrequiredend_datestart_dateinstrument_id

official_dataset_family

Official Dataset Family

Get metadata-first official dataset payloads grouped by API endpoint type. `endpoint_type` selects the API taxonomy group and `dataset` selects the specific series family. Supported endpoint types: monetary_policy, fiscal_policy, international_trade, statistics_releases. Supported datasets: auction_metrics, bop, capital_flows, cb_liquidity, credit_conditions, external_debt, fx_intervention, iip, services_trade, treasury_cash, wage_settlements. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Parametersdatasetrequiredcurrencyrequiredcomponentendpoint_typerequired

Version history

1
  1. v1.0.1LatestSep 16, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts