TJ

tapelog-journal/tapelog-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

0 stars 0 forks Качество 85 Тренд 14MIT

Open-source MCP server: private AI trade-journal coach for DAS Trader & Robinhood CSVs. Stats, behavioral leaks, period comparison. Not investment advice.

Обзор

An open-source Model Context Protocol server that lets Claude, ChatGPT, Cursor or any MCP client analyze broker exports. It parses and 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. - no broker login, no cloud. Fills are stored in ~/.tapelog/fills.json on your machine. - MIT licensed. - TapeLog describes what you already did. It never suggests trades. TapeLog is an educational, record-keeping tool. It is , and TapeLog is 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. add this to claude_desktop_config.json (Settings, then Developer, then Edit Config): add the same block under mcpServers in ~/.cursor/mcp.json. claude mcp add tapelog -- uvx --from git+https://github.

README

Показан фрагмент оригинального README. Открыть оригинал.

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.json on 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_fills Import a DAS Trader Trades-window CSV, a Robinhood account activity CSV, or a generic CSV (date,time,symbol,side,qty,price,fees). Duplicates are skipped.
get_stats 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
find_leaks 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”
compare_periods Period A vs period B, such as last week vs this week
weekly_habit_report 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.
list_trades Your reconstructed round trips
clear_data Deletes all stored fills (requires confirm=true)

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

Открыть полный README на GitHub

Установка

uvx --from git+https://github.com/tapelog-journal/tapelog-mcp tapelog-mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "tapelog": { "command": "uvx", "args": ["--from", "git+https://github.com/tapelog-journal/tapelog-mcp", "tapelog-mcp"] } } }