# What is an MCP server and how does it work?

> An MCP server gives an AI assistant tools to call, such as a live price lookup or a market-research question, so its answers use fresh data instead of memory. You add one with a URL and a key.

- URL: https://neurobro.ai/learn/what-is-an-mcp-server
- Language: en
- Published: 2026-11-17
- Updated: 2026-11-20

## An MCP server is a set of tools for an AI

An MCP server is a program that gives an AI assistant tools it can call: "get a price", "list my positions", "answer a market question". MCP stands for Model Context Protocol, the shared standard that lets an assistant such as Claude Code or Cursor talk to any server built for it, the same way every time.

You don't talk to the server yourself. You ask your assistant a question, and the assistant decides whether a tool can help.

[NeuroAPI](https://neurobro.ai/api) hosts an MCP server you can add to Claude Code or Cursor to get market research answers.

## Think of it as a USB port for AI

An AI assistant on its own knows what it read during training, so it can't tell you what Bitcoin costs this minute. Before a shared standard, every data source needed its own custom connection to every assistant. MCP works like a USB port: the data source builds one server, and every assistant that speaks MCP can plug into it.

The assistant is the "client" and the data source is the "server". Those two words are all the jargon you need.

## How a question flows

1. **You ask.** For example: "What's the macro setup for the euro this week?"
2. **The assistant picks a tool.** It sees the list of tools the server offers and chooses one that fits.
3. **It makes the call.** The assistant sends the tool its inputs, such as a ticker or the question itself.
4. **The server answers.** It fetches the data and sends it back.
5. **You get a reply built on that data.** The figures in it come from the tool's data.

## Which MCP servers exist for markets

Servers cover three main jobs. Data vendors such as Alpha Vantage, CoinGecko, and Etherscan give an assistant prices, fundamentals, and on-chain records. Charting tools such as TradingView offer watchlists and screeners. Brokers such as Alpaca and Robinhood let an assistant work with an account and its orders, and that last group is where [agentic trading](https://neurobro.ai/learn/what-is-agentic-trading) starts.

The [best MCP servers for finance](https://neurobro.ai/learn/best-mcp-servers-for-finance) page sorts them by job.

> **Add market research to your AI.** The NeuroAPI MCP server has one tool and nothing to install. [NeuroAPI](https://neuroapi.neurobro.ai/)

## How you add one

Every server needs two things from you: its address (a URL) and, for most, a key that proves you have an account. In an app with a connectors screen, you paste the URL and sign in. In Claude Code, it is one command: `claude mcp add --transport http`, then a name and the URL. The [step-by-step guide](https://neurobro.ai/learn/how-to-connect-claude-to-live-market-data) walks through it. To get market answers with no setup at all, ask the agent in [Neurobro Web](https://neurobro.ai/web).

Servers come in two kinds. A hosted server lives at a web address and needs nothing installed. A local server runs on your own machine.

## NeuroAPI's MCP server

[NeuroAPI](https://neurobro.ai/api) hosts an MCP server at `https://api.neurobro.ai/api/v1/mcp`, so there is nothing to install. It has one tool, `ask_neuroapi`: send a market-research question and get a researched answer back, covering crypto, stocks, forex, commodities, and macro. It works with Claude Code, Cursor, VS Code, and other MCP clients. In Claude Code, add it like this:

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

The server returns research. It never places trades or holds funds. It uses the same key and quota as the REST API, so [pick a plan on the NeuroAPI pricing page](https://neuroapi.neurobro.ai/docs/pricing) and you have a key in minutes. The [MCP docs](https://neuroapi.neurobro.ai/docs/mcp) cover the tool's inputs in full.

## Common questions

### Is MCP only for Claude?

No. MCP started at Anthropic, and Claude Code, Cursor, VS Code, ChatGPT in Developer Mode, and other clients support it. A server built once works with all of them.

### Is it safe to add an MCP server?

A server can do only what its tools allow, so read the tool list before you add one. Prefer servers from the company behind the data, and keep trading-account keys out of tools you don't trust.

### Do MCP servers cost money?

Some are free. Many need an account and a key from the provider, on the provider's own plans.
