Freqtrade MCP Server

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

Local serverstdioPython

What is the Freqtrade MCP server?

If you already use Freqtrade, the freqtrade mcp server is the piece that lets your assistant work with it directly. An MCP server that integrates with the Freqtrade cryptocurrency trading bot.

What the server does

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

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • fetch_market_data — Fetch OHLCV data for a pair
  • fetch_bot_status — Get open trade status
  • fetch_profit — Get profit summary
  • fetch_balance — Get account balance
  • fetch_performance — Get performance metrics
  • fetch_whitelist — Get whitelist of pairs
  • fetch_blacklist — Get blacklist of pairs
  • fetch_trades — Get trade history
  • fetch_config — Get bot configuration
  • fetch_locks — Get trade locks
  • place_trade — Place a buy/sell trade
  • start_bot — Start the bot

Installation

freqtrade-client on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Credentials and setup notes

Configuration is passed through the environment: FREQTRADE_API_URL, FREQTRADE_USERNAME, FREQTRADE_PASSWORD. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • 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.

Where it fits

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Freqtrade's toolset — fetch_market_data, fetch_bot_status, fetch_profit and 11 more — is a fair guide to whether it matches your workflow. It is maintained by kukapay; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Freqtrade.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
fetch_market_dataFetch OHLCV data for a pair
fetch_bot_statusGet open trade status
fetch_profitGet profit summary
fetch_balanceGet account balance
fetch_performanceGet performance metrics
fetch_whitelistGet whitelist of pairs
fetch_blacklistGet blacklist of pairs
fetch_tradesGet trade history
fetch_configGet bot configuration
fetch_locksGet trade locks
place_tradePlace a buy/sell trade
start_botStart the bot
stop_botStop the bot
reload_configReload bot configuration

How to install the Freqtrade MCP server

"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"
        } 
      } 
    }

Configuration as documented by the project. Restart the client after saving.

Configuration

  • 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.
VariableDescriptionRequired
FREQTRADE_API_URLEndpoint or connection string the server talks to.Yes
FREQTRADE_USERNAMEConfiguration value read at startup.Optional
FREQTRADE_PASSWORDConfiguration value read at startup.Optional

Example prompts to try

  • Use Freqtrade to fetch market data.
  • Use Freqtrade to fetch bot status.
  • Use Freqtrade to fetch profit.

Frequently asked questions

It exposes 17 tools: `fetch_market_data`, `fetch_bot_status`, `fetch_profit`, `fetch_balance`, `fetch_performance`, `fetch_whitelist`, `fetch_blacklist`, `fetch_trades`, `fetch_config`, `fetch_locks`, `place_trade`, `start_bot`, `stop_bot`, `reload_config`, `add_blacklist`, `delete_blacklist`, and `delete_lock`.