TradeMemory Protocol
COMMUNITY· Tools & MCPs · by Mnemox · v0.5.6
TradeMemory is a local-first memory MCP for trading agents: it stores every trade and its outcome, and puts your own losing trades in front of the agent before the next order.
What it touches
- Reads
- Trades you record through its tools; optional venue syncs (Hyperliquid by address)
- Writes
- A local trade memory and audit log on your machine
- Tools
- Local MCP server (`uvx tradememory-protocol`), Python 3.10+
- Trades
- Never trades
About
TradeMemory Protocol is an open-source MCP server (pip install tradememory-protocol) that keeps a journal of an agent's trades on your machine. The agent records a trade and its reasoning with remember_trade, records how it ended, and calls recall_memories before proposing the next one; the losses-first order surfaces the bigger losses in similar conditions ahead of the wins. A sync command imports closed trades from a venue (Hyperliquid by public address, no key), and it prints where your own history loses money: size-ups after losing streaks, hold times of winners against losers.
What it adds to Moby. Memory across sessions. A Moby agent sees your open positions and ledger, but not why it took each trade or what pattern of yours loses. TradeMemory keeps that, locally.
How to pair it. Have the agent call remember_trade after every Moby order with the reason it gave, record outcomes from get_my_closed_trades, and call recall_memories before each proposal. The weekly read of where your history loses pairs well with a Moby Guardrails review.
What it does not do. It does not place Moby orders and has no market data of its own. Its broker brake (the proxy extra) is a preview for Alpaca only and does not apply to Moby; its Alpaca and Binance sync scripts take exchange keys you do not need here, so skip them. Memory is a local file: back it up.
Install
Third-party code: Moby does not audit or control it. Read the source before you run it.
pip install tradememory-protocol- Claude Code:
claude mcp add tradememory -- uvx tradememory-protocol - Other clients: add a server with command
uvxand args["tradememory-protocol"]. - Skip
tradememory sync alpacaand theproxyextra; they are for brokers, not Moby. - Ask: *"After every Moby trade, record it with remember_trade and the reason you gave; before proposing a trade, call recall_memories losses-first and tell me what it shows."*
Works with
- Grok Bot
- Claude Code
- Codex
Links
Related
- Moby MCP connectorConnect any MCP-capable agent to Moby for live on-chain research on…
- CoinGecko MCPCoinGecko's official MCP server adds market-wide prices, categories…
- Birdeye MCPBirdeye's official MCP server (beta) gives a second source for…
- Helius MCPHelius's official Solana MCP server, installed read-only, lets your…
- Moby KnowledgeThe /agents page and agents.md as your agent's Moby reference: how…
- Moby Starter StrategiesReady-made strategy cards your agent reads with list_strategies and…
Curated listing. Moby did not audit the code. · Version 0.5.6 · Updated 2026-11-02
