Skip to content
MCP server

fxapis — MetaTrader 5

Let AI agents read and trade MetaTrader 5 accounts, with scoped, revocable keys

Install
Pricing
Free trial
Platforms
API
Runs
Remotely
Access
Needs an account or API key
Version
1.1.0
Listing updated
3 days ago

About fxapis — MetaTrader 5

fxapis — MetaTrader 5 is an MCP server for finance and payments. It runs as a hosted remote server, so there is nothing to install locally.

fxapis hosts the MT5 terminals in its EU cloud, so an assistant can reach MetaTrader 5 accounts without a VPS or any local install. The site is blunt about risk: trades are real orders on real broker accounts and there is no simulated market, so it advises starting with a demo account and a read-only or reduce-only key.

Permissions are enforced by the API rather than the prompt. A read-only key can only read, a reduce-only key can close positions, move stops and cancel pending orders but never open exposure, and an execute key can open trades. Broker passwords are entered in the fxapis console and never pass through the model. Writes take idempotency keys to avoid double orders.

The 31 tools cover reading, account lifecycle and trading, including multi-account orders. Plans start at $9 a month with a 14-day trial on demo accounts. Workspaces with MarketLabs get extra research, calendar and news tools.

Install

Run in a terminal

claude mcp add --transport http mt5 https://api.fxapis.com/mcp

Add to Settings → Connectors → Add custom connector

https://api.fxapis.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mt5": {
      "url": "https://api.fxapis.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mt5": {
      "type": "http",
      "url": "https://api.fxapis.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mt5": {
      "serverUrl": "https://api.fxapis.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mt5": {
      "type": "http",
      "url": "https://api.fxapis.com/mcp"
    }
  }
}

Tools this server provides (26)

Taken from the project documentation; the running server may differ.

get_workspace
Workspace details.
get_usage
Usage.
list_accounts
List MT5 accounts.
get_account
One account.
get_account_status
Account status.
get_account_figures
Account figures.
list_positions
Open positions.
list_instruments
Instruments.
list_account_instruments
Instruments on an account.
get_market_hours
Market hours.
get_quotes
Quotes.
list_orders
Orders.
get_order
One order.
list_deals
Deals.
list_multi_account_orders
Multi-account orders.
get_multi_account_order
One multi-account order.
calculate
Calculation helper.
bring_accounts_online
Bring accounts online.
take_account_offline
Take an account offline.
place_market_order
Place a market order.
place_pending_order
Place a pending order.
close_position
Close a position.
modify_position
Modify a position.
cancel_order
Cancel an order.
place_multi_account_order
Place an order across accounts.
cancel_multi_account_order
Cancel a multi-account order.

What it does

Scoped keys
Read-only, reduce-only and execute scopes limit what an agent can do.
Hosted terminals
MT5 terminals run in the fxapis EU cloud.
Trading tools
Market and pending orders, close, modify and cancel, including multi-account orders.
No double orders
Idempotency keys prevent repeated orders.
MarketLabs research
Optional cited briefs, calendar, news and watchlist tools.

Good for

  • Close half a position and move the stop to break-even
  • Cap an agent to reduce-only risk management
  • Place the same order across several accounts
  • Read a research brief for a pair before proposing a trade

Pricing

Free trial, from $9 a month

14-day trial on demo accounts; plans from $9/mo, no free plan

Prices change. Check fxapis.com before you buy.

fxapis — MetaTrader 5 FAQ

Can an agent trade real money?

Yes, only if given a key with trading scope. Orders are real, so the site advises starting on a demo account.

How do I stop an agent opening positions?

Give it a key without the trading:execute scope.

Can the agent connect my account?

No. Broker passwords are entered by you in the fxapis console, never in the chat.

What does it cost?

Personal is $9/mo, Pro $29/mo, Production $99/mo and Business $749/mo, each with a 14-day trial.

Is fxapis — MetaTrader 5 free?

fxapis — MetaTrader 5 is a paid product with a free trial. Paid plans start at $9 a month.

How do I add fxapis — MetaTrader 5 to Claude Code?

Run this command in your terminal: claude mcp add --transport http mt5 https://api.fxapis.com/mcp

What are the best alternatives to fxapis — MetaTrader 5?

The closest alternatives to fxapis — MetaTrader 5 are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, Quantivex Research and Provyan.

Alternatives to fxapis — MetaTrader 5

  1. Remote MCP server exposing the Vybe Solana API to AI clients and code editors

    • 44 tools
    • Remote
    • 2.8K GitHub stars
    • Finance and payments
  2. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  3. Budget Tracker

    MCP server

    Local MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling

    • 14 tools
    • Remote
    • Freemium
    • 2 GitHub stars
    • Finance and payments
  4. Stock scores, what a price assumes, earnings quality and quiet profit revisions

    • 11 tools
    • Remote
    • Free
    • Finance and payments
  5. Provyan

    MCP server

    Backtested crypto signal results on 94 coins, with luck odds and sources

    • 4 tools
    • Remote
    • Free
    • Finance and payments
  6. TribuJus

    MCP server

    Read-only access to UK bank accounts, cards and transactions via TrueLayer Open Banking

    Not checked yet
    • 5 tools
    • Remote
    • Open source
    • Legal and government