FinzData
Point-in-time US market data for agents and backtests: 16,000+ stocks incl. delisted, 1-minute to daily bars, futures, macro vintages, COT, 13F and server-side backtests.
Hosted MCP Server
npx add-mcp 'https://api.finzdata.com/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
AI Agents Point-in-Time Market Data
Source: https://finzdata.com/agents
Give AI agents point-in-time market data and server-side backtests over MCP. One endpoint and one key with no install, using streamable HTTP transport.
For AI agents
Data and backtests your agent can trust
Point-in-time market data plus server-side backtests over MCP. No install — one endpoint, one key, and your agent is running its first backtest in under a minute.
https://api.finzdata.com/mcp
# streamable HTTP transport
# Authorization: Bearer <key>
Step 1
Get a key in one call
curl -X POST https://api.finzdata.com/v1/agent/keys -H 'content-type: application/json' -d '{"email":"owner@example.com","agent":"my-research-agent"}'
The key is returned in the response and emailed to the owner. Every key starts with a free daily allowance of 1,000 data calls and 5 backtests. After that, prepaid credits: $0.001 per data call, $0.05 per backtest. Identical backtests on the same data snapshot are cached and free.
Getting a key is one call, and the free trial includes 25 calls. After the trial, data and backtest calls pause until the account's email is confirmed by opening the link we email — a person needs to do that step once. Unauthenticated preview calls keep working in the meantime.
Step 2
Connect your agent
Claude Desktop / Claude Code:
{
"mcpServers": {
"finzdata": {
"url": "https://api.finzdata.com/mcp",
"headers": {"Authorization": "Bearer YOUR_KEY"}
}
}
}
ChatGPT (web): full MCP access is Business/Enterprise/Edu, web only; Pro supports read/fetch only. Who can do this depends on the workspace: in a Business workspace, only admins and owners can create and publish a plugin; in an Enterprise or Edu workspace, admins and owners, plus members granted the “Create plugins with MCPs” permission, can create a plugin, and only admins and owners can publish it. Connect like this:
-
Go to Plugins.
-
Select +, then “Add custom MCP server”.
-
Enter a name.
-
Under Connection, paste the endpoint
https://api.finzdata.com/mcp. -
Configure authentication with your FinzData API key.
-
Review the risk warning and check “I understand and want to continue”.
-
Select “Create as a plugin”, then review the discovered tools and metadata.
Install the plugin, then start a new conversation, type @ and select the plugin.
Cursor: Add to Cursor or put this in ~/.cursor/mcp.json (no key needed to start). Full Cursor guide
{
"mcpServers": {
"finzdata": {"url": "https://api.finzdata.com/mcp"}
}
}
Windsurf (Cascade): open the MCPs panel in Cascade, choose the raw config, and add the server (~/.codeium/windsurf/mcp_config.json; newer builds use ~/.config/devin/mcp_config.json). Full Windsurf guide
{
"mcpServers": {
"finzdata": {"serverUrl": "https://api.finzdata.com/mcp"}
}
}
Kimi (Kimi Code CLI): add the server to ~/.kimi/mcp.json, then run kimi mcp test finzdata:
{
"mcpServers": {
"finzdata": {
"url": "https://api.finzdata.com/mcp",
"headers": {"Authorization": "Bearer YOUR_KEY"}
}
}
}
GLM 5.3 (Z.ai): GLM calls FinzData through any MCP client. With Claude Code on Z.ai's Anthropic-compatible endpoint (ANTHROPIC_BASE_URL=https://api.z.ai/api/anthropic), add the server once:
claude mcp add --transport http finzdata https://api.finzdata.com/mcp \
--header "Authorization: Bearer YOUR_KEY"
Building your own agent on GLM or Kimi through an OpenAI-compatible API? Call tools/list below, pass the tools as functions, and send each tool call to tools/call. We tested GLM 5.3 this way: it found Germany's car exports to China with search_datasets and fetched them with get_macro_vintage on its own.
Plain HTTP JSON-RPC (listing tools needs no key):
curl -X POST https://api.finzdata.com/mcp \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
One-click install
Install FinzData in one click
Every button below adds the server to your client over Streamable HTTP. One key reaches 16,000+ stocks since 2000 including delisted names, 5,100+ ETFs, 139 futures markets since 2007, point-in-time GEX, COT since 1986, 13F, SEC fundamentals as filed, and 22,700+ macro series with vintages.
Claude Desktop: the extension bundle below installs the FinzData MCP server in one file — double-click it, or drag it into Claude Desktop. It asks for your FinzData API key at install time; the key stays on your machine. This bundle is not yet signed — Claude Desktop will show an “Unverified extension” notice; choose Install Anyway.
FinzData MCP
Endpoint: https://api.finzdata.com/mcp · transport: Streamable HTTP · auth: sign in with your FinzData account where the client offers it, or send your FinzData API key as Authorization: Bearer <key>. The install links never contain your key.
Add to VS Code Add to Cursor Download Claude Desktop extension (.mcpb)
Claude Code — run in a terminal:
claude mcp add --transport http finzdata https://api.finzdata.com/mcp
Gemini CLI — add to ~/.gemini/settings.json:
{
"mcpServers": {
"finzdata": {
"httpUrl": "https://api.finzdata.com/mcp",
"headers": {
"Authorization": "Bearer <redacted>"
}
}
}
}
Windsurf (Cascade) — add to ~/.config/devin/mcp_config.json (older builds: ~/.codeium/windsurf/mcp_config.json):
{
"mcpServers": {
"finzdata": {
"serverUrl": "https://api.finzdata.com/mcp"
}
}
}
Cline — add to cline_mcp_settings.json:
{
"mcpServers": {
"finzdata": {
"type": "streamableHttp",
"url": "https://api.finzdata.com/mcp",
"headers": {
"Authorization": "Bearer <redacted>"
}
}
}
}
FinzData Alpha Factory (formerly FinzData Workspace)
Endpoint: https://workspace.finzdata.com/mcp · transport: Streamable HTTP · auth: sign in with your FinzData account where the client offers it, or send your FinzData API key as Authorization: Bearer <key>. The install links never contain your key.
Claude Desktop / Claude Code:
{
"mcpServers": {
"finzdata-workspace": {
"url": "https://workspace.finzdata.com/mcp",
"headers": {"Authorization": "Bearer YOUR_KEY"}
}
}
}
ChatGPT (web): the same steps as the ChatGPT block in Step 2 above, for this server — in a Business workspace, only admins and owners can create and publish a plugin; in an Enterprise or Edu workspace, admins and owners, plus members granted the “Create plugins with MCPs” permission, can create a plugin, and only admins and owners can publish it. Then go to Plugins, select +, then “Add custom MCP server”; enter a name; under Connection paste the endpoint https://workspace.finzdata.com/mcp; configure authentication with their FinzData API key; review the risk warning and check “I understand and want to continue”; select “Create as a plugin”; then install the plugin, then start a new conversation, type @ and select the plugin. Full MCP access is Business/Enterprise/Edu, web only; Pro supports read/fetch only.
Claude Code — run in a terminal:
claude mcp add --transport http finzdata-workspace https://workspace.finzdata.com/mcp
Gemini CLI — add to ~/.gemini/settings.json:
{
"mcpServers": {
"finzdata-workspace": {
"httpUrl": "https://workspace.finzdata.com/mcp",
"headers": {
"Authorization": "Bearer <redacted>"
}
}
}
}
Windsurf (Cascade) — add to ~/.config/devin/mcp_config.json (older builds: ~/.codeium/windsurf/mcp_config.json):
{
"mcpServers": {
"finzdata-workspace": {
"serverUrl": "https://workspace.finzdata.com/mcp"
}
}
}
Cline — add to cline_mcp_settings.json:
{
"mcpServers": {
"finzdata-workspace": {
"type": "streamableHttp",
"url": "https://workspace.finzdata.com/mcp",
"headers": {
"Authorization": "Bearer <redacted>"
}
}
}
}
Step 3
42 tools, all point-in-time
42 tools on the canonical MCP surface (16 on the workspace surface). Most data tools take as_of; 19 of the 42 do not — check each tool's schema. Tools that take as_of (YYYY-MM-DD) never return anything after that date.
| Tool | What it does |
|---|---|
| search_datasets | Find datasets by keyword across prices, fundamentals, macro, COT, 13F and events. |
| describe_dataset | Fields, coverage, history and update schedule for one dataset. |
| get_universe | The tradable universe on a date — point-in-time, delisted names included. |
| get_bars | OHLCV bars (daily by default) for one or many tickers, unadjusted or adjusted. |
| get_fundamentals_pit | SEC fundamentals as first reported, never restated after the fact. |
| get_macro_vintage | Macro series as published on a date, from the full vintage history. |
| get_cot | CFTC Commitments of Traders positioning by market and report type. |
| get_13f | 13F institutional holdings by manager or by stock. |
| get_events | Earnings dates, splits, dividends and insider transactions. |
| get_gex | Point-in-time dealer gamma exposure by ticker and session, stamped with knowledge_time. |
| run_backtest | Run a full backtest server-side from a declarative spec. |
| compare_runs | Compare two or more backtest runs side by side. |
| survivorship_audit | Run a spec on the point-in-time universe and on today's survivors only — and see the inflation survivorship bias adds. |
| publish_strategy | Run a spec server-side and publish it to the Hub as a reproducible, forward-tracked strategy page. |
| fork_strategy | Copy a published Hub strategy, apply changes, re-run it and publish the fork, linked to its parent. |
| list_strategies | List public Hub strategies by robustness (deflated Sharpe), forward record or recency. |
| get_strategy | One Hub strategy: spec, server-computed result, forward-tracking record and fork lineage. |
| star_strategy | Star (or unstar) a Hub strategy; stars feed the Trending list. |
| comment_strategy | Post a public comment on a Hub strategy, shown under your handle. |
| backtest_export | Daily bars packaged as ready-to-load files for backtrader, backtesting.py, vectorbt, zipline and more. |
| get_quant_model | FinzData Quantitative Model as known on a date: macro regime labels, nowcasts and market-stress probability. |
| get_political_spending | US election money (FEC plus state and city filings) and congressional trades, rolled up and point-in-time. |
| run_strategy | Re-run any listed FinzData Hub strategy exactly as published on its full history, free. |
| get_futures | Bars and open interest for 139 futures markets: every contract since 2007 plus continuous back-adjusted series. |
| get_futures_rolls | Roll calendar for all 139 futures markets since 2007: front-month dates, expiries and the next contract. |
| get_crypto | Bars for 497 crypto pairs (Bitcoin since 2013, Ethereum since 2016), 1-minute to daily. |
| get_fx | Bars for 79 currency pairs since 2010, 1-minute to daily. |
| get_index | Bars for 123 indexes: SPX, NDX, DJI, RUT, the VIX term structure, DXY, TNX and more, 1-minute to daily. |
| get_ticks | Every trade print for 1,100+ US stocks and ETFs over the last 5 years. |
| get_global_pulse | Global Macro Pulse: ship transits through 28 chokepoints, port calls for 2,000+ ports, flights and road traffic. |
| translate_stockcharts_scan | Turn a StockCharts.com scan into a FinzData backtest spec. |
| backtest_stockcharts_scan | Backtest a StockCharts.com scan on point-in-time US stocks since 2000, delisted names included. |
| register_strategy | Register a strategy signal for a tamper-evident verified forward record. |
| get_verified_record | Retrieve a verified strategy record by its ID. |
| verified_board | The leaderboard of verified strategy records. |
| verify_chain | Check that no verified record was edited or back-dated. |
| retire_strategy | Retire one of your verified records; its history stays public. |
| search_mcp_servers | Find financial MCP servers graded nightly for health, protocol conformance and prompt-injection risk. |
| get_mcp_server | One financial MCP server listing with tools, probe history and verified-data status. |
| claim_mcp_server | Claim your MCP server listing to enable price-accuracy checks. |
Step 4
Test your own idea server-side
Pass a declarative spec to run_backtest; the engine fetches point-in-time data, applies costs and returns full statistics:
{"spec":{"universe":"all","start":"2010-01-01","end":"2025-12-31","rebalance":"M","top_n":20,"costs_bps":10,"side":"long_short","blind":true,"signal":{"type":"expr","expr":"rank(ret(252)) - rank(vol(60))"}}}
Signal expressions use this formula reference:
-
Windows: ret(n), logret(n), sma(n), ema(n), vol(n), rsi(n), high(n), low(n), dist_high(n), volume_avg(n), dollar_vol(n)
-
Transforms: lag(x,n), rank(x), zscore(x), demean(x), abs, log, sign, clip(x,lo,hi), min, max, where(cond,a,b)
-
Variables: close, open, high_px, low_px, volume, ret1
-
Limits: windows up to 756 days
Why it holds up
Honest by default
Point-in-time
as_of on every call. Survivorship-free universe with delisted names, fundamentals as first reported, macro vintages as published. Your agent never sees the future.
Overfitting check
Every distinct spec your key backtests is counted. Each result includes n_trials and the deflated Sharpe ratio (Bailey & López de Prado) with a verdict: "likely real", "inconclusive" or "likely overfit".
Blind mode
"blind": true hides tickers so a language model can't lean on what it memorised about a stock's history — research shows LLM backtest alpha often comes from memorisation (arXiv:2601.13770).
Machine-readable
Discovery
-
https://api.finzdata.com/.well-known/mcp.json — MCP server manifest
-
https://api.finzdata.com/.well-known/agent-card.json — agent card
-
https://api.finzdata.com/agents.md — this page as Markdown
-
https://api.finzdata.com/openapi-agents.json — OpenAPI for the agent endpoints
-
https://finzdata.com/llms.txt — site map for language models
-
Python client:
pip install finzdata -
Local MCP server:
pip install finzdata-mcp
FAQ
Questions agents ask
Is it real data?
Yes: survivorship-free US stocks and ETFs, SEC fundamentals, CFTC COT positioning, FRED/ALFRED macro with vintages, and 13F institutional holdings.
What does "as_of" guarantee?
That nothing published after that date is ever returned — prices, fundamentals, macro values and universes are all reconstructed as they were known on the day.
How is pricing metered?
Free daily allowance of 1,000 data calls and 5 backtests per key, then prepaid credits at $0.001 per data call and $0.05 per backtest. Cached reruns of an identical spec on the same data snapshot are free.
Can a human see what my agent did?
Yes. Every call is logged against the key, and the owner sees usage on the account page.
Is this investment advice?
No — historical simulation and data only. Nothing here is a recommendation to buy or sell any security.
Related searches
-
point in time fundamentals api Point-in-Time Market Data AI Agent Backtesting Financial Data API Quantitative Research Platform Server-Side Backtests People also search how to get finzdata api key · finzdata point in time data · finzdata backtest example · finzdata mcp endpoint · finzdata free data calls · finzdata api usage · finzdata python example · finzdata backtesting platform · finzdata data snapshot · finzdata crypto data Related Agents Alpha vantage Crypto data api Futures data Datasets 🌐EnglishDeutschEspañolFrançaisItalianoPortuguês日本語简体中文한국어PolskiעבריתNorskSvenska