# FXMacroData

Streams macroeconomic time series, forex spot prices, COT positioning, and economic calendars straight to your AI agent. Useful for market research and trading models.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 11
- Author: fxmacrodata
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/fxmacrodata/fxmacrodata
- Updated: 2026-10-11
- HTML: https://affpapa.org/en/nevibecode/mcp/fxmacrodata

## What it does

This MCP server connects your development environment to `https://fxmacrodata.com/mcp` over HTTP. It supplies 97 distinct macroeconomic indicators across 656 endpoints, including inflation figures, policy interest rates, GDP values, and sovereign bond yields. It also provides prices for commodities like gold, silver, and platinum.

For currency markets, the server returns spot quotes alongside common technical indicators: SMA, RSI, MACD, and Bollinger Bands. Assistants can also inspect CFTC Commitment of Traders reports and upcoming economic event schedules directly inside chat sessions.

Without an active subscription key, the service restricts queries to public USD statistics from the past 90 days. Non-USD indicators, complete historical archives, COT metrics, and commodity series require an authorized account. The default request timeout is 30 seconds.

## Requirements
- Remote server: `https://fxmacrodata.com/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http fxmacrodata https://fxmacrodata.com/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add fxmacrodata --url https://fxmacrodata.com/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "fxmacrodata": {
            "url": "https://fxmacrodata.com/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "fxmacrodata": {
            "type": "http",
            "url": "https://fxmacrodata.com/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http fxmacrodata https://fxmacrodata.com/mcp
```

## When to use it
- fetch central bank rates and inflation statistics
- calculate technical indicators like RSI and MACD for currency pairs
- track CFTC Commitment of Traders positioning
- check upcoming macroeconomic calendar releases

## Example prompts
- Fetch recent US inflation numbers and policy rate decisions for the past two months.
- Get EUR/USD spot prices alongside 20-period SMA and 14-period RSI.
- Look up the upcoming economic release calendar for USD this week.

## Similar
- [llmquant-commodities](https://affpapa.org/en/nevibecode/skills/llmquant-commodities.md) — skill · 479 installs
- [TickDB Market Data](https://affpapa.org/en/nevibecode/mcp/tickdb-market-data.md) — MCP server · ★ 893
- [macro-rates-monitor](https://affpapa.org/en/nevibecode/skills/macro-rates-monitor.md) — skill · 2300 installs
- [market-news-analyst](https://affpapa.org/en/nevibecode/skills/market-news-analyst.md) — skill · 4200 installs
- [commodities](https://affpapa.org/en/nevibecode/skills/commodities.md) — skill · 770 installs
- [news-reaction-failure-analyzer](https://affpapa.org/en/nevibecode/skills/news-reaction-failure-analyzer.md) — skill · 2500 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
