Macroeconomic and FX time-series data for AI agents: indicators, calendars, COT, forex, commodities.
{
"mcpServers": {
"io-github-fxmacrodata-fxmacrodata": {
"args": [
"fxmacrodata"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
The FXMacroData Python SDK provides a simple and efficient interface for fetching macroeconomic indicators and forex price history from FXMacroData.
Is it safe?
No known CVEs for fxmacrodata.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 85 days ago. 3 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'fxmacrodata' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
No known vulnerabilities.
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Dynamic problem-solving through sequential thought chains
A Model Context Protocol server for searching and analyzing arXiv papers
The Apify MCP server enables your AI agents to extract data from social media, search engines, maps, e-commerce sites, or any other website using thousands of ready-made scrapers, crawlers, and automation tools available on the Apify Store.
MCP Security Weekly
Get CVE alerts and security updates for io.github.fxmacrodata/fxmacrodata and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
The FXMacroData Python SDK provides a simple and efficient interface for fetching macroeconomic indicators and forex price history from FXMacroData.
It includes both synchronous and asynchronous clients, supports free USD endpoints, and offers a free Forex Price API for exchange rate data.
get_fx_price).requests and aiohttp.Install from PyPI:
pip install fxmacrodata
Or install the latest version from GitHub:
pip install git+https://github.com/fxmacrodata/fxmacrodata.git
from fxmacrodata import Client
client = Client(api_key="YOUR_API_KEY")
# Fetch macroeconomic indicators
data = client.get_indicator(
"aud", "policy_rate",
start_date="2023-01-01",
end_date="2023-11-01"
)
print(data)
# Free Forex Price Endpoint
fx = client.get_fx_price("usd", "gbp", start_date="2025-01-01")
print(fx)
import asyncio
from 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", "cpi")
print(data)
# Free Forex Price Endpoint
fx = await client.get_fx_price("usd", "jpy")
print(fx)
asyncio.run(main())
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", etc.indicator: "policy_rate", "cpi", "inflation", "gdp", "unemployment", "trade_balance", "current_account", etc.get_fx_price(base, quote, start_date=None, end_date=None)Fetches historical FX prices between two currencies. No API key needed for USD-based queries.
| Category | Metric | USD | EUR | AUD | GBP |
|---|---|---|---|---|---|
| Economy | GDP Growth | ✓ | ✓ | ✓ | ✓ |
| Inflation Rate | ✓ | ✓ | ✓ | ✓ | |
| Trade Balance | ✓ | ✓ | ✓ | ✓ | |
| Current Account Balance | ✓ | ✓ | ✓ | ✓ | |
| Labor Market | Unemployment Rate | ✓ | ✓ | ✓ | ✓ |
| Employment Level | ✓ | — | ✓ | ✓ | |
| Full-Time Employment | ✓ | — | ✓ | — | |
| Part-Time Employment | ✓ | — | ✓ | — | |
| Participation Rate | ✓ | — | ✓ | ✓ | |
| Non-Farm Payrolls | ✓ | — | — | — | |
| Monetary Policy | Policy Rate | ✓ | ✓ | ✓ | ✓ |
| Interbank Rate | ✓ | ✓ | ✓ | ✓ | |
| Government Bond Yields | 2-Year Govt Bond | ✓ | ✓ | ✓ | — |
| 3-Year Govt Bond | ✓ | ✓ | ✓ | — | |
| 5-Year Govt Bond | ✓ | ✓ | ✓ | ✓ | |
| 10-Year Govt Bond | ✓ | ✓ | ✓ | ✓ | |
| Inflation-Linked Bond | ✓ | — | ✓ | ✓ |
MIT License © FXMacroData