tastytrade-research-mcp
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., "@tastytrade-research-mcpWhat backtest coverage is available for SPY?"
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.
tastytrade-research-mcp
Research-only Model Context Protocol (MCP) server for tastytrade historical options research and strategy regression testing.
The project is intentionally separate from the official tastytrade/tastytrade-mcp:
official tastytrade MCP: live quotes, option chains, market metrics, account and trading workflows
this project: historical research, Backtester API access, and regression-test support
no order placement, replacement, cancellation, or brokerage-account mutation
Goals
Primary use cases:
XSP/SPX directional-strategy regression tests
SPY cash-secured-put regression tests
historical option trade simulation
historical backtest coverage discovery
reproducible research inputs for higher-level grading engines
Related MCP server: Nubra MCP Server
Initial MCP tools
Tool | Upstream tastytrade endpoint | Purpose |
|
| Discover symbols and historical coverage |
|
| List submitted backtest IDs |
|
| Submit a historical strategy backtest |
|
| Poll status and retrieve results |
|
| Inspect trial execution logs |
|
| Simulate one historical trade path |
Backtester base URL: https://backtester.vast.tastyworks.com.
Planned historical-market-data support
A second phase will add a normalized MCP tool for DXLink historical candles:
tastytrade_get_historical_candlesThat tool is intended to provide OHLCV inputs for deterministic calculations such as VWAP, moving averages, ATR, and price-structure regression. It is deliberately not exposed until the DXLink request/response behavior is implemented and tested.
Security model
This server is research-only.
It never exposes order-entry tools and does not need an account number to run Backtester requests. OAuth client credentials and refresh tokens are sent only to the fixed tastytrade OAuth host. The resulting short-lived access token is sent to the fixed tastytrade Backtester host.
Do not commit credentials.
Requirements
Node.js 22+
tastytrade OAuth API grant:
TASTYTRADE_CLIENT_IDTASTYTRADE_CLIENT_SECRETTASTYTRADE_REFRESH_TOKEN
Setup
npm install
npm run build
export TASTYTRADE_CLIENT_ID="..."
export TASTYTRADE_CLIENT_SECRET="..."
export TASTYTRADE_REFRESH_TOKEN="..."
npm startFor an MCP client, launch:
{
"mcpServers": {
"tastytrade-research": {
"command": "node",
"args": ["/absolute/path/to/tastytrade-research-mcp/dist/index.js"],
"env": {
"TASTYTRADE_CLIENT_ID": "...",
"TASTYTRADE_CLIENT_SECRET": "...",
"TASTYTRADE_REFRESH_TOKEN": "..."
}
}
}
}Regression architecture
Historical market state
|
+--> XSP/SPX grading engine
| |
| +--> candidate gate
|
+--> SPY CSP grading engine
|
+--> candidate gate
|
v
tastytrade Backtester
/ \
aggregate simulate
backtest tradeThis MCP supplies historical evidence and simulation results. It does not assign strategy grades or decide whether a trade should be entered.
Development
npm run typecheck
npm run buildUpstream documentation
Backtesting guide: https://developer.tastytrade.com/docs/guides/backtesting/
Backtesting API: https://developer.tastytrade.com/open-api-spec/backtesting/
Streaming / DXLink: https://developer.tastytrade.com/docs/concepts/streaming/
Disclaimer
This is an independent research project and is not an official tastytrade product. Historical simulations can differ materially from live execution because of fills, liquidity, spreads, slippage, data availability, and model assumptions.
MIT License.
This server cannot be deployed
Maintenance
Related MCP Connectors
Backtest trading ideas and inspect strategies, trades and results. OAuth; invite-only beta.
Run crypto trading strategy backtests through EmidLabs's Backtesting API.
Unified financial infrastructure connecting AI agents directly to trade live/demo brokerage accounts, Web3 non-custodial wallets, real-time market data across equities, ETFs, crypto, forex, options, DeFi swaps, and prediction markets, institutional research feeds, and algorithmic strategy backtesters.
Quant research, backtesting, marketplace subscriptions, editable forks, copy trading, and execution.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceexposes a remote MCP endpoint so agents can: run strategy backtests by symbol/timeframe/date range, pass strategy inputs programmatically, receive structured backtest results (trades, win rate, profit, drawdown), keep long-running runs observable via progress notifications, support Binance Futures tickers only, enforce a maximum of 1440 candles per backtest, apply a rate limit of 3 backtests per5-
- AlicenseNot gradedqualityDmaintenanceEnables interaction with the Nubra trading platform for authentication, instrument lookup, quotes, historical data, options analytics, portfolio management, report generation, screening, backtesting, and order placement via UAT environment.MIT
- AlicenseNot gradedqualityDmaintenanceEnables backtesting of limit-order strategies on Polymarket's BTC 5-minute markets using historical data, with tools to browse markets, get price series, and run simulations.MIT
- AlicenseNot gradedqualityBmaintenanceEnables interactive access to TradeSearcher strategies and backtests via CLI and MCP, allowing agents to search, backtest, and compare trading strategies.MIT