# FXMacroData MCP server

> Fetches macroeconomic indicators, forex prices, release calendars, COT positioning, and commodity prices for financial research and backtesting.

- Repository: https://github.com/fxmacrodata/fxmacrodata
- Page: https://hostedmcp.org/servers/fxmacrodata/fxmacrodata
- Transport: remote
- Stars: 12
- License: MIT
- Latest version: 1.0.1

## Install

### Claude Code

```sh
claude mcp add --transport http fxmacrodata https://fxmacrodata.com/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "fxmacrodata": {
      "url": "https://fxmacrodata.com/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "fxmacrodata": {
      "type": "http",
      "url": "https://fxmacrodata.com/mcp"
    }
  }
}
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.fxmacrodata]
url = "https://fxmacrodata.com/mcp"
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "fxmacrodata": {
      "httpUrl": "https://fxmacrodata.com/mcp"
    }
  }
}
```

## FAQ

### Can I test the data before subscribing?

Yes, you can evaluate the integration using the public USD workflow before connecting a subscription.

### What kind of technical indicators are available for forex prices?

You can request optional technical indicators such as SMA, RSI, MACD, Bollinger Bands, and EMA.

### Is an API key required for all data?

An API key is required for protected datasets, including non-USD indicators, FX spot-rate history, COT, and commodities.

### Does the SDK support asynchronous programming?

Yes, the SDK provides both synchronous and asynchronous clients.
