FxSocket MCP
Read-only MCP server that lets Claude, Cursor, VS Code and other MCP clients query MetaTrader 4, MetaTrader 5 and cTrader accounts.
At a Glance
MIT-licensed local stdio relay (fxsocket/mcp) for the read-only FxSocket MCP server. The relay needs an FxSocket API key, and the tools and data run on FxSocket's hosted service.
Engagement
Available On
Alternatives
Listed Nov 2026
About FxSocket MCP
FxSocket MCP is a read-only Model Context Protocol server from FxSocket that gives AI agents access to MetaTrader 4, MetaTrader 5 and cTrader account data. Clients such as Claude, Cursor, VS Code and Gemini CLI can ask about balances, open positions, closed trades, quotes and price history. No tool can place, modify or close an order.
What It Is
FxSocket MCP exposes eight question-shaped tools through a hosted endpoint, with a Docker-based stdio relay for clients that only start local servers. Users create a read-only API key (prefixed fxs_ro_), optionally scoped to specific accounts, and pass it in an X-API-Key header or as a Bearer token. The server draws on the FxSocket platform, which hosts the MetaTrader terminals the accounts are connected to.
Tools and Workflow
The tools cover listing accounts, full account details (balance, equity, margin, leverage, terminal health), open positions and pending orders across accounts, and closed-trade history with win rate, net profit and per-symbol breakdown. Market-data tools look up a broker's exact symbol name, return live bid/ask/spread for up to 20 symbols, give contract specifications, and return OHLC candles (up to 500 bars per call). Example prompts include total equity per currency, losing positions, and trend descriptions from H1 candles.
Read-Only Design and Limits
The docs state the server cannot trade because of what its code can reach, not because of a setting. Amounts are reported in each account's deposit currency and never summed across currencies, and times are in broker server time. Documented limits are 60 requests per minute per user, up to 50 accounts and 300 order or trade rows per reply.
Setup Path
Remote-capable clients such as Claude Code, Cursor and VS Code connect directly to the server URL. Claude Desktop uses the fxsocket/mcp Docker image for amd64 and arm64; the repository also provides a Claude Code plugin and a Gemini CLI extension. Transport is stateless Streamable HTTP. The web connectors in claude.ai and ChatGPT, which use OAuth, are not yet supported. The relay source is MIT licensed.
Community Discussions
Be the first to start a conversation about FxSocket MCP
Share your experience with FxSocket MCP, ask questions, or help others learn from your insights.
Pricing
Open-source MCP relay (MIT)
MIT-licensed local stdio relay (fxsocket/mcp) for the read-only FxSocket MCP server. The relay needs an FxSocket API key, and the tools and data run on FxSocket's hosted service.
- MIT License
- Read-only MCP tools: list_accounts, get_account, get_open_positions, get_trade_history, search_symbols, get_quotes, get_symbol_info, get_price_history
- Requires an FxSocket API key; FxSocket account pricing is billed separately
- Limit: 60 requests a minute per user
Starter
Per-account plan for the FxSocket API, which the MCP server uses (read-only API keys).
- Full REST API + WebSocket access
- Live and demo accounts
- Order execution under 30ms
- Candlestick history with per-bar spread
- Your own dedicated terminal per account
Pro
Flat plan for many accounts at higher throughput.
- Everything in Starter
- 60 trading accounts included
- €9 per additional account
- Higher rate limits across the API
- Priority support (same day)
- All MT4 + MT5 features
Premium
Top limits, dedicated support channel, early access to new features.
- Everything in Starter
- 110 trading accounts included
- €8 per additional account
- Highest API rate limits
- Dedicated support channel
- Early access to new features
Capabilities
Key Features
- Read-only access to MT4, MT5 and cTrader accounts
- list_accounts with balance, equity and per-currency totals
- get_account with margin, leverage and terminal health
- Open positions and pending orders across accounts
- Trade history with win rate, net profit and per-symbol breakdown
- Broker symbol search
- Live quotes for up to 20 symbols
- Contract specifications via get_symbol_info
- OHLC price history up to 500 bars per call
- Account-scoped read-only API keys
- Docker stdio relay for local-only clients
- Claude Code plugin and Gemini CLI extension
- Streamable HTTP stateless transport
