TapeLog MCP
OfficialTapeLog MCP lets you privately analyze your own broker CSV exports locally for trade journaling and behavioral stats.
Import fills from DAS Trader, Robinhood, or generic CSV (
csv_textorfile_path; passtrade_datefor DAS) into~/.tapelog/fills.json, skipping duplicates.Get stats on closed round trips (optional
start/end): net P&L, win rate, profit factor, expectancy, average win/loss, max drawdown, losing streak, hold time, and PDT day-trade count.Find leaks: descriptive breakdowns of weakest areas by time of day, day of week, hold time, symbol, direction, sizing after a loss, and winners vs losers hold time.
Compare periods: period A vs period B stats using
a_start,a_end,b_start,b_end.List reconstructed round trips (most recent first, optional
start/end/limit).Clear all locally stored fills with
confirm=true.
Imports Robinhood account activity CSV exports (from Account > Reports and statements > Account activity report), reconstructing round trips and analyzing trading statistics and behavioral patterns from the user's own Robinhood fills.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TapeLog MCP import ~/Downloads/trades.csv for 2026-10-15, then show stats and leaks"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TapeLog MCP: a private AI trade-journal coach
An open-source Model Context Protocol server that lets Claude, ChatGPT, Cursor or any MCP client analyze your own broker exports. It parses DAS Trader Pro and Robinhood CSVs, rebuilds round trips, and reports your stats plus the behavioral patterns where your results were weakest: time of day, sizing after a loss, hold time, symbol and day of week.
Local and private: no broker login, no cloud. Fills are stored in
~/.tapelog/fills.jsonon your machine.Free: MIT licensed.
Process, not picks: TapeLog describes what you already did. It never suggests trades.
Disclaimer: TapeLog is an educational, record-keeping tool. It is not investment advice, and TapeLog is not a registered investment adviser or broker-dealer. It does not recommend buying, selling or holding any security, does not give price targets, signals or market predictions, and does not place trades. Past results don't predict future results.
Tools
Tool | What it does |
| Import a DAS Trader Trades-window CSV, a Robinhood account activity CSV, or a generic CSV ( |
| Net P&L, win rate, profit factor, expectancy, average win and loss, payoff ratio, max drawdown, losing streak, hold time, and PDT day-trade count over the last 5 business days |
| Descriptive breakdowns of your weakest groups, for example "Your 18 trades entered 11:00-12:00 netted -$2,039 (win rate 11%)" or "After a loss your position was 2.1x larger" |
| Period A vs period B, such as last week vs this week |
| This week vs your prior weeks: which habits appeared and which faded, with counts (size-up after a loss, losers held longer than winners, overtrading bursts, a time-of-day slump). For example "Size-up after a loss: this showed up 8 times this week vs 0 per week before." Returns JSON plus a rendered markdown report. |
| Your reconstructed round trips |
| Deletes all stored fills (requires |
Related MCP server: daepak-mcp
Install
You need Python 3.10+ and uv, or pip.
Claude Desktop: add this to claude_desktop_config.json (Settings, then Developer, then Edit Config):
{
"mcpServers": {
"tapelog": {
"command": "uvx",
"args": ["--from", "git+https://github.com/tapelog-journal/tapelog-mcp", "tapelog-mcp"]
}
}
}Cursor: add the same block under mcpServers in ~/.cursor/mcp.json.
Claude Code: claude mcp add tapelog -- uvx --from git+https://github.com/tapelog-journal/tapelog-mcp tapelog-mcp
Other MCP clients (Windsurf, VS Code, Cline, Goose): use a stdio server with command uvx and the args shown above. Or run pip install git+https://github.com/tapelog-journal/tapelog-mcp and use the command tapelog-mcp.
Optional: set the env var TAPELOG_DATA=/path/to/fills.json to change where fills are stored.
Use it
"Import ~/Downloads/trades.csv with trade_date 2026-10-15, then show my stats and find my leaks."
"Compare Sept 1-15 to Sept 16-30."
"Give me my weekly habit report."
See a sample weekly habit report (synthetic sample data), also on the TapeLog site.
Exporting your trades: in DAS Trader, open the Trades window, right-click and choose Export. DAS files have no date, so pass trade_date. In Robinhood, go to Account, then Reports and statements, then Account activity report (CSV). Step-by-step guides are on the TapeLog site.
No MCP? The /coach folder has a ready-to-paste Custom GPT or Claude Project instruction pack and a one-shot prompt that works on an uploaded CSV.
Scope rules (enforced in the server instructions and coach prompts)
TapeLog analyzes only your past behavior and process: timing, sizing, hold times and discipline. Findings are descriptive. Small samples are flagged, and patterns are framed as prompts for reflection, not signals.
Develop
python -m venv .venv && .venv/bin/pip install -e . pytest && .venv/bin/pytest -qEverything in samples/ is synthetic sample data. More free tools are at tapelog-journal.github.io/tapelog, and there's a weekly newsletter at thetapelog.beehiiv.com.
Not affiliated with DAS Inc., Robinhood Markets, Inc., Anthropic or OpenAI.
Also from TapeLog
Fogline is our onchain hidden-army strategy game that AI agents can play (Base Sepolia testnet). Skill link: https://fogline-mcp.tapelog.workers.dev/skill.md
Available Tools
6 toolsclear_dataA
Delete all locally stored fills. Requires confirm=true.
Inputs: confirm.
compare_periodsB
Compare stats between period A and period B (YYYY-MM-DD dates), e.g. last week vs this week.
Inputs: a_end (required), b_end (required), a_start (required), b_start (required).
find_leaksB
Describe where the user's own past results were weakest: time of day, day of week, hold time, symbol, direction, sizing after a loss, and winners vs losers hold time. Descriptive findings only, never trade advice.
Inputs: end, start.
get_statsB
Stats for closed round trips (optionally between start/end YYYY-MM-DD): net P&L, win rate, profit factor, expectancy, average win/loss, max drawdown, losing streak, hold time, and PDT day-trade count.
Inputs: end, start.
import_fillsA
Import executions from a DAS Trader Trades-window CSV, a Robinhood account activity CSV, or a generic CSV (date,time,symbol,side,qty,price,fees). Pass csv_text or a local file_path. DAS exports have no date: pass trade_date (YYYY-MM-DD). Stored locally (~/.tapelog/fills.json); duplicates are skipped.
Inputs: broker, csv_text, file_path, trade_date.
list_tradesC
List reconstructed round trips (most recent first).
Inputs: end, limit, start.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
get_stats, find_leaks, and compare_periods all operate on performance analytics, so an agent might briefly hesitate between them, but each has a clearly stated distinct purpose (general stats vs. descriptive weakness analysis vs. period-vs-period comparison). list_trades, import_fills, and clear_data are unambiguously separate.
Every tool follows a consistent snake_case verb_noun pattern (get_stats, find_leaks, compare_periods, list_trades, clear_data, import_fills). The convention is uniform throughout with no stylistic deviations.
Six tools is well-scoped for a local trade-journaling/analytics server. Each tool covers a distinct operation (import, list, analyze, compare, find weaknesses, reset) and none feels redundant or filler.
The import -> list -> analyze lifecycle is well covered, including a data-reset operation. Minor gaps exist: no way to edit or delete a single misparsed fill, and no export of reconstructed trades, but these are workable around via clear_data plus re-import.
Related MCP Connectors
Trading MCP server for AI agents, with live market data, account reads and controlled execution.
AI trading partner and trading journal: trades, reports, journaling, market data.
Trading journal, options risk checks, position sizing and Monte Carlo analytics for AI assistants.
Graded stock setups, options flow, and multi-window trend research over a hosted OAuth MCP endpoint.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides AI-powered trading analytics and coaching by analyzing historical trades to identify strategies, emotional patterns, and behavioral mistakes via MCP tools.1MIT
- AlicenseNot gradedqualityCmaintenanceProvides market intelligence tools for crypto, Korean market, US equities, options, and backtests, as well as personal trading journal access, through MCP.23 PyPIMIT
- FlicenseNot gradedqualityBmaintenanceEnables portfolio and trade journaling by tracking accounts, holdings, manual trades, open and closed positions, realized and unrealized P&L, and trade reasons through discoverable MCP tools, resources, and prompts.1-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to log trades from chart screenshots, validate them against custom strategy rules, import statements from MT5/TradingView and other brokers, and review R-based statistics in a local dashboard.87 npm1MIT