What you need
- A Claude account. An organisation owner may need to allow connectors in a workspace.
- An MT5 login, its password, and the exact server name shown in your MT5 terminal. Any broker that offers MT5 works.
- A FiveSocket account with the MT5 account linked. Link your MT5 account and try it free, no card: 24 hours or 100 calls, whichever comes first. Then a 7-day free trial, card required. Cancel anytime. The trial includes one connected MT5 account.
Claude on the web and Claude Desktop
Link MT5 in FiveSocket
Start a trial, open Accounts and enter your MT5 login, password and exact server name in your browser. Do not type them into Claude.
Add FiveSocket from the directory
Open https://claude.ai/directory/fivesocket-mt5, or search for FiveSocket in Claude under Settings > Connectors, and choose Connect.
Sign in and approve
Choose Connect. FiveSocket opens in your browser. Sign in and choose read only or read and trade.
Ask about your account
In a chat, make sure the FiveSocket connector is on, then ask Claude to list your FiveSocket accounts.
Claude Desktop uses the connectors on your Claude account, so a connector you add on the web is available in the desktop app too.
Claude on your phone
Add the connector once on claude.ai or in Claude Desktop. The Claude apps for iPhone and Android use the connectors on your account, so you can ask about your MT5 account from your phone with no extra setup.
This is the main thing a hosted server gives you over a local one. A server that runs on your PC is out of reach when you are away from it. FiveSocket answers from its own MT5 terminal, wherever you are.
Claude on a Mac
Claude on the web and the Claude app for macOS both use the connectors on your Claude account, so FiveSocket works on a Mac with nothing else installed. You do not need MetaTrader for Mac, Wine, Parallels or a Windows VPS, because FiveSocket runs the MT5 terminal on its own servers.
Open-source MT5 MCP servers depend on the MetaTrader5 Python package, which only installs on Windows. That is why they do not run on a Mac without a Windows virtual machine.
Let Claude trade with a custom connector
The directory connector reads only. To trade from Claude, open Settings > Connectors, choose Add custom connector, name it FiveSocket and paste this address. Custom connectors depend on your Claude plan or workspace settings.
https://api.fivesocket.com/mcpWhen FiveSocket asks for permissions, tick Trade. Claude still cannot place an order until the account has a trading policy with the exact symbols and the largest order size you allow. Claude is told to confirm that policy with you before it sets it.
Claude Code
Add the server from a terminal, then run /mcp inside Claude Code and choose FiveSocket to sign in through your browser.
claude mcp add --transport http fivesocket https://api.fivesocket.com/mcp
For reads only, use https://api.fivesocket.com/mcp/read instead. Claude Code is a good fit for analysis work: ask it to pull your deal history and write a script or a report from it.
Prompts to try
- List my FiveSocket accounts and show the balance, equity and free margin of each.
- Which of my open positions has the largest floating loss, and how far is it from its stop loss?
- Group last month's closed trades by symbol and show the net result of each.
- Pull the last 100 four-hour candles for GBPUSD and describe the trend.
- What is the minimum volume and volume step for XAUUSD on this account?
Claude's answer is its own reading of the data. Check figures in MT5 before you act on them.
Compared with a local open-source server
Claude Desktop and Claude Code can also run a local MT5 MCP server, such as an open-source one from GitHub or the server built into the MT5 terminal. That works if the terminal runs on the same computer, which usually means Windows, and stays logged in.
A local server cannot be added to Claude on the web, because Claude connects to custom connectors from Anthropic's servers over the internet. FiveSocket runs the terminal for you and signs in with OAuth, so the same address works on the web, on desktop, on your phone and in Claude Code.
A local server keeps your broker password on your own machine and can offer tick data. FiveSocket holds the password, encrypted, and has no price stream. Compare MT5 MCP servers
Read only or read and trade
https://api.fivesocket.com/mcp offers trading tools only after you approve the trading permission, and orders must fit the account's symbol and size policy. https://api.fivesocket.com/mcp/read never offers trading tools.
Trading leveraged FX and CFDs carries a high risk of losing money quickly. Try any new setup on a demo account first. FiveSocket connects software to your account, and neither FiveSocket nor an AI assistant's output is investment advice.
Frequently asked questions
- Is FiveSocket in Claude's connector directory?
- Yes. FiveSocket is listed at https://claude.ai/directory/fivesocket-mt5 as a read-only connector. To trade, add the full address as a custom connector.
- Does it work in the Claude mobile app?
- Yes. Add the connector on claude.ai or in Claude Desktop, and the Claude apps for iPhone and Android can use it.
- Will Claude see my MT5 password?
- No. You enter it in FiveSocket in your browser. Claude signs in with its own short-lived token, and no tool accepts a password.
- Do I need to keep MetaTrader open?
- No. FiveSocket runs its own MT5 terminal for your account, so your computer can be off.
- Does it work on a Mac?
- Yes. Use Claude on the web or the Claude app for macOS. FiveSocket runs MT5 for you, so you need no Windows virtual machine or VPS.
- How do I disconnect Claude?
- Remove the connector in Claude, or revoke it under MCP connections in FiveSocket. Revocation applies to the next request.
- How much does it cost?
- Plans start at $9.99 a month for one MT5 account. Link your MT5 account and try it free, no card: 24 hours or 100 calls, whichever comes first. Then a 7-day free trial, card required. Cancel anytime. The trial includes one connected MT5 account.