Skip to main content
Glama

The Free Chart — 官方 MCP 服务器

License: MIT

针对 The Free Chart 交易平台的官方 Model Context Protocol (MCP) 服务器。

将任何 AI 助手(Claude Desktop、Cursor、Windsurf、Zed、Antigravity、Open-WebUI、LibreChat)连接到你的交易日志,以分析胜率、监控风险收益比、诊断心理偏差(FOMO、报复性交易),并获得持续的 AI 交易辅导。


⚡ 快速设置

1. Claude Desktop

将以下内容添加到你的 claude_desktop_config.json:

  • MacOS:~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows:%APPDATA%/Claude/claude_desktop_config.json

  • Linux:~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "thefreechart": {
      "command": "python3",
      "args": ["/path/to/thefreechart-mcp/server.py"],
      "env": {
        "THEFREECHART_API_KEY": "YOUR_PERSONAL_API_KEY",
        "THEFREECHART_BASE_URL": "https://manage.thefreechart.com"
      }
    }
  }
}

2. Cursor IDE / Windsurf

  1. 打开 Cursor 设置 -> Features -> MCP Servers。

  2. 点击 + 新增 MCP Server:

    • 名称:The Free Chart

    • 类型:command

    • 命令:python3 /path/to/thefreechart-mcp/server.py

    • 环境变量:THEFREECHART_API_KEY=your_key_here

3. Smithery(一键安装)

npx -y @smithery/cli install @thefreechart/mcp --client claude

Related MCP server: MetaTrader MCP Server

🛠️ 可用工具

Tool

类型

描述

get_journal_summary

读取

汇总的绩效指标(胜率、净盈亏、利润因子、最大回撤、平均 R:R、期望值)。

get_trade_breakdown

读取

按 day_of_week、hour_of_day、direction、symbol、setup_tag、mistake_tag、emotion_tag、duration_bracket 动态分组。

search_trades_compact

读取

高速列式交易搜索(每 100 笔 < 10 KB),支持过滤。

get_trade_detail

读取

单笔交易深度剖析(成交、止损、止盈、计划风险、备注、图表回放 URL)。

get_daily_reflections

读取

获取交易者的每日情绪、盘前计划和日终结。

tag_trade_make_or_setup

写入(操作)

AI 自动为交易标记错误(#FOMO、#EarlyExit)或形态(#LiquiditySweep)。

save_ai_coaching_note

写入(操作

AI 将系统化的辅导建议直接保存至用户的交易备注。

create_daily_reflection

写入(操作)

AI 将每日教训和复盘保存至用户的每日日志。


💬 示例提示

  • 每日复盘:"回顾我今天的交易,检查是否违反任何风险规则,为错误打标,并写一份辅导复盘。"

  • 心理审计:"分析我这一周的交易。哪一天盈利最高,哪一种错误让我损失最多?"

  • 形态评估:"对比过去 30 天我各形态的交易胜率和平均 R:R。"


📄 许可证

MIT 许可证。© The Free Chart。

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables AI co-pilots to interact with TradingView charts, manage alerts via REST API, automate morning briefs with custom trading rules, and perform real-time market analysis.
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to trade on MetaTrader 5 using natural language, supporting account management, order placement, and real-time market data.
    12 PyPI
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to backtest trading strategies described in plain English, providing access to market data, technical indicators, and comprehensive performance reports.
    13
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Provides AI-powered trading analytics and coaching by analyzing historical trades to identify strategies, emotional patterns, and behavioral mistakes via MCP tools.
    1
    MIT