How to Connect Claude to Financial Data with MCP (Claude, Claude Code and Cursor)
We build Distilla, one of the data sources in this guide. The free sources below work without it. The short answer Claude is a good research partner once it can look things up in real data. On its own, it has training data and web search. That is enough for one figure from one filing. It breaks on

We build Distilla, one of the data sources in this guide. The free sources below work without it.
Claude is a good research partner once it can look things up in real data. On its own, it has training data and web search. That is enough for one figure from one filing. It breaks on screens, rankings and anything that needs history.
The fix is to connect Claude to financial data through MCP: add a few data servers, tell Claude which one to use for what, and ask questions that name the company, the metric and the period. Setup takes about ten minutes. This guide covers Claude, ChatGPT, Claude Code and Cursor, plus the API for your own scripts.
MCP (Model Context Protocol) is an open standard for giving an AI assistant tools. A server publishes a list of tools, each with a name and a description. During a conversation, the assistant reads the list, decides which tool fits the question, sends a request and reads the result. You see this as a step in the answer, such as "Used Distilla".
Servers come in two kinds. Remote servers have a web address and you sign in to them, like Distilla's. Local servers run on your own computer, which is how most community-built servers work. Both kinds can be connected at once, and the assistant picks between them.
A financial data MCP server is simply one whose tools return financial data: prices, statements, filings, estimates, research. The servers in this guide are read-only. They answer questions and cannot change anything.
We ran a test to find out where the line sits. We asked Claude Opus 5.5 200 stock questions twice: once with web search, and once with web search plus Distilla connected over MCP. With web search alone, Claude passed 97. With the data layer, it passed 193. The full results and method are here.
The gap came from one kind of question. On single figures and everyday questions about one stock, web search passed 77 of 90. On price moves across a market, estimate revisions, valuation against history, rankings and screens, it passed 20 of 110.
The reason is mechanical. A ranking across a market, or a stock's valuation against its own two-year range, is not written on any web page. It has to be computed from data. Web search can only read pages, and it runs out of searches first. In our test it used all ten of its searches on 89% of the harder questions.
Financial data comes in four layers, and no single source covers all of them well. Knowing the layers makes it easier to choose servers:
Most free sources cover the first two layers. The last two are where research questions usually get stuck, because the answer sits in text spread across many documents and dates. Our comparison of financial MCP servers maps the main options to each layer.
You do not need one MCP server for stock research that does everything. A financial data MCP stack of four sources covers most questions:
Community servers run locally, so install only ones you trust. Check that they are maintained, read the README, and keep API keys to the free, low-risk kind. yfinance is an unofficial route. Treat it as good enough for charts and returns, not as a guaranteed feed.
Distilla covers the most-followed companies in the US, Japan, Hong Kong, Korea and China A-shares. It stores 438K+ price moves of 3% or more, each with a dated cause, plus 180K+ sell-side research summaries and 11K+ investor podcast episodes. It has no intraday data or options, so keep a market-data source for live prices.
The server URL is the same everywhere: https://api.distilla.ai/mcp. Sign-in works with any email.
You can also add it by hand: Customize → Connectors → + Add → Add custom connector, with Distilla as the name and the URL above. Leave the authentication settings as Claude detects them. On Team and Enterprise plans, an owner adds connectors for the organization.
Click Add to ChatGPT on agents.distilla.ai, install the plugin and sign in. The tools are the same as in Claude.
claude mcp add --transport http --scope user distilla https://api.distilla.ai/mcp Enter fullscreen mode Exit fullscreen mode Start Claude Code, run /mcp, and complete the sign-in. --scope user makes the server available in every project. Leave it out to keep it to the current one.
For Cursor MCP setup, paste this into your MCP settings, then save:
{ "mcpServers": { "distilla": { "url": "https://api.distilla.ai/mcp" } } } Enter fullscreen mode Exit fullscreen mode Sign in when the agent asks.
After sign-in you should see at least these tools: ping, list_queryable_entities, describe_queryable_entities, query_entity, aggregate_entity, screen_drivers, screen_earnings, get_screen_job, search_public_library and get_library_document.
Use Distilla to look up NVIDIA by ticker NVDA. Enter fullscreen mode Exit fullscreen mode Claude should call query_entity on a company. If the tools are missing, finish the sign-in and reload the connection before you debug the prompt.
With several servers connected, Claude picks between them. It picks better when you say what each one is for. In Claude Code, put this in your project's CLAUDE.md so every session starts with it:
## Data sources - Macro series: FRED. Cite the series ID. - Daily prices: yfinance. - Reported figures for US companies: SEC EDGAR. - Company events, earnings-call commentary, broker research and price-move explanations: Distilla. - Give a source and a date for every figure. - Say what you could not find. Enter fullscreen mode Exit fullscreen mode In Claude, ChatGPT or Cursor, one line at the start of the chat does the same job.
Plans count tool calls, so it helps to know what a question costs. In our test, Claude averaged 6.6 Distilla calls a question. Simple questions, such as one figure or one stock's monthly return, took about 4. Screens, rankings and history questions took about 9. The heaviest question, a valuation screen across 98 companies, took 36.
On the free plan's 100 calls a month, that is roughly 15 average questions. Paid plans start at $9.90 a month for 200 calls a week. Two habits keep usage down: narrow the universe ("US companies above $100B") and name the period ("since 1 July").
A good research question pins down three things: the company or group, the metric or event, and the time window. Some examples, by task.
Adobe is about to report earnings. Across its last 12 prints, what did the stock do and why? Is the market rewarding revenue beats, margin beats, or guidance? Then tell me where consensus sits versus current guidance. Enter fullscreen mode Exit fullscreen mode Why did a stock move Dell beat expectations but the stock fell 11.8% after its results. What drove the fall, what did analysts change afterwards, and which risks did the market price in? Enter fullscreen mode Exit fullscreen mode Our Substack ran this exact case as a post-earnings check on Dell. Each large move is stored with a dated cause, so the answer starts from the recorded reason, not from a guess.
List every stock that moved more than 5% in the last 7 days across the US and Japan, explain each move, and group them into themes. Enter fullscreen mode Exit fullscreen mode Summarize NVIDIA's price moves and reasons over the last 3 months and establish patterns. Enter fullscreen mode Exit fullscreen mode Screen on what management said Which US software companies talked about pricing power on their latest earnings call? List each company with what management said and the date of the call. Enter fullscreen mode Exit fullscreen mode Screens like this read earnings-call and filing commentary across many companies at once. Web search would return a handful of articles about the best-known names.
For bigger questions, break the work into steps and name the data for each one:
Analyze the cycle for US homebuilders and model the upside and downside for Lennar (LEN). Step 1: using FRED, pull housing starts (HOUST), building permits (PERMIT) and the 30-year mortgage rate (MORTGAGE30US) over 20 years, and identify the cycle phases. Step 2: for LEN and its closest peers, show gross margin, orders and book value per share through the last two cycles.
Step 3: summarize what management and the sell-side said about orders and margins over the past two quarters, with dates. Step 4: build bull, base and bear cases for the next 12 months, with every assumption listed. Give a source and a date for every figure.
Enter fullscreen mode Exit fullscreen mode Each step uses a different source, and you can check one step before the next builds on it. Say how you invest, too: your time horizon and whether you anchor on earnings, book value or cash flow. Otherwise Claude picks a generic framework.
Japan, Hong Kong, Korea and China A-shares add friction that US questions do not have. In our test, web search passed 44% of Asian questions, against 54% of US ones. A few habits help, whatever source you use:
Our guide to researching Japan, Hong Kong, Korea and China stocks with AI goes further.
If you are building your own agent, the Tools API gives you the same tools over HTTP. Each call is a POST to https://api.distilla.ai/tools/{tool_name}, with your API key as a Bearer token and the same JSON body the MCP tool takes. Create the key on the Tools API docs page.
This call looks up NVIDIA and Apple and returns their IDs, names and tickers:
curl -s -X POST https://api.distilla.ai/tools/query_entity \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: application/json" \ -d '{"entity":"company","select":["id","name","symbol"],"filters":[{"field":"symbol","op":"IN","value":["NVDA","AAPL"]}],"limit":5}' Enter fullscreen mode Exit fullscreen mode The same body, laid out so it is easier to read and edit:
{ "entity": "company", "select": [ "id", "name", "symbol" ], "filters": [ { "field": "symbol", "op": "IN", "value": [ "NVDA", "AAPL" ] } ], "limit": 5 } Enter fullscreen mode Exit fullscreen mode A few details from the docs:
To build other calls, change the entity, fields and filters. Or run a question in Claude, open the tool call, and copy the JSON it sent.
A connected model makes far fewer things up. It can still misread a figure or pull the wrong period.
Brokers now offer MCP servers too, and it is tempting to let one agent research and trade. Keep them apart. Research tools stay read-only, and any brokerage connector sits behind your approval for every order. Then a research mistake produces a bad answer you can catch, not a bad order. Our guide to MCP for AI trading agents covers the guardrails in detail.
It is a connector that gives an AI assistant like Claude tools for looking up financial data during a conversation. The assistant decides when to call it, sends a request, and answers from what comes back. MCP (Model Context Protocol) is the open standard that makes this work across Claude, ChatGPT, Claude Code and Cursor.
Add an MCP server in Claude's connector settings. For Distilla, open agents.distilla.ai, click Add to Claude, install the plugin and connect it with any email. In Claude Code, run one command. In Cursor, paste a short JSON block into your MCP settings. Free sources such as FRED and SEC EDGAR run as community servers on your own machine.
Yes. MCP is an open standard, so the same server can be connected to ChatGPT. For Distilla, use the Add to ChatGPT button on agents.distilla.ai. Check each community server's README for ChatGPT support.
No. Anthropic's documentation says custom connectors are available on Free, Pro, Max, Team and Enterprise plans. Free accounts are limited to one custom connector. On Team and Enterprise plans, an owner adds connectors for the organization.
It depends on the question. In our 200-question test, Claude averaged 6.6 Distilla calls a question: about 4 on simple questions and about 9 on screens, rankings and history questions. The heaviest question used 36. The free plan's 100 calls a month covers roughly 15 average questions.
No. The data servers in this guide are read-only. Distilla holds no funds, places no orders and does not connect to brokerage accounts. If you add a brokerage connector, keep it separate and approve every order yourself.
The most-followed listed companies in the US, Japan, Hong Kong, Korea and China A-shares. Sell-side research and podcast summaries reach beyond that core list. Distilla has no intraday data or options, so pair it with a market-data source if you need live prices.
Yes. The Tools API takes the same tool names and JSON arguments over HTTP with an API key, so a script or your own agent can call it directly. Distilla Lite is a browser app that needs no assistant at all.
Distilla has a free plan with 100 tool calls a month, and no card is needed. This guide describes research tools. It is not investment advice.