What is Freqtrade-MCP?
Freqtrade-MCP is an MCP (Model Context Protocol) server that integrates with the Freqtrade cryptocurrency trading bot via its REST API. It enables AI agents to interact with and operate Freqtrade for automated trading.
How to use Freqtrade-MCP?
Clone the repository, install dependencies (freqtrade-client and mcp[cli]), then configure your MCP client with the server’s path and environment variables (FREQTRADE_API_URL, FREQTRADE_USERNAME, FREQTRADE_PASSWORD). The Freqtrade instance must have its REST API enabled (set api_server.enabled = true in its configuration).
Key features of Freqtrade-MCP
- 17 MCP tools provide access to most Freqtrade API endpoints.
- Fetch market data, profit, balance, performance, trades, and configuration.
- Place buy/sell trades and manage trade locks.
- Start, stop, and reload the bot remotely.
- Manage whitelist and blacklist of trading pairs.
- Simple setup with environment‑variable authentication.
- Works with Python 3.13+ and MCP clients (e.g., Claude Desktop).
Use cases of Freqtrade-MCP
- Ask an AI assistant for live trading status and performance summaries.
- Automate retrieval of market data (candlesticks) for analysis.
- Allow natural‑language commands to place trades or adjust bot settings.
- Integrate Freqtrade with conversational interfaces for hands‑off operation.
- Programmatically add or remove pairs from blacklists via AI tools.
评论