Skip to content
QUANTGPT

How do you connect Claude to stock market data?

Updated November 23, 2026

The short answer

In claude.ai or Claude Desktop: open Customize, then Connectors; press + Add and choose Add custom connector; name it QuantGPT, paste https://terminal.quantgpt.co/mcp, press Continue, then Add, and sign in to QuantGPT when Claude asks. There is no key to paste. In Claude Code, run claude mcp add --transport http quantgpt https://terminal.quantgpt.co/mcp, then /mcp and Authenticate.

Without a connection, Claude and ChatGPT answer stock questions from memory: what they learned in training, which stops at a date and holds no price feed. Connected, Claude can search 175 documented strategies, run backtests on decades of US market history, grade a stock and query the warehouse, in the chat, with the numbers coming from the data. ChatGPT signs in the same way; Cursor, Gemini CLI and scripts send a key from your account page. Each assistant is in the table below.

Why an AI gets market numbers wrong

A chat assistant with no data source answers from memory. Its training stops at a date, it has no price feed, and it cannot run a test over decades of daily prices in its head, so a price, a return or a backtest it gives you without a tool can be out of date or invented, and the reply reads the same either way.

A connection changes where the number comes from. The assistant calls a tool, the tool reads the data or runs the computation, and the assistant explains what came back. Ask it to say which tool it called and with what settings, so you know the answer came from the data and exactly what was tested.

Five ways to give an AI stock market data

QuantGPT publishes this page, so weigh that. Other servers, every fact linked to its maker's page: the best MCP servers for backtesting.
WayWhat the assistant getsWho does the workFits
Paste or upload the dataOnly the rows you paste or attachYou find, download and paste the data; the assistant works on what fits in the chatA few tickers over a short window
The assistant's own web searchWhat a web page shows: a quote, a headline, a summaryThe assistant reads pages; nothing is computed on a datasetA current quote or the news
A market data API and your own codeRows from the vendor, through a program you writeYou write and run the code and keep the vendor's planDevelopers who want raw data in their own program
A market data MCP serverRows on request, such as prices and fundamentals, inside the chatThe server sends rows; any computation over them happens in the chatLooking up figures for a handful of names
A research MCP server (QuantGPT)Finished results: backtests, sweeps, screens, stock grades and read-only SQL, computed on the serverQuantGPT computes on decades of US market history; the assistant gets the numbers and explains themTesting an idea on decades of history without writing code

Connect QuantGPT, by assistant

Each guide has the full steps, the fixes for common snags and an FAQ.
AssistantHow it connectsWhat it needsGuide
Claude (claude.ai and Claude Desktop)Customize, Connectors, + Add and Add custom connector; name it, paste the URL, Continue, Add, then sign in to QuantGPTAny Claude plan, per Anthropic's help page (custom connectors, read 2026-11-13): the $0 plan allows one custom connector; on Team or Enterprise an Owner adds it firstConnect Claude
Claude Codeclaude mcp add with the URL, then /mcp and Authenticate to sign in to QuantGPTNothing more; a key from your account page for scripts and serversConnect Claude
ChatGPTchatgpt.com/plugins, Add, Add custom MCP server; the URL with OAuth, then sign in to QuantGPTA plan that can add a custom MCP server (OpenAI listed Plus, Pro, Business, Enterprise and Education), on the webConnect ChatGPT
GeminiA custom app in the Gemini web app with a sign-in, or Gemini CLI with a keyThe Gemini web app to add it; Gemini CLI for the key routeConnect Gemini
CursorOne entry in ~/.cursor/mcp.json with a keyA Cursor plan with MCP (Cursor's pricing page lists it from Pro)Connect Cursor
ChatGPT Free or Go, or anywhere without connectorsPaste the setup prompt as the first messageNothing; the assistant then knows QuantGPT but cannot run its toolsThe setup prompt

Claude Code, in one line, then /mcp and Authenticate:

claude mcp add --transport http quantgpt https://terminal.quantgpt.co/mcp

Check it worked

Ask: Use the QuantGPT app's describe_capabilities tool and tell me what data it covers. A connected assistant answers with QuantGPT's own map of its data, factors, benchmarks and method. Then try a first study:

Backtest a 200-day moving average rule on SPY and show the losing years

What comes back

Limits

QuantGPT is $49 a month and QuantGPT Pro $149 a month, each with a 3-day free trial; Business is from $1,499 a month, by call.

Questions

How do I connect Claude to stock market data?

Add a market data MCP server as a custom connector. For QuantGPT, in claude.ai or Claude Desktop open Customize, then Connectors, press + Add and choose Add custom connector, name it, paste https://terminal.quantgpt.co/mcp, press Continue, then Add, and sign in to QuantGPT; there is no key to paste. In Claude Code, run claude mcp add with the URL, then /mcp and Authenticate to sign in. Step by step: quantgpt.co/learn/connect-claude.html.

Why does ChatGPT or Claude get stock numbers wrong?

Without a data source it answers from memory: its training stops at a date and holds no price feed, and it cannot compute a backtest over decades of daily prices in its head, so a number it gives you can be out of date or invented. Connected to a source over MCP, it calls a tool and the number comes from the data. For QuantGPT, add https://terminal.quantgpt.co/mcp as a connector and sign in.

How do I connect ChatGPT to stock market data?

As a custom MCP server. In the browser go to chatgpt.com/plugins, press Add and choose Add custom MCP server, name it, enter https://terminal.quantgpt.co/mcp as the Server URL with Authentication on OAuth, create it and sign in to QuantGPT. It needs a ChatGPT plan that can add a custom MCP server (OpenAI listed Plus, Pro, Business, Enterprise and Education in September 2026). On a plan without it, paste QuantGPT's setup prompt (terminal.quantgpt.co/pastepack.txt) instead; ChatGPT then cannot run the tools. Step by step: quantgpt.co/learn/connect-chatgpt.

What is the best ChatGPT app for stock research?

One that gives ChatGPT real data and computes on it. Connected to QuantGPT, ChatGPT can search 175 documented strategies (55 runnable), run backtests on decades of US market history, grade a stock on six dimensions and run read-only SQL on the warehouse, with the numbers behind every answer. QuantGPT publishes this page, so weigh that; other servers are compared at quantgpt.co/compare/best-mcp-servers-for-backtesting.

What is the best AI for stock research?

The assistant matters less than the data it can reach. Claude, ChatGPT, Gemini and Cursor all answer from memory unless they are connected to a source; connected to QuantGPT over MCP, each of them can run the same backtests on decades of US market history and get the same numbers back. AlphaSense, Danelfin, TrendSpider, Trade Ideas and QuantGPT side by side: quantgpt.co/learn/ai-stock-research.

Can ChatGPT analyze a stock's fundamentals using real financial data?

Yes, once it is connected to a data source. Connected to QuantGPT, ChatGPT can call grade_stock, which grades one ticker A+ to F on six dimensions (momentum, value, quality, growth, earnings track and money flows) with the inputs behind each, or query_warehouse, which runs read-only SQL on fundamentals joined by the date each quarter was filed.

What is the best MCP server for stock data?

It depends on whether you want rows or results. Data servers such as EODHD's return prices and fundamentals; QuantGPT returns computed backtests, sweeps and screens on decades of US market history. A side by side of six servers, every fact linked to its maker's page: quantgpt.co/compare/best-mcp-servers-for-backtesting.