Tastytrade

Provides access to Tastytrade historical price data via MCP for easy programmatic queries.
  • python

0

GitHub Stars

python

Language

5 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "tnngnc-mcp_tasty": {
      "command": "uv",
      "args": [
        "run",
        "/home/username/Desktop/projects/mcp_tasty/tastytrade_server.py"
      ]
    }
  }
}

The Tastytrade MCP Server provides access to Tastytrade historical price data through the Model Context Protocol (MCP), enabling you to query price histories in an automation-friendly way.

How to use

You interact with the Tastytrade MCP Server from an MCP client. Use the available functions to fetch historical price data for symbols you care about. The primary endpoint you’ll rely on is get_price_history(symbol, days, interval), which returns historical candle data for a given symbol over a specified period and interval. For example, you can retrieve several days of daily candles for a symbol like SPY and then feed that data into your trading models, dashboards, or analysis scripts.

How to install

Prerequisites include your Tastytrade credentials and a Python package manager tool.

Install the MCP server tooling and dependencies using the project’s environment manager.

# Step 1: Install the MCP environment (example shown using uv)
uv sync

Step 1 creates a virtual environment with the exact versions specified by the lockfile, ensuring a consistent runtime.

Configuration and run

Credentials are loaded automatically from a .env file placed alongside the server script. Create and customize your environment file to supply your Tastytrade credentials.

Configure your MCP client to start the server using the recommended approach that relies on the local environment managed by the project.

{
  "mcpServers": {
    "tastytrade": {
      "command": "uv",
      "args": [
        "run",
        "/home/username/Desktop/projects/mcp_tasty/tastytrade_server.py"
      ]
    }
  }
}

Testing

To verify the server works in your environment, you can run the test client using the project’s environment manager.

uv run test_client.py

Notes

If you prefer a direct Python runtime, you can point the MCP client to a Python executable that runs the server script, but the recommended setup uses the environment-managed approach with uv to ensure dependencies stay synchronized.

Available tools

get_price_history

Fetch historical candle data for a symbol over a specified range and interval, enabling analysis and modeling of price movements.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational