# Stock market data in VS Code and GitHub Copilot (MCP)

> Add the TradePuffin MCP server to VS Code: GitHub Copilot gets market data, indicators, backtests and alerts.
Source: https://tradepuffin.com/connect/vscode

TradePuffin for GitHub Copilot

# Market data in VS Code and Copilot

Add TradePuffin to VS Code and GitHub Copilot’s agent mode gets the same 37 tools: bars and quotes, indicators and scans, strategy scripts and backtests, alerts and a chart it draws on.

[Add to VS Code](https://vscode.dev/redirect/mcp/install?name=tradepuffin&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapp.tradepuffin.com%2Fmcp%22%7D)[Start free trial](https://app.tradepuffin.com/signup?ref=site-connect-vscode)

7-day free trial. You sign in once with OAuth; there are no API keys to paste.

## Set it up

1.  Click **Install** when VS Code asks.
2.  The first time Copilot uses it (in **Agent** mode), sign in to TradePuffin and click **Allow**.

Or add it by hand to `.vscode/mcp.json`:

```
{
  "servers": {
    "tradepuffin": {
      "type": "http",
      "url": "https://app.tradepuffin.com/mcp"
    }
  }
}
```

On Copilot Business or Enterprise, an admin turns on \*\*MCP servers in Copilot\*\* first. Copilot CLI: \`copilot mcp add --transport http tradepuffin https://app.tradepuffin.com/mcp\`.

## What you’ll see

Keep app.tradepuffin.com open in a browser tab. Each line, level and alert GitHub Copilot adds appears on your chart as it works — here, support, a trend line and an alert on NVDA:

## Try asking

## What GitHub Copilot gets

37 tools, which it picks on its own:

-   **Market data**: prices, quotes and bars for stocks, ETFs, indices, crypto and forex
-   **Analysis**: indicators, watchlist scans, swing points, support and resistance, custom scripts
-   **Backtesting**: a rule tested on years of data, next to buy and hold
-   **The chart**: change your chart, draw on it and look at a picture of it
-   **Alerts**: price, indicator, drawing and move alerts, in the app, by push or by webhook
-   **Watchlists**: create and edit your watchlists

Each is described on the [docs page](https://tradepuffin.com/docs#tools). Not using GitHub Copilot? TradePuffin also works with [Claude](https://tradepuffin.com/connect/claude), [ChatGPT](https://tradepuffin.com/connect/chatgpt), [Claude Code](https://tradepuffin.com/connect/claude-code), [Cursor](https://tradepuffin.com/connect/cursor), [Gemini](https://tradepuffin.com/connect/gemini), [Grok](https://tradepuffin.com/connect/grok), [Perplexity](https://tradepuffin.com/connect/perplexity), [Grok Bot](https://tradepuffin.com/connect/grok-bot), [Muse by Meta](https://tradepuffin.com/connect/muse), [OpenClaw](https://tradepuffin.com/connect/openclaw), [Hermes Agent](https://tradepuffin.com/connect/hermes) and [Codex](https://tradepuffin.com/connect/codex), and with any other MCP client.

[Start free trial](https://app.tradepuffin.com/signup?ref=site-connect-vscode-end)[See pricing](https://tradepuffin.com/pricing)
