Macroeconomic and FX time-series data for AI agents: indicators, calendars, COT, forex, commodities.
Macroeconomic and FX time-series data for AI agents: indicators, calendars, COT, forex, commodities. That is what the fxmacrodata mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
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.
The server publishes 2 tools. What each one is for:
Synchronous — The Synchronous tool exposed by this serverAsynchronous — async def main(): async with AsyncClient(api_key="YOUR_API_KEY") as client: # Fetch macroeconomic indicators data = await client.get_indicator("eur"The server ships on PyPI as fxmacrodata, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Configuration is passed through the environment: YOUR_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. FXMacroData's toolset — Synchronous, Asynchronous — is a fair guide to whether it matches your workflow. It is maintained by fxmacrodata; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against FXMacroData's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Synchronous | The Synchronous tool exposed by this server. |
| Asynchronous | 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) |
{
"mcpServers": {
"fxmacrodata": {
"command": "uvx",
"args": ["fxmacrodata"],
"env": {
"YOUR_API_KEY": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| YOUR_API_KEY | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.