#3131st of 41 in MemoryFor finance and business, trading, stocks and crypto, finance and accounting
tradememory-protocol
Local trade memory and pre-order policy brake for AI trading agents
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 1.5k
- License
- MIT
- Last commit
- Oct 2026
- Last release
- Oct 2026
- Language
- Python
705 on 26 Apr 20261,453 on 22 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
TradeMemory is an MCP server that syncs your fills (Hyperliquid, Alpaca, MT5, Binance spot) into local SQLite and reports where your own history loses money. Agents recall losing trades before proposing an order through 20 MCP tools and a REST API. A preview proxy extra sits in front of Alpaca's MCP server and refuses orders that break a policy you set. Decisions are SHA-256 hash-chained.
Who it is for: Traders running AI agents against brokers over MCP
Strengths
- Local SQLite storage; the memory server never places orders or asks for broker keys
- Syncs Hyperliquid fills without a key and Alpaca with read-only keys
- Proxy refuses unclassified tools, entries without a stop, and orders it cannot evaluate
- Hash-chained decision log with daily Merkle roots and RFC 3161 timestamping
Weaknesses
- Broker brake is a preview and supports only Alpaca; options and trailing orders are refused
- Empirical validation is n=14 trades; README says that is too few to conclude anything
- Proxy extra needs Python 3.12+ and installs Mnemox Control, which is AGPL-3.0
- Audit log is tamper-evident, not tamper-proof; no record signing or public-log anchoring
What it needs
- no GPU
- Docker + Compose
- Needs SQLite, Alpaca MCP server (proxy), Mnemox Control (proxy extra), RFC 3161 timestamp authority
- Models: Claude Desktop, Claude Code, Cursor, Anthropic API (evolution), DeepSeek (replay)
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Memory
See all 41| Rank | Project | Score |
|---|---|---|
| #29 | agentic-context-enginePython library that lets agents learn strategies from past runs | 60 out of 100 |
| #30 | nautilus-compassLocal long-term memory and drift detection for MCP clients | 60 out of 100 |
| #32 | memmachineLong-term memory server for AI agents with episodic and profile memory | 58 out of 100 |
| #33 | voicememMemory engine for voice agents that retrieves while the user is still speaking | 58 out of 100 |
| #34 | memoriLong-term memory layer for LLM agents, with Python and TypeScript SDKs | 57 out of 100 |