A FastMCP stdio server that exposes XGBoost directional predictions for EURUSD=X and GBPUSD=X as MCP tools. Designed to run alongside oanda-mcp-server as part of a Claude-powered FX trading agent.
No environment variables required — models are baked into the image.
| Tool | Description |
|---|---|
get_market_features(ticker) | Fetches ~1 year of daily OHLCV data from Yahoo Finance, computes the full feature vector (returns, RSI, ATR, MACD, DXY, |
| VIX), and returns it as a JSON dict | |
get_forex_signal(ticker, features) | Runs the baked-in XGBoost model against pre-computed features and returns a directional signal with confidence |
| score |
| Ticker | Test accuracy |
|---|---|
| EURUSD=X | 68.80% |
| GBPUSD=X | 67.60% |
Add to your .mcp.json:
{
"mcpServers": {
"forex-predict-mcp": {
"type": "stdio",
"command": "docker",
"args": ["run", "--rm", "-i", "sleepingtalent/forex-predict-mcp:latest"]
}
}
}
Typical agent workflow
1. get_market_features("EURUSD=X") → inspect RSI, DXY, VIX values
2. get_forex_signal("EURUSD=X", features) → UP 87.9%
3. cross-reference with Oanda live price and open positions
4. place or skip order
---
Source: github.com/SleepingTalent/forex-predict-mcp
Content type
Image
Digest
sha256:f0092a0ca…
Size
513.4 MB
Last updated
4 months ago
docker pull sleepingtalent/forex-predict-mcp