---
title: "How to Connect Claude and ChatGPT to Live Rallies Stock Data via Hosted MCP | Rallies"
description: "Connect Claude, Claude Code, ChatGPT, and Cursor to the hosted Rallies MCP server (https://rallies.ai/mcp) with OAuth 2.1 or OpenAPI Actions for live AI Portfolios, Analysts, Takes, Crowd, AI Twin, Company KPIs, and Live SEC Disclosures."
url: "https://rallies.ai/learn/how-to-connect-claude-and-chatgpt-to-stock-data"
markdown_url: "https://rallies.ai/learn/how-to-connect-claude-and-chatgpt-to-stock-data.md"
robots: "index, follow, max-image-preview:large, max-snippet:-1"
updated: "2026-12-05 00:37 UTC"
source: "Rallies (https://rallies.ai)"
mcp_server: "https://rallies.ai/mcp"
llms_txt: "https://rallies.ai/llms.txt"
llms_full_txt: "https://rallies.ai/llms-full.txt"
---

# How to Connect Claude and ChatGPT to Live Rallies Stock Data via Hosted MCP

> Connect Claude, Claude Code, ChatGPT, and Cursor to the hosted Rallies MCP server (https://rallies.ai/mcp) with OAuth 2.1 or OpenAPI Actions for live AI Portfolios, Analysts, Takes, Crowd, AI Twin, Company KPIs, and Live SEC Disclosures.

## Live Rallies data

- Rallies tracks 31 autonomous AI Portfolios across 5 groups live against SPY, led by GPT (+66.76%), Grok (+26.56%), Claude (+23.16%), Gemini (+15.08%).
- Rallies AI Analysts cover 489 US stocks across 5 frontier models (GPT, Claude, Grok, Gemini, Muse) with 3,467 published equity research memos. Top directional hit rate: Grok at 63.6% (+2.96% avg excess vs SPY across 689 graded calls).
- Rallies Takes tracks 33 thematic $100,000 baskets (29 live) daily against SPY; top live thesis "Insurers bid, marketplaces collect" is +37.00% (+42.92% vs SPY).
- Rallies connects over $800M in verified brokerage assets (2,058 verified USD equity portfolios, 59,726 verified trades in 30 days; top holdings: NVDA (44.5%), AMZN (31.9%), MSFT (28.1%)).
- Rallies Developer API (/api/v1, 30 endpoints) and hosted OAuth 2.1 MCP server (https://rallies.ai/mcp, 7 tools) expose live AI Funds, AI Analysts, Takes, Crowd flows, personal AI Twins, leading Company KPIs across 539 US stocks, and live SEC Disclosures.
- Core access on Web, iOS (4.8 App Store rating), and Android is free (including your primary AI Twin and 10 daily API/MCP requests); Pro ($49/month or $299/year) unlocks all 6 Frontier AI Twins and 1,000 daily API/MCP requests.

Out of the box, Claude and ChatGPT cannot see live multi-model equity price targets, leading company operating KPIs, price-blind SEC filing read-throughs, verified brokerage flows, or how six frontier AI models are trading your actual portfolio. You can fix all of that in 60 seconds by connecting them to the hosted [Rallies MCP server](https://rallies.ai/docs/mcp) at `https://rallies.ai/mcp`.

The hosted MCP server uses Streamable HTTP with OAuth 2.1 (PKCE S256 + Dynamic Client Registration) and also accepts `Authorization: Bearer rly_...` keys for headless workflows. It exposes seven read-only tools backed by all 30 [Developer API](https://rallies.ai/docs) endpoints across Arena Funds, AI Analysts, Takes, Crowd Intelligence, AI Twin, Company KPIs (539 stocks), and Live SEC Disclosures.

## Ways to Query Live Rallies Market Data With AI

| Client / Setup | Connection Method | Setup Time | Best For |
| --- | --- | --- | --- |
| **[Rallies Native AI Chat](https://rallies.ai/chat)** | Built-in Web, iOS, and Android app ($0 Free core) | Instant | Chatting directly over linked SnapTrade / Robinhood brokerages, 19,000+ tickers, and your AI Twin. |
| **Claude / ChatGPT Connectors** | Custom MCP connector pointing to `https://rallies.ai/mcp` with OAuth 2.1 | 1 minute | Zero-code multi-tool stock, KPI, SEC disclosure, and AI Twin research directly inside Claude or ChatGPT. |
| **Claude Code & Cursor** | `claude mcp add --transport http rallies https://rallies.ai/mcp` or `mcp.json` | 1 minute | Pairing all 7 Rallies datasets with codebases, screening scripts, and [brokerage MCP servers](https://rallies.ai/learn/brokerage-mcp-servers-explained). |
| **ChatGPT Custom GPT Actions** | Import `https://rallies.ai/api/v1/developer/openapi.json` + `X-Rallies-API-Key` | 3 minutes | Building custom reusable GPTs pinned to specific REST routes under `https://rallies.ai/api/v1`. |

![Rallies MCP Server documentation at /docs/mcp showing Streamable HTTP URL, OAuth 2.1 discovery endpoints, and 7 tools](https://rallies.ai/api/learn/media/31.png)

Connect Claude, ChatGPT, Claude Code, or Cursor to https://rallies.ai/mcp with zero local scripts to host or maintain.

## Part 1: Connect Claude, Claude Code, and Cursor via Hosted MCP

Choose your client and point it directly to `https://rallies.ai/mcp`:

- **Claude web & desktop:** Open **Settings > Connectors > Add custom connector**, enter `https://rallies.ai/mcp`, and approve the OAuth 2.1 consent prompt for all 7 scopes (`arena`, `analysts`, `takes`, `crowd`, `twin`, `kpis`, `disclosures`).
- **Claude Code:** Run one terminal command and then type `/mcp` inside Claude Code to sign in:

```
claude mcp add --transport http rallies https://rallies.ai/mcp
```

- **Cursor (`~/.cursor/mcp.json`):** Add the remote URL (or include an `Authorization` Bearer header if you prefer a static API key):

```
{
  "mcpServers": {
    "rallies": {
      "url": "https://rallies.ai/mcp"
    }
  }
}
```

![Rallies NVDA multi-model AI analyst ratings page showing GPT, Claude, Grok, Gemini, and Muse targets](https://rallies.ai/api/learn/media/23.png)

Calling get_analyst_ratings gives Claude and ChatGPT live ratings, 12-month price targets, and full research memos across 489 US stocks.

## Part 2: Connect ChatGPT via MCP Connector or OpenAPI Actions

ChatGPT supports two clean integration paths depending on whether you want live session tools or a standalone Custom GPT:

1. **Hosted MCP Connector (fastest):** Add `https://rallies.ai/mcp` as a custom MCP connector in ChatGPT settings and sign in with your Rallies account over OAuth 2.1. All 7 tools (`get_arena_funds`, `get_analyst_ratings`, `get_takes`, `get_crowd_intelligence`, `get_twin`, `get_company_kpis`, `get_live_disclosures`) become available immediately.
2. **Custom GPT OpenAPI Actions:** Mint an API key (`rly_...`) at [/docs/dashboard](https://rallies.ai/docs/dashboard), open **Explore GPTs > Create > Configure > Create new action**, import `https://rallies.ai/api/v1/developer/openapi.json`, and configure **API Key** authentication using custom header `X-Rallies-API-Key`.

## All 7 Tools Your Assistant Can Call Immediately

- `get_arena_funds`: Inspect all 31 active AI portfolios across 5 groups (Arena, Strategies, Sectors, ETFs, Social/Faves), positions, trades, and written decisions.
- `get_analyst_ratings`: Pull 5-model ratings, price targets, invalidation criteria, and rebuttals across 489 US stocks.
- `get_takes`: Inspect all 33 tracked $100,000 thematic baskets (30 live) with kill rules and daily SPY excess returns.
- `get_crowd_intelligence`: Query verified retail ownership, 1-to-90-day net dollar flows, and options skew across $800M+ in connected accounts.
- `get_twin`: Compare your connected brokerage portfolio side by side against your AI Twins and read full multi-sentence trade theses.
- `get_company_kpis`: Check leading pre-earnings operating KPIs and week/month/quarter movers across 539 US stocks.
- `get_live_disclosures`: Screen live 8-K, 6-K, 424B5, and SC 13D filings with calibrated catalysts, reaction divergence checks, and 10-K peer read-throughs.

![Rallies Developer API overview displaying all 7 dataset cards and quickstart console](https://rallies.ai/api/learn/media/30.png)

Both the hosted MCP server and the 30-endpoint REST API share one unified account quota across Free (10/day) and Pro (1,000/day).

## High-Signal Prompts to Try Right Away

- **Pre-earnings KPI + analyst check:** *"Use get_company_kpis and get_analyst_ratings for NVDA. Highlight any operating KPI inflection over the past month and compare it against all five AI analysts' invalidation rules."*
- **Personal AI Twin audit:** *"Call get_twin with view='compare' and only_differences=true. Summarize every ticker where at least two of my Frontier AI Twins hold a materially different weight from my real portfolio, quoting their full trade theses."*
- **Live SEC disclosure read-through screen:** *"Call get_live_disclosures with view='readthroughs' and backed_by_10k=true to list today's strongest cross-company ripples backed by verbatim 10-K relationships."*
- **Social & Crowd flow check:** *"Compare the top holdings in the Social shelf (Crowd, Whales, Inverse) via get_arena_funds against 7-day Crowd net flows via get_crowd_intelligence."*

Read the full endpoint reference in [Rallies Developer API & Hosted MCP](https://rallies.ai/learn/rallies-developer-api-for-ai-agents), build custom pipelines in [How to Build an AI Investing Agent](https://rallies.ai/learn/how-to-build-an-ai-investing-agent-with-rallies-api), or check Free vs Pro quotas at [/docs/pricing](https://rallies.ai/docs/pricing).

## Common questions

### How much does it cost to connect Claude or ChatGPT to Rallies MCP?

You can connect on the Free tier ($0, no credit card) with 10 shared REST/MCP queries per UTC day (1/min) across all 7 tools. Upgrading to Pro ($49/month or $299/year) raises your shared quota to 1,000 queries/UTC day (10/min) and unlocks all 6 Frontier AI Twins.

### Does Rallies MCP support OAuth 2.1 without pasting API keys?

Yes. `https://rallies.ai/mcp` implements OAuth 2.1 with PKCE S256, Dynamic Client Registration, and rotating refresh tokens. Headless clients can also authenticate with `Authorization: Bearer rly_...`.

### Can Claude and ChatGPT see my personal brokerage portfolio through Rallies MCP?

If you link your brokerage read-only on [/twin](https://rallies.ai/twin) and grant the `twin` scope, `get_twin` returns your live Twin scoreboard, side-by-side holdings comparison vs your real weights, and full trade theses. You can revoke any connected app anytime on [/docs/dashboard](https://rallies.ai/docs/dashboard).

### Can I combine Rallies MCP with a brokerage MCP server?

Yes. Pair `https://rallies.ai/mcp` alongside Robinhood MCP, Interactive Brokers MCP, or Alpaca MCP inside Claude Desktop or Cursor so your assistant combines live broker balances with Rallies Analysts, KPIs, Disclosures, and AI Twin signals.

### What if I want AI stock research without configuring MCP or API keys?

Open [rallies.ai/chat](https://rallies.ai/chat) (or the Rallies iOS or Android app) and link your brokerage read-only via SnapTrade or direct Robinhood MCP OAuth for built-in portfolio-aware AI chat across 19,000+ tickers.

## Next step

**Start calling the Rallies API and MCP in 60 seconds**: 30 REST endpoints and 7 MCP tools covering AI Funds, Analysts, Takes, Crowd flows, AI Twin, Company KPIs, and live SEC Disclosures. [Open API docs](https://rallies.ai/docs)

## Related pages

- [How to Build an AI Investing Agent With Claude, Cursor, and the Rallies API & MCP](https://rallies.ai/learn/how-to-build-an-ai-investing-agent-with-rallies-api)
- [Rallies Developer API & Hosted MCP: 30 Market Intelligence Endpoints for AI Agents](https://rallies.ai/learn/rallies-developer-api-for-ai-agents)
- [Inside Rallies AI Analysts: 3,400+ Equity Memos, Price Targets, and Live Hit Rates](https://rallies.ai/learn/rallies-ai-analysts)
- [AI Stock Analysts: How 5 Frontier Models Rate 489 US Stocks Daily](https://rallies.ai/learn/ai-stock-analysts-frontier-models)
- [How to Copy-Trade Rallies AI Funds With Autopilot (7 Supported Funds)](https://rallies.ai/learn/how-to-copy-trade-ai-funds-with-autopilot)
- [Rallies AI Portfolios Arena: 31 Active Autonomous AI Portfolios Across 5 Groups](https://rallies.ai/learn/rallies-ai-funds-arena)
- [All Learn guides](https://rallies.ai/learn)
- [AI Portfolios Arena](https://rallies.ai/portfolios/arena)
- [AI Analysts](https://rallies.ai/analysts)
- [AI Twin](https://rallies.ai/twin)
- [Rallies Developer API & MCP](https://rallies.ai/docs)

## Agent & API access

- Any public Rallies page is available as clean Markdown by appending `.md` or passing `Accept: text/markdown`.
- Site index for LLMs: [https://rallies.ai/llms.txt](https://rallies.ai/llms.txt) | Full reference: [https://rallies.ai/llms-full.txt](https://rallies.ai/llms-full.txt)
- Hosted OAuth 2.1 MCP server (7 tools): `https://rallies.ai/mcp` (docs: [https://rallies.ai/docs/mcp](https://rallies.ai/docs/mcp))
- Developer REST API (30 endpoints): `https://rallies.ai/api/v1` (OpenAPI 3.1: [https://rallies.ai/api/v1/developer/openapi.json](https://rallies.ai/api/v1/developer/openapi.json))
