Skip to content
mcp/skillhub

Tradememory Protocol MCP Server

by mnemox-aiio.github.mnemox-ai/tradememory-protocolv0.5.6

Layered memory for AI trading agents (trades, patterns, strategy), supporting MT5, Binance and Alpaca.

1.4kPythonstdioofficial registry

context tax

~4,675 tok/turn20 tools

security

100/100

cold start

5810 ms

freshness

Active32d ago

Our reading of Tradememory Protocol, from the data

Tradememory Protocol is a memory MCP server from mnemox-ai, listed in the official MCP Registry.

Its 20 tools add about 4,675 tokens to every model turn, heavier than the memory median of 1,980 tokens across 102 measured servers (measured 2026-10-23).

Maintenance is active: the last public signal was 32 days ago (2026-10-09). For comparison, 67% of memory servers are active or maintained.

With 1,430 GitHub stars it ranks #15 of 1,597 memory servers we index.

It runs locally on your machine over stdio.

Install Tradememory Protocol MCP server

Install in Claude Code

claude mcp add tradememory-protocol -- uvx tradememory-protocol

Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works

npx mcpskillhub test pypi:tradememory-protocol

Context tax

Connecting this server adds ~4,675 tokens of tool definitions to every model turn (moderate, 20 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure

ModelPer 1,000 turnsWith prompt caching
Claude Opus 5.5$18.70$0.935
Claude Sonnet 5.5$9.35$0.935
Claude Haiku 5.5$0.468—

Input prices as of 2026-10-06. Excludes your own prompt and output.

Tools (20)

  • remember_trade623 tok

    Store a trade into OWM multi-layer memory with automatic updates. Writes to episodic memory and automatically updates semantic (Bayesian), procedural (running averages + hold time + Kelly), and affective (EWMA confidence/streaks). Also writes to trade_records for backward compatibility.

  • recall_memories542 tok

    Recall memories using OWM outcome-weighted scoring. Queries episodic and semantic memories, scores them by outcome quality, context similarity, recency, confidence, and affective modulation. Returns ranked memories with score breakdown. Use order="losses_first" right before placing a trade: losing trades taken in similar conditions rank first, and the current mood (a losing streak) no longer pushes them down.

  • validate_strategy315 tok

    Validate a trading strategy using statistical tests (DSR + Walk-Forward + Regime + CPCV). For educational and research purposes only. Not financial advice. Upload a trade log CSV (QuantConnect format) or daily returns CSV. The tool runs four statistical tests: 1. Deflated Sharpe Ratio (DSR) — detects overfitting from multiple testing 2. Walk-Forward Validation — checks out-of-sample consistency 3. Regime Analysis — performance across bull/bear/crisis markets 4. CPCV — cross-validated Sharpe stability across time periods

  • compute_dqs281 tok

    Compute Decision Quality Score before executing a trade. Evaluates the quality of the decision *process* (not outcome) across 5 factors: regime match, position sizing vs Kelly, process adherence (OWM similarity), risk state, and historical pattern.

  • get_daily_root273 tok

    Get (or rebuild) the daily Merkle root for a UTC date. The Merkle root summarises every audit_chain entry whose `chained_at` falls inside the UTC day. Verifying this single 32-byte root proves the integrity of every TDR for that day without re-walking each one.

  • export_audit_trail266 tok

    Export Trading Decision Records for audit and compliance review. Provides a complete, tamper-evident record of trading decisions including the memory context (similar trades, beliefs) that informed each decision.

  • create_trading_plan240 tok

    Create a prospective trading plan that activates when conditions are met. Stores a rule-based plan in prospective memory. The plan stays active until triggered, expired, or manually cancelled.

  • evolution_evolve_strategy222 tok

    Run full evolution loop — generate, backtest, select, eliminate. Multi-generation strategy evolution: generates candidate patterns via LLM, backtests on in-sample data, validates survivors on out-of-sample data, eliminates weak hypotheses. Returns graduated strategies and graveyard.

  • check_trade_legitimacy220 tok

    Check if the agent has sufficient data and confidence to trade. Call this before making any trade decision. Evaluates sample size, memory quality, regime experience, streak state, and drawdown to determine whether the agent has earned the right to trade at full size.

  • verify_audit_chain216 tok

    Verify the integrity of the audit chain. Walks the chain from `from_seq` (default: 1, the genesis record) to `to_seq` (default: latest), checking that every record's `prev_hash` matches the previous record's `data_hash`, and that each `data_hash` equals SHA256(prev_hash || content_hash). Returns a dict with `verified`, `checked_count`, `first_break_at`, `reason`. A `first_break_at` of None with `verified=True` means the chain is intact across the verified range.

  • evolution_discover_patterns214 tok

    Discover trading patterns from market data using LLM analysis. Uses Claude to analyze OHLCV data and generate candidate trading patterns with entry/exit conditions. Each pattern can be backtested afterward.

  • evolution_run_backtest206 tok

    Backtest a candidate pattern against historical OHLCV data. Takes a pattern dict (from discover_patterns) and runs a vectorized backtest. Returns fitness metrics: Sharpe ratio, win rate, trade count, max drawdown, total PnL.

  • evolution_fetch_market_datahttp160 tok

    Fetch OHLCV market data from Binance for evolution analysis. Downloads historical price bars for backtesting and pattern discovery. Use this before discover_patterns or run_backtest to get data.

  • check_active_plans134 tok

    Check active trading plans against current market context. Queries all active prospective plans, expires any past their expiry date, and matches remaining plans against the provided context.

  • get_behavioral_analysis120 tok

    Get behavioral analysis from procedural memory. Returns aggregate trading behavior stats: hold times, disposition ratio, lot sizing variance, and Kelly criterion comparison.

  • get_strategy_performance113 tok

    Get aggregate performance stats per strategy. Use this to evaluate which strategies are working and which need adjustment.

  • verify_audit_hash99 tok

    Verify the integrity of a Trading Decision Record. Recomputes the SHA256 data_hash from stored inputs and compares with the hash computed at decision time. A mismatch indicates tampering.

  • evolution_get_log81 tok

    Get the log of past evolution runs from this session. Returns a list of all evolution runs with their results, including graduated strategies, graveyard, token usage, and backtest counts. Data is in-memory (resets on server restart).

  • get_trade_reflection75 tok

    Get the full context and reflection for a specific trade. Use this to deep-dive into a particular trade's reasoning and lessons.

  • get_agent_state75 tok

    Get the current agent affective state (confidence, risk, drawdown). Returns confidence level, risk appetite, drawdown percentage, win/loss streaks, equity tracking, and a recommended action based on current drawdown severity.

Security signals

100/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.

Deductions

No findings from the checks that ran.

Checks

  • ✓Repository hygiene (archived, activity, license, security policy)
  • ✓Tool descriptions (prompt-injection and hidden-text heuristics)
  • ○Package metadata (install scripts, provenance) — pending
  • ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending

Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules

Freshness

Active — last maintenance signal 32d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-09 · 32d ago · GitHub

  2. Latest release

    2026-10-02 · 39d ago · GitHub · v0.5.6

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-10-02 · 39d ago · official registry · v0.5.6

How it compares in Memory

Against the most-starred memory servers we index. Token cost is per model turn, measured from each server's live tool list.

ServerStarsToolsTokens / turnFreshnessRuns
Tradememory Protocol (this)1,430204,675Activelocal
Memory91,3569949Activelocal
Hindsight51,304—not measuredActive—
Codebase Memory46,873—not measuredActivelocal
Cognee32,506—not measuredActive—
Honcho7,681—not measuredActivehosted
All memory MCP servers

FAQ

›How do I install the Tradememory Protocol MCP server in Claude Code?

Run: claude mcp add tradememory-protocol -- uvx tradememory-protocol. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Tradememory Protocol require an API key?

No required environment variables are declared in its published metadata.

›Can I use Tradememory Protocol as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Tradememory Protocol in the official MCP registry?

Yes, as io.github.mnemox-ai/tradememory-protocol.

›How many tokens does Tradememory Protocol add to my context?

Its tool definitions total about 4,675 tokens, resent on every turn.

Sources and method

Official MCP Registry entry
updated 2026-10-02
GitHub repository
fetched 2026-10-19
Package registry (npm / PyPI)
listed
Last checked against all sources
2026-10-19

The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.

Alternatives to Tradememory Protocol

Other memory MCP servers.

View all