# How to connect Claude to live stock data

> To connect Claude to live stock data, add a market-data MCP server. In Claude Code it takes one command and an API key, and Claude can then answer market questions with current numbers.

- URL: https://neurobro.ai/learn/how-to-connect-claude-to-live-market-data
- Language: en
- Published: 2026-11-17

## Why Claude needs a data source

Claude has no live view of the market by itself. Ask it what NVDA trades at right now and, without a tool, it can only work from what it learned in training. To connect Claude to live stock data, you add a tool it can call, and the standard way to do that is an [MCP server](https://neurobro.ai/learn/what-is-an-mcp-server).

Once a server is connected, Claude calls it whenever a question needs a fresh number, and the figure in the answer comes from the server instead of from memory.

Neurobro's [NeuroAPI](https://neurobro.ai/api) has a hosted MCP server that gives Claude market answers from live data with one command.

## Three ways to connect Claude to market data

| Option | What it is | Good for |
| --- | --- | --- |
| Built-in connector | A server in Claude's connector screen, such as TradingView's or Alpha Vantage's, added with a sign-in | A quick start with one provider and no terminal |
| Data MCP server | Many tools that return raw numbers: quotes, fundamentals, filings | Your own analysis, where Claude does the reasoning |
| Research MCP server | One tool that takes a question and returns a researched answer | Fast written answers across markets |

In the Claude app, connectors live under Settings, then Customize, then Connectors. Claude Code takes remote servers with one command. The [best MCP servers for finance](https://neurobro.ai/learn/best-mcp-servers-for-finance) page lists examples of each type.

The rest of this guide uses a research server, [NeuroAPI's MCP server](https://neurobro.ai/api), because it is one command and one tool.

## Connect Claude Code to market data in five steps

1. **Get a key.** [Pick a plan on the NeuroAPI pricing page](https://neuroapi.neurobro.ai/docs/pricing) and create an API key in the [NeuroAPI dashboard](https://neuroapi.neurobro.ai/). Store it in an environment variable so it never lands in a file you commit:

   ```bash
   export NEUROAPI_KEY="neuro_..."
   ```

2. **Add the server.** Run this once in your terminal:

   ```bash
   claude mcp add --transport http neuroapi \
     https://api.neurobro.ai/api/v1/mcp \
     --header "X-API-Key: $NEUROAPI_KEY"
   ```

3. **Check the connection.** Start Claude Code and type `/mcp`. The server should show as connected, with exactly one tool: `ask_neuroapi`.
4. **Ask a first question.** Try "What's the macro setup for the euro this week?" Claude calls `ask_neuroapi`, and you see the call before the answer arrives.
5. **Pick a mode.** The tool takes a `mode` input: `fast` for quick checks, `smart` (the default) for deeper reasoning, and `max` for the deepest research, on Pro and Enterprise plans. Ask for it in plain words, such as "use fast mode to check ETH", and Claude passes it to the tool.

If a call comes back with an authorization error, the key is missing or revoked, or the account has no active plan. An error that mentions `mode_not_in_plan` means you asked for `max` on a plan without it.

Claude Desktop's custom connector screen takes only a URL and OAuth, with no field for an API-key header. Use Claude Code for this server, or the `mcp-remote` bridge covered in the [MCP client setup docs](https://neuroapi.neurobro.ai/docs/mcp/clients).

> **Get your key and connect in one command.** The NeuroAPI MCP server has one tool and nothing to install. [NeuroAPI](https://neuroapi.neurobro.ai/)

## What to ask and what comes back

The tool returns an `answer`, the `mode` it ran in, a `request_id`, and a `usage` block. Inside `usage`, `cost_units` is what was taken from your quota. Claude then writes the answer into your chat.

Questions that work well:

- "Is ETH overbought right now?"
- "What changed for gold since yesterday, and what is on the calendar today?"
- "Who holds the most of this token, and is the liquidity thin?"
- "I think BTC breaks higher this week. Build me a trade setup."

When you ask with a directional view, as in the last one, the response includes a structured trade setup: entry, stop, take-profits, and risk-to-reward. Treat the levels as a draft and check them on a live chart. To try a question before you connect anything, ask the same agent in [Neurobro Web](https://neurobro.ai/web).

## Keep the tool count low

Every tool a server offers has a definition that sits in Claude's context, which is the working memory it uses to read your chat. Alpha Vantage's server lists more than 100 tools, and Massive's covers stocks, options, FX, and crypto through three tools that search endpoints, call the API, and query data. A big catalog gives you breadth, and in a client that loads every definition it costs context on each message.

Claude Code softens this: its tool search is on by default and defers tool definitions so they cost little context, and it warns when a single tool result passes 10,000 tokens. A one-tool server keeps the definitions small, and a research server returns its answer as short, readable text.

## Next steps

Other clients connect to the same endpoint. The [MCP client setup docs](https://neuroapi.neurobro.ai/docs/mcp/clients) have the steps for Cursor, VS Code, and the MCP Inspector. The [MCP docs](https://neuroapi.neurobro.ai/docs/mcp) list every input of `ask_neuroapi`.

If you work in Claude Code, the [agent skills](https://github.com/axioma-ai-labs/neurobro-skills) teach it to call NeuroAPI well. Install them with `npx skills add axioma-ai-labs/neurobro-skills`. [Claude Code for trading](https://neurobro.ai/learn/claude-code-for-trading) shows how to set up a research desk around them.

The MCP server returns research and never places trades. It runs on a NeuroAPI plan, with the same key, quota, and billing as the REST API, and only successful answers count.
