mahmoud20138

Claude Agent Trader — AI skill for Claude Code

AI community

Claude Agent SDK-based trading system -- Claude AI analyzes ICT/SMC patterns, auto-executes trades via MT5 MCP server.

How to install Claude Agent Trader

This entry records only its repository, not the path inside it, so there is no exact command to give. Open mahmoud20138/Claude-Agent-Trader and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Agent Trader does

Claude Agent SDK-based trading system -- Claude AI analyzes ICT/SMC patterns, auto-executes trades via MT5 MCP server.

Alternatives in AI

  • Claude Cookbook — Official notebooks and recipes for common patterns (RAG, tool use, Skills, MCP) 35.3k ★
  • Opennews MCP — News Aggregation · AI Ratings · Trading Signals · Real-time Updates 2.1k ★
  • Phantom — An AI co-worker with its own computer 1.3k ★

README

Claude Agent Trader

**Claude Agent SDK Autonomous Trading -- MCP Tool Calling -- ICT/SMC Analysis -- MetaTrader 5**

An autonomous trading system built on Claude Agent SDK that uses Claude's native tool-calling to drive market analysis and trade execution. Claude autonomously fetches multi-timeframe data, computes 11 technical indicators, analyzes using ICT/Smart Money Concepts methodology, and optionally executes trades on MetaTrader 5 -- all through MCP tool calls with no hardcoded logic. Supports direct prompt mode and fully autonomous agent mode.


Architecture

+------------------+           +------------------+
|   Direct Mode    |           |   Agent Mode     |
|   (main.py)      |           |   (agent.py)     |
|  Python drives   |           |  Claude drives   |
|  data -> prompt  |           |  via MCP tools   |
+--------+---------+           +--------+---------+
         |                              |
         +----------+-------------------+
                    |
         +----------+-----------+
         |  Claude Agent SDK    |
         |  (claude-sonnet-4-6) |
         +----------+-----------+
                    |
         +----------+-----------+
         |   MCP Tool Server    |
         |   (9 trading tools)  |
         +----------+-----------+
                    |
    +-------+-------+-------+-------+
    |       |       |       |       |
  Price  Candles Indicators Account Execute
  Tick   Multi-TF  EMA/RSI  Balance  Trade
  Data   D1->M15  ATR/MACD Margin   Close
                    |
         +----------+-----------+
         |   MetaTrader 5       |
         |   (Live Broker)      |
         +-----------------------+
                    |
         +----------+-----------+
         |   Trade Logger       |
         |   (JSONL daily)      |
         +-----------------------+

Two Operating Modes

Mode 1: Direct Prompt (main.py)

Python collects all market data, formats it as text, sends to Claude for analysis. Cla