DF

dasein108/freqtrade_dev_mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

10 stars 4 forks 品質 80 トレンド 16MIT

MCP サーバーは、Freqtrade のバックテスト、hyperopt および市場データ ツールを Claude や他の LLM クライアントに公開し、取引戦略を生成し、最適化する LangGraph エージェント

概要

Freqtrade戦略開発ツール(データダウンロード、バックテスト、ハイパーオプト、結果分析)をClaude DesktopやClaude CodeなどのLMクライアントに公開するMCPサーバー。 同じツールを使用して、独自の戦略を生成し、最適化し、評価するためにLangGraphエージェントで出荷します。 Freqtradeチームと提携していない独立したプロジェクト。 研究・教育のため バックテストの結果はライブパフォーマンスを予測しません。 自分でレビューしていない戦略で実際の資金を取引しないでください。 フルパラメータ参照: docs/tools-reference.md. - Python 3.11+ (freqtrade>=2025.7) - user data/ディレクトリを持つFreqtradeインストール - バックテスト/hyperoptの実行のためのPATHのfreqtrade - エージェント:サポートされているLMプロバイダーの1つのためのAPIキー pip install -r 要件.txt は、すべて、エージェントを含めて機能し、インストールします。 サーバは ~/.config/freqtrade-mcp/config を読み込みます.

概要(AI 翻訳)

Freqtrade戦略開発ツール(データダウンロード、バックテスト、ハイパーオプト、結果分析)をClaude DesktopやClaude CodeなどのLMクライアントに公開するMCPサーバー。 同じツールを使用して、独自の戦略を生成し、最適化し、評価するためにLangGraphエージェントで出荷します。

Freqtradeチームと提携しない独立したプロジェクト。 研究・教育のため バックテストの結果はライブパフォーマンスを予測しません。 自分でレビューしていない戦略で実際の資金を取引しないでください。

内なるもの

| 部品 | パス | 目的 | |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | MCPサーバー | [[T0] | 12 Freqtradeツールを搭載したstdio MCPサーバー | | ストラテジーエージェント | strategy_agent/ | LangGraph ワークフロー: アイデア → コード → バックテスト → 解析 → 書き換え | | 事例 | [[T2] | クロード デスクトップ / クロード コード 設定、利用スクリプト | | ドキュメント | [[T3] | ツール参照、開発者ガイド、エージェントドキュメント | | 試験 | [tests/ | ユニット・インテグレーションテスト |

#MCP ツール

| グループ | ツール | お問い合わせ | お問い合わせ | セットアップ | [create_userdir | フレクトラデの作成 [user_data ディレクトリ |

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Freqtrade Dev MCP

MCP server that exposes Freqtrade strategy development tools (data download, backtesting, hyperopt, result analysis) to LLM clients like Claude Desktop and Claude Code. It ships with a LangGraph agent that uses the same tools to generate, optimize and evaluate strategies on its own.

Independent project, not affiliated with the Freqtrade team. For research and education. Backtest results do not predict live performance. Never trade real funds with a strategy you have not reviewed yourself.

What’s inside

Component Path Purpose
MCP server src/ stdio MCP server with 12 Freqtrade tools
Strategy agent strategy_agent/ LangGraph workflow: idea → code → hyperopt → backtest → analysis → rewrite
Examples examples/ Claude Desktop / Claude Code configs, usage scripts
Docs docs/ Tool reference, developer guide, agent docs
Tests tests/ Unit and integration tests (pytest)

MCP tools

Group Tool What it does
Setup create_userdir Create a Freqtrade user_data directory
create_config Generate a config from a template (default, conservative, aggressive, advanced)
Strategy create_strategy Generate a strategy from a template (basic, trend, mean_reversion, scalping, advanced)
create_strategy_wireframe Generate a minimal skeleton for an LLM to fill in
Data & runs download_candles Download OHLCV data; accepts natural-language ranges ("last 3 months") and top15 by market cap (CoinGecko)
backtest_strategy Run a backtest, optionally exporting trades and signals
hyperopt_strategy Run hyperparameter optimization
Analysis extract_backtest_data Parse a backtest .zip into metrics, trades, per-pair / per-hour stats
extract_hyperopt_data Parse a .fthypt file into best params, parameter ranges, convergence
search_results Filter indexed results by profit, drawdown, win rate, trades, dates (SQLite index)
list_results / get_result Browse and fetch saved results

Full parameter reference: docs/tools-reference.md.

Requirements

  • Python 3.11+ (required by freqtrade>=2025.7)
  • A Freqtrade installation with a user_data/ directory
  • freqtrade on PATH for backtest/hyperopt runs
  • For the agent: an API key for one of the supported LLM providers

Installation

git clone https://github.com/dasein108/freqtrade_dev_mcp.git
cd freqtrade_dev_mcp

# MCP server only
uv pip install -e .
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "freqtrade": { "command": "/absolute/path/to/python", "args": ["/absolute/path/to/freqtrade_dev_mcp/run_server.py"], "env": { "FREQTRADE_MCP_PATH": "/absolute/path/to/freqtrade" } } } }