Описание
MCP server for options trade analysis
README
Options trading analytics platform with a web dashboard and AI-powered analysis via MCP (Model Context Protocol).
Web App | npm | Docker Hub | Buy Me a Coffee
Repository Structure
tradeblocks/
├── app/ # Next.js web application
├── components/ # React components (shadcn/ui + Plotly charts)
├── tests/ # Jest test suites
├── docs/ # Documentation
│ └── development.md # Architecture and local dev guide
└── packages/
├── lib/ # Core business logic (@tradeblocks/lib)
├── mcp-server/ # MCP server (npm: tradeblocks-mcp)
└── agent-skills/ # AI agent skill definitions
Quick Start
Development Setup
git clone https://github.com/tradeblocks-org/tradeblocks.git
cd tradeblocks
npm install
npm run dev # Web dashboard at http://localhost:3000
MCP Server
# Run directly with npx
npx tradeblocks-mcp ~/Trading/backtests
# Or from source
npm run build -w packages/mcp-server
node packages/mcp-server/server/index.js ~/Trading/backtests
Testing
npm test # All tests
npm test -- path/to/file.test.ts # Single file
npm run test:coverage # Coverage report
Documentation
| Guide | Description |
|---|---|
| Getting Started | Installation, env vars, first import |
| Market Data | CSV import, Massive API, enrichment |
| MCP Tools | Complete tool reference by category |
| Architecture | Data flow, schemas, key patterns |
| Development Guide | Contributing, local dev setup |
| MCP Server | Installation, platform configuration |
| Usage Guide | Tool reference, example workflows |
| Agent Skills | Guided conversational analysis |
Data Format
Both the web dashboard and MCP server accept CSV exports from platforms like Option Omega. Each block contains:
tradelog.csv(required) - Trade history with P/L, dates, strategy namedailylog.csv(optional) - Daily portfolio values for enhanced drawdown calculationsreportinglog.csv(optional) - Actual/reported trades for backtest vs live comparison
Files are auto-detected by column headers, not filenames. See Usage Guide for format details.
Features Overview
Web Dashboard
- Performance dashboards with equity curves, drawdowns, monthly returns
- Risk tooling: Monte Carlo simulator, position sizing, correlation analysis
- Block-based organization for multiple strategies
- Client-side storage (IndexedDB) - data stays on your machine
MCP Server
- Tools for statistics, simulations, walk-forward analysis, and SQL queries
- SQL analytics layer (
run_sql+describe_database) for flexible data exploration - Massive.com API integration for automated market data import
- Market data import and enrichment (
import_market_csv+enrich_market_data) - Trade replay with MFE/MAE analysis using historical option minute bars
- Lookahead-free trade enrichment with market context (VIX regimes, intraday timing)
- Works with Claude Desktop, Claude Code, Codex CLI, Gemini CLI, ChatGPT, Google AI Studio
- Agent skills for guided strategy health checks and portfolio recommendations
Contributing
- Create a feature branch
- Update or add tests when behavior changes
- Run
npm run lintandnpm testbefore opening a pull request
License
MIT
Установить Tradeblocks Mcp в Claude Desktop, Claude Code, Cursor
unyly install tradeblocks-mcpСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add tradeblocks-mcp -- npx -y tradeblocks-mcpFAQ
Tradeblocks Mcp MCP бесплатный?
Да, Tradeblocks Mcp MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Tradeblocks Mcp?
Нет, Tradeblocks Mcp работает без API-ключей и переменных окружения.
Tradeblocks Mcp — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Tradeblocks Mcp в Claude Desktop, Claude Code или Cursor?
Открой Tradeblocks Mcp на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Tradeblocks Mcp with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
