FreqtradeCAUTION
An MCP server that integrates with the Freqtrade cryptocurrency trading bot.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
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.
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
- Clone the Repository:
git clone https://github.com/kukapay/freqtrade-mcp.git cd freqtrade-mcp
- Install Dependencies:
Using pip:
pip install freqtrade-client mcp[cli]
Or with uv (optional):
uv add freqtrade-client "mcp[cli]"
- 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"
}
}
}- Freqtrade Configuration:
Enable the rest API by adding the apiserver section to your configuration and setting apiserver.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"999be088be4eOBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add freqtrade-mcp --env FREQTRADE_PASSWORD=${FREQTRADE_PASSWORD} -- uvx freqtrade-mcp{
"mcpServers": {
"freqtrade-mcp": {
"command": "uvx",
"args": [
"freqtrade-mcp"
],
"env": {
"FREQTRADE_PASSWORD": "${FREQTRADE_PASSWORD}"
}
}
}
}Exposed tools (17)
12 read · 3 write · 2 destructive. Blast radius: 2 tools can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.
| Tool | Risk | Description |
|---|---|---|
add_blacklist | write | |
delete_blacklist | destructive | |
delete_lock | destructive | |
fetch_balance | read | |
fetch_blacklist | read | |
fetch_bot_status | read | |
fetch_config | read | |
fetch_locks | read | |
fetch_market_data | read | |
fetch_performance | read | |
fetch_profit | read | |
fetch_trades | read | |
fetch_whitelist | read | |
place_trade | read | |
reload_config | read | |
start_bot | write | |
stop_bot | write |
Trust audit
CAUTIONgrade B · trust 89/100 Install with care. The audit found things worth knowing before you trust its output.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | WARN |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (1 observation(s))
- Network
- declared (1 observation(s))
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (3)
FREQTRADE_API_URL = os.getenv("FREQTRADE_API_URL", "http://127.0.0.1:8080")delete_blacklist, delete_lock
"FREQTRADE_API_URL": "http://127.0.0.1:8080",
Gates applied: no_behavioural_pass.
999be088be4efull audit observations/trust-audit/mcp-server/kukapay__freqtrade.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | 999be088be4e | CAUTION | B | 89 | first audit |
Questions
What is the Freqtrade MCP server?
An MCP server that integrates with the Freqtrade cryptocurrency trading bot.
What tools does Freqtrade expose?
17 in total: 12 read-only, 3 that write, and 2 that can delete or overwrite (delete_blacklist, delete_lock). Every one is listed on this page with its risk.
Is Freqtrade safe to connect to an agent?
With care. The audit graded it B (89/100) and found 3 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Freqtrade need?
It reads FREQTRADE_PASSWORD from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How current is this page?
The grade is for one exact copy of the source (999be088be4e), read on 2026-10-07. The repository is watched and re-audited when it changes.