AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompare
Home/
Memory & Context/
tradememory-protocol
tradememory-protocol logo

tradememory-protocol

Active·★ 1.5k·MIT·Updated 2026-11-24

TradeMemory Protocol is a memory layer for trading agents. Its pitch is that many MCP servers can execute trades but none remember what happened. It records each trade with context such as entry reasoning, market regime, confidence and outcome, then lets the agent recall patterns. The README describes outcome-weighted recall that downweights patterns from old market regimes, and Bayesian confidence plus sample size on each pattern with out-of-sample validation, so suspicious patterns are flagged.

An Evolution Engine goes further: given raw price data, it generates strategy hypotheses with an LLM, backtests them with a vectorised engine (ATR-based stop loss and take profit, long and short, time-based exits), eliminates weak candidates and evolves the rest. The README quotes 22 months of BTC data with a Sharpe ratio of 3.84, 477 trades and 91% positive months; that is the project's own backtest result and should not be read as a promise of live returns. Forex users can sync closed trades from MetaTrader 5.

© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.

Guides

It exposes 15 MCP tools (core memory, OWM cognitive memory with agent state such as confidence, risk appetite and drawdown, and evolution tools) plus 30 REST endpoints. Install with `pip install tradememory-protocol` and add it to Claude Desktop with `uvx tradememory-protocol`, or use `claude mcp add`, or run it with Docker. The README reports 1,055 passing tests. The licence is MIT, the last push was 2026-10-09, and the README states plainly that it is for education and research, is not financial advice, and that trading carries substantial risk of loss. This review is based on the README and repository data; we have not run it ourselves.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-11-20.

License
MIT
Latest release
v0.5.6 · 2026-10-02
Last commit
2026-10-23
Contributors
3
Forks
171
Open issues and PRs
8
First published
2026-02-23
PyPI package
tradememory-protocol 0.5.6 · 107 downloads last week

Source: GitHub, npm and PyPI public APIs.

#ai-agents#claude#crypto#evolution-engine#forex#mcp#mcp-server#mcp-servers
$ Install
$ pip install tradememory-protocol
↗ Visit site★ GitHub
01

Features

01Persistent memory with full context for every trade
02Outcome-weighted recall (OWM) for adaptive learning
03Evolution Engine for autonomous strategy discovery
0415 MCP tools for memory, cognitive, and evolution operations
05Multi-platform support (crypto, forex, MT5, etc.)
02

Why choose it

+Persistent trade memory with context, outcome-weighted recall and Bayesian confidence per pattern
+Out-of-sample validation flags suspicious patterns instead of following them blindly
+15 MCP tools and 30 REST endpoints; works with Claude Desktop, Claude Code and Cursor
+MT5 sync for forex, 1,055 tests reported, MIT license
03

Trade-offs

!The Sharpe 3.84 result is a self-reported backtest on BTC data and does not predict live performance
!The README says it is for education and research and is not financial advice; trading can lose money
!The evolution engine needs LLM calls, which cost money and can invent overfitted strategies
!Never give an agent live trading authority without limits, review and human approval
05

Maintenance check

ActiveChecked: 2026-11-07
Last commit
2026-10-09
Commits, last 90 days
45
Releases, last 90 days
2
Latest release
v0.5.6 (2026-10-02)
Open issues
10
Recent issues with at least one comment
2/8
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 0, 0, 0, 7, 1, 0, 22, 2, 0, 0, 0, 0

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

04

Who it fits

Pick it if
  • Your trading agent can already execute and you want it to remember each trade with its reasoning, regime and outcome.
  • You want recalled patterns weighted by outcome, with confidence, sample size and out-of-sample checks.
  • You trade forex on MT5 and want trade sync.
Look elsewhere if
  • You take the Sharpe 3.84 result as a forecast: it is the project's own BTC backtest.
  • You cannot afford LLM calls for the evolution engine, or the risk that it invents overfitted strategies.
  • You are looking for an execution or broker tool: it is a memory layer.
06

How it differs

alpaca-mcp-server logovs alpaca-mcp-server★ 1.1k

Alpaca's server places orders. TradeMemory stores and recalls what those trades taught the agent; the two can be used together.

Full comparison →
07

Compatibility

Claude Desktop
MCP client
Verified via docs
Claude Code
CLI agent
Verified via docs
Python API
Python SDK
Verified via docs
Docker
Container
Verified via docs
08

Quick start

1
$ pip install tradememory-protocol
09

Use cases

↳Crypto trading: Feed BTC/ETH trades and discover timing patterns automatically
↳Forex + MT5: Auto-sync trades and leverage persistent memory for adaptive strategies
↳Developers: Build memory-aware trading agents with 15 MCP tools and 30+ REST endpoints
10

Alternatives

⚡Top VS:
VSalpaca-mcp-server★1.1k→VShmem★24→VSmulti-agent-memory★64→

Featured in these lists

  • Open-Source AI Trading and Finance Tools

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs05Maintenance check04Who it fits06How it differs

Most discussed open issues

  • #15 Security review offer — auditing the audit layer2 comments · 2026-09-04
  • #31 [brake]0 comments · 2026-10-29
  • #27 Proposal: source-rights evidence gate before content-related agent/tool actions0 comments · 2026-10-05
  • #26 Proposal: source-rights evidence gate before content-related agent/tool actions0 comments · 2026-10-05
  • #14 Listed in Awesome Agent Trading0 comments · 2026-08-23

Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.

VS
open-ontologies
★3.0k
→
alpaca-mcp-server logo
alpaca-mcp-server★ 1.1k
Alpaca’s official MCP Server lets you trade stocks, ETFs, crypto, and options, run data analysis, and build strategies in plain English directly from your favorite LLM tools and IDEs
VSCompare→
hmem logo
hmem★ 24
Humanlike persistent memory for AI agents — MCP server with 5-level lazy-loaded SQLite memory. Works with Claude Code, Gemini CLI, Cursor, Windsurf, OpenCode.
VSCompare→
its-over-9k logo
its-over-9k★ 0
Persistent memory and agent lifecycle for Claude Code — because sessions shouldn't start from zero.
multi-agent-memory logo
multi-agent-memory★ 64
A Multi Agent Memory MCP That Connect Agents Across Systems and Machines
VSCompare→
open-ontologies logo
open-ontologies★ 3.0k
AI-native ontology engine: a Rust MCP server with tools for building, validating, querying, and reasoning over RDF/OWL ontologies. In-memory Oxigraph triple store, native OWL2-DL tableaux reasoner, SHACL validation, SPARQL, versioning. Single binary, no JVM.
VSCompare→
AgentRecall-MCP logo
AgentRecall-MCP★ 375
Persistent, correction-driven memory for AI agents. Cross-session, cross-platform (Claude Code, Codex, Gemini — any MCP client). Learns from mistakes, compresses context to save tokens, consolidates knowledge overnight. npm: agent-recall-mcp
AgentRecall logo
AgentRecall★ 375
AI Session Memory with Think-Execute-Reflect Quality Loops — give your agent a brain that survives every session. Built on the Intelligent Distance principle.
YourMemory logo
YourMemory★ 275
Agentic AI memory with Ebbinghaus forgetting curve decay. +16pp better recall than Mem0 on LoCoMo.
See all alternatives →
07
Compatibility
08Quick start
09Use cases
10Alternatives
mnemox-ai /
tradememory-protocol
↗

MIT MCP server that gives trading agents persistent memory of trades, with outcome-weighted recall and an LLM-driven strategy evolution engine

1.5k171MIT
Last commit5d ago
StatusActive
CategoryMemory & Context
Contributors3
Latest releasev0.5.6
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit