Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

An MCP server that integrates with the Freqtrade cryptocurrency trading bot.

README.md

Freqtrade-MCP

An MCP server that integrates with the Freqtrade cryptocurrency trading bot via its REST API, enabling seamless AI agent interaction for automated trading operation.

For more crypto-related MCP servers, see the Kukapay MCP servers.

!GitHub License !Python Version !Status

Installation

Prerequisites

  • Python 3.13+: Ensure Python is installed on your system.
  • Freqtrade: A running Freqtrade instance with the REST API enabled (see Freqtrade Docs).
  • Git: For cloning the repository.

Steps

  1. Clone the Repository:
   git clone https://github.com/kukapay/freqtrade-mcp.git
   cd freqtrade-mcp
  1. Install Dependencies:

Using pip: ``bash pip install freqtrade-client mcp[cli] ` Or with uv (optional): `bash uv add freqtrade-client "mcp[cli]" ``

  1. Client Configuration:
    "mcpServers": { 
      "freqtrade-mcp": { 
        "command": "uv", 
        "args": [ 
          "--directory", "/your/path/to/freqtrade-mcp", 
          "run", 
          "__main__.py" 
        ], 
        "env": { 
           "FREQTRADE_API_URL": "http://127.0.0.1:8080",
           "FREQTRADE_USERNAME": "your_username",
           "FREQTRADE_PASSWORD": "your_password"
        } 
      } 
    }
  1. Freqtrade Configuration:

Enable the rest API by adding the api_server section to your configuration and setting api_server.enabled to true.

Sample configuration: `` "api_server": { "enabled": true, "listen_ip_address": "127.0.0.1", "listen_port": 8080, "verbosity": "error", "enable_openapi": false, "jwt_secret_key": "somethingrandom", "CORS_origins": [], "username": "Freqtrader", "password": "SuperSecret1!", "ws_token": "sercet_Ws_t0ken" }, ``

Check the document here.

Usage

Available Tools

The server exposes the following Freqtrade API endpoints as MCP tools:

| Tool | Description | Parameters | |-----------------------|--------------------------------------|-------------------------------------| | fetch_market_data | Fetch OHLCV data for a pair | pair: str, timeframe: str | | fetch_bot_status | Get open trade status | None | | fetch_profit | Get profit summary | None | | fetch_balance | Get account balance | None | | fetch_performance | Get performance metrics | None | | fetch_whitelist | Get whitelist of pairs | None | | fetch_blacklist | Get blacklist of pairs | None | | fetch_trades | Get trade history | None | | fetch_config | Get bot configuration | None | | fetch_locks | Get trade locks | None | | place_trade | Place a buy/sell trade | pair: str, side: str, stake_amount: float | | start_bot | Start the bot | None | | stop_bot | Stop the bot | None | | reload_config | Reload bot configuration | None | | add_blacklist | Add pair to blacklist | pair: str | | delete_blacklist | Remove pair from blacklist | pair: str | | delete_lock | Delete a trade lock | lock_id: int |

Example Prompts

  1. Fetch Market Data:
  • "Show me the hourly price data for BTC/USDT."
  • "What’s the 5-minute chart for ETH/BTC like?"
  • "Give me the latest candlestick data for XRP/USDT over the past hour."
  1. Fetch Bot Status:
  • "What’s the current status of my open trades?"
  • "Are there any active trades right now?"
  • "Tell me about the bot’s trading activity at the moment."
  1. Fetch Profit:
  • "How much profit have I made so far?"
  • "What’s the total profit summary for the bot?"
  • "Can you show me my trading gains?"
  1. Fetch Balance:
  • "What’s my account balance?"
  • "How much money do I have in the trading account?"
  • "Tell me the current balance of my Freqtrade wallet."
  1. Fetch Performance:
  • "How well has the bot been performing?"
  • "What are the performance metrics for my trades?"
  • "Show me the trading stats."
  1. Fetch Whitelist:
  • "Which pairs are on the whitelist?"
  • "What trading pairs is the bot allowed to use?"
  • "List the whitelisted pairs for me."
  1. Fetch Blacklist:
  • "Which pairs are blacklisted?"
  • "What trading pairs are blocked right now?"
  • "Tell me about the blacklist."
  1. Fetch Trades:
  • "What’s the history of my closed trades?"
  • "Show me all the trades the bot has completed."
  • "Can you list my past trades?"
  1. Fetch Config:
  • "What’s the current bot configuration?"
  • "Show me the settings the bot is using."
  • "Tell me about the Freqtrade config."
  1. Fetch Locks:
  • "Are there any trade locks active?"
  • "What locks are currently in place?"
  • "Show me the list of trading locks."
  1. Place Trade:
  • "Buy 0.01 BTC/USDT right now."
  • "Sell 0.05 ETH/USDT immediately."
  • "Place a buy order for 0.1 XRP/USDT."
  1. Start Bot:
  • "Start the trading bot."
  • "Turn on the Freqtrade bot."
  • "Get the bot running now."
  1. Stop Bot:
  • "Stop the trading bot."
  • "Shut down the Freqtrade bot."
  • "Pause the bot’s trading."
  1. Reload Config:
  • "Reload the bot’s configuration."
  • "Update the bot settings."
  • "Refresh the Freqtrade config."
  1. Add Blacklist:
  • "Blacklist ETH/USDT."
  • "Add BTC/ETH to the blacklist."
  • "Block trading for XRP/USDT."
  1. Delete Blacklist:
  • "Remove ETH/USDT from the blacklist."
  • "Unblock BTC/ETH for trading."
  • "Take XRP/USDT off the blacklist."
  1. Delete Lock:
  • "Delete the trade lock with ID 123."
  • "Remove lock number 45."
  • "Unlock the trade with ID 7."

License

This project is licensed under the MIT License. See the LICENSE file for details.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Finance & Payments servers.