Sign inSign up

sleepingtalent/forex-predict-mcp

By sleepingtalent

•Updated 4 months ago

Image
0

152

sleepingtalent/forex-predict-mcp repository overview

⁠forex-predict-mcp

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.


⁠Tools

ToolDescription
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

⁠Models

TickerTest accuracy
EURUSD=X68.80%
GBPUSD=X67.60%

⁠Usage

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

Tag summary

Content type

Image

Digest

sha256:f0092a0ca…

Size

513.4 MB

Last updated

4 months ago

docker pull sleepingtalent/forex-predict-mcp