QUANTGPT

Connect Claude or ChatGPT to stock market data

Updated October 19, 2026

The short answer

Add QuantGPT as an MCP connector at https://terminal.quantgpt.co/mcp. Claude and ChatGPT sign in to QuantGPT, with no key to paste; Claude Code, Cursor, Gemini CLI and scripts send a key from your account page. Then your AI can search 175 documented strategies, run backtests on decades of US market history, grade a stock and query the warehouse, in the chat.

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, + and Add custom connector; paste the URL, press Connect and sign in to QuantGPTA Claude plan that allows custom connectors; on a Team or Enterprise plan an Owner may need to add it firstConnect Claude
Claude Codeclaude mcp add with a key from your account pageA QuantGPT keyConnect Claude
ChatGPTSettings, Security and login, Developer mode; then chatgpt.com/plugins, the plus button, the URL, and sign in to QuantGPTPlus, Pro, Business, Enterprise or 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:

claude mcp add --transport http quantgpt https://terminal.quantgpt.co/mcp --header "Authorization: Bearer qg_sk_YOUR_KEY"

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 priced on a 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, click + and choose Add custom connector, paste https://terminal.quantgpt.co/mcp, press Connect and sign in to QuantGPT; there is no key to paste. In Claude Code, run claude mcp add with a key from your QuantGPT account page. Step by step: quantgpt.co/learn/connect-claude.html.

How do I connect ChatGPT to stock market data?

Through developer mode. In ChatGPT open Settings, then Security and login, and turn on Developer mode; then go to chatgpt.com/plugins, select the plus button, name the app and enter https://terminal.quantgpt.co/mcp under Connection, and sign in to QuantGPT. Developer mode is on the Plus, Pro, Business, Enterprise and Education plans, on the web. On ChatGPT Free or Go, 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. Guides for each: quantgpt.co/learn/connect-ai-to-stock-data.

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.