Webull's official MCP server for its OpenAPI: market data, screeners, fundamentals, watchlists and order placement for stocks, options, futures and crypto, with risk limits and a sandbox default.
TradeMemory ProtocolMCP Server
Summary
Local-first memory and audit trail for AI trading agents: sync your fills, recall losing trades first before the next order, and keep a hash-chained log of every decision.
Features
- Sync fills from Hyperliquid, Alpaca and MT5
- Recall past trades with losses first before an order
- Five-factor pre-trade check and trading plans
- SHA-256 hash-chained decision audit trail
- Strategy backtesting and evolution tools
- Preview order brake proxy for Alpaca's MCP server
Installation
Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.
Description
TradeMemory Protocol is an open-source MCP server that gives AI trading agents a memory of what their past trades cost. It imports your own fills (Hyperliquid by public address, Alpaca with read-only keys kept in a local file, and MT5 for forex), stores each closed trade once, and reports where your history loses money, for example how sized-up trades after a losing streak performed. These are descriptive statistics of your own past trades, not trading advice.
The server has 20 tools. remember_trade writes a trade into episodic, semantic, procedural and affective memory layers, and recall_memories retrieves past trades weighted by outcome, context similarity, recency and confidence, with a losses_first order that puts the biggest losses in similar conditions in front of the agent before it places an order. Others track agent state, drawdown and streaks, create conditional trading plans, run a five-factor pre-trade check (check_trade_legitimacy), and backtest and evolve strategies. Every decision, including a decision not to trade, is recorded as a SHA-256 hashed, forward-chained record that can be exported and verified, with daily Merkle roots.
A preview proxy extra sits between your agent and Alpaca's MCP server and refuses orders outside your symbol list, size and loss limits, or without a protective stop. Install with pip or uvx tradememory-protocol; Python 3.10+ (3.12+ for the proxy), MIT-licensed, with a REST API and Docker setup alongside.
Related MCP Servers
See all TradeMemory Protocol alternativesLocal stock market MCP server on Yahoo Finance data: quotes, fundamentals, RSI and MACD, stock screens, portfolio and watchlist tracking, a trade journal and optional Python backtesting.
MCP: TradingView MCP
by atilaahmettaner
Open-source MCP server for market data and technical analysis: screeners, multi-timeframe indicators and strategy backtests for stocks, crypto, forex and futures.
MCP: Alpaca MCP Server
by Alpaca Markets
Alpaca's official MCP server for trading stocks, options and crypto, plus market data and portfolio analysis, in plain language.