LeanTrading MCP — Claude Code MCP server: features and setup
Connects Claude Code and other MCP clients to LeanTrading over OAuth. Access depends on account eligibility, and requests are read-only by default.
claude mcp add --transport http leantrading-mcp https://www.leantrading.io/api/mcpWhat LeanTrading MCP does
The server gives an MCP client access to LeanTrading context, intelligence, risk previews, advice, and chart data. It connects through OAuth at https://www.leantrading.io/api/mcp. Supported clients include Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, and Gemini CLI.
Access requires a Pro, Elite, Blueprint, or Admin account. Product Testers qualify during the first 14 days after receiving that status, then need Pro; Explorer and free accounts cannot use the hosted service. The default request scope is read-only. Chart changes, writes, and execution need stronger permissions and confirmation, while silent broker order placement is not available through MCP.
Permissions are checked on every call. The service audits request metadata but does not retain raw tool arguments. Review the requested scopes and LeanTrading’s privacy and security notices before connecting an account.
What it helps with
- connect LeanTrading tools to an MCP client
- access LeanTrading context from Claude Code
- request a preliminary trading risk assessment
- view chart data through MCP
Example prompts for the agent
- Assess risk using the available LeanTrading context, without taking action.
- Show the LeanTrading chart data available for this request.
- Draft advice based on the available LeanTrading intelligence.
How to install LeanTrading MCP
Platform CLI: remote server
claude mcp add --transport http leantrading-mcp https://www.leantrading.io/api/mcpPlatform CLI: remote server
codex mcp add leantrading-mcp --url https://www.leantrading.io/api/mcpConfig file
{
"mcpServers": {
"leantrading-mcp": {
"url": "https://www.leantrading.io/api/mcp"
}
}
}Config file
{
"servers": {
"leantrading-mcp": {
"type": "http",
"url": "https://www.leantrading.io/api/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http leantrading-mcp https://www.leantrading.io/api/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about LeanTrading MCP
How do I install LeanTrading MCP in Claude Code?
Run claude mcp add --transport http leantrading-mcp https://www.leantrading.io/api/mcp, then authorize a LeanTrading account through OAuth. Access requires an eligible subscription or Product Tester status during its first 14 days.
What does LeanTrading MCP do?
It connects MCP clients to LeanTrading context, intelligence, risk previews, advice, and chart data. Requests are read-only by default.
Which accounts can use LeanTrading MCP?
Pro, Elite, Blueprint, and Admin accounts qualify. Product Testers qualify for the first 14 days after receiving that status; Explorer and free accounts do not.