finzdata-mcp

US market data, point-in-time fundamentals, macro vintages, COT, 13F and backtests for AI agents.

Should I use this

Quality & Safety

A
Description quality
98%
Schema completeness
84%
Naming quality
92%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (1)

  • LOWTool 'get_fundamentals_pit' description lacks action verbin get_fundamentals_pit

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~3,280Tokens (tool definitions)
~683 BTypical response size
Significant attention impact (2.56% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "finzdata-mcp": {
      "command": "uvx",
      "args": [
        "finzdata-mcp"
      ]
    }
  }
}

Runnable packages

pypifinzdata-mcp0.1.0stdio

Remote endpoints

https://api.finzdata.com/mcpstreamable-http

What it can do

Tool inventory

Tools (23)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢search_datasets(query)

Full-text search over the dataset catalog. Returns matching dataset ids and descriptions. Free of look-ahead concerns; no as_of needed.

Input Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Search text."
    }
  },
  "required": [
    "query"
  ]
}
🟢describe_dataset(dataset)

Returns the schema, coverage and field definitions of one dataset. Raises not_found for an unknown dataset id.

Input Schema

{
  "type": "object",
  "properties": {
    "dataset": {
      "type": "string",
      "description": "Dataset id."
    }
  },
  "required": [
    "dataset"
  ]
}
🟢get_universe(as_of, index, offset, prefix)

Returns every US symbol that was trading on as_of, including companies that later delisted (survivorship-free). index='top500'|'top1000'|'top3000' instead returns the most-traded names priced at least $5 that day, ranked by 63-day dollar volume (a point-in-time large-cap proxy, not official S&P or Russell membership). Pages of 500; pass offset. as_of defaults to today.

Input Schema

{
  "type": "object",
  "properties": {
    "as_of": {
      "type": "string",
      "description": "Point-in-time cutoff (YYYY-MM-DD). Nothing dated after this is returned, preventing look-ahead bias. Defaults to today (UTC)."
    },
    "index": {
      "type": "string",
      "enum": [
        "top500",
        "top1000",
        "top3000"
      ],
      "description": "Optional liquidity-ranked subset."
    },
    "offset": {
      "type": "integer",
      "description": "Paging offset (default 0)."
    },
    "prefix": {
      "type": "string",
      "description": "Only symbols starting with this."
    }
  },
  "required": []
}
🟢get_bars(symbols, start, end, bar, as_of)

Returns daily OHLCV bars for symbols between start and end, clipped to as_of (default today) so no future data leaks. Max 5000 rows per page; use next_cursor for more.

Input Schema

{
  "type": "object",
  "properties": {
    "symbols": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "start": {
      "type": "string"
    },
    "end": {
      "type": "string"
    },
    "bar": {
      "type": "string",
      "description": "Bar size, default '1d'."
    },
    "as_of": {
      "type": "string",
      "description": "Point-in-time cutoff (YYYY-MM-DD). Nothing dated after this is returned, preventing look-ahead bias. Defaults to today (UTC)."
    }
  },
  "required": [
    "symbols",
    "start"
  ]
}
🟢get_fundamentals_pit(symbol, as_of)

Returns fundamentals for one symbol as known on as_of (no restatements from the future). as_of defaults to today.

Input Schema

{
  "type": "object",
  "properties": {
    "symbol": {
      "type": "string"
    },
    "as_of": {
      "type": "string",
      "description": "Point-in-time cutoff (YYYY-MM-DD). Nothing dated after this is returned, preventing look-ahead bias. Defaults to today (UTC)."
    }
  },
  "required": [
    "symbol"
  ]
}
🟢get_macro_vintage(series, start, as_of)

Returns a macro series as it was actually published by as_of (vintage data, no revisions from the future). Optional start.

Input Schema

{
  "type": "object",
  "properties": {
    "series": {
      "type": "string"
    },
    "start": {
      "type": "string",
      "description": "Optional start date."
    },
    "as_of": {
      "type": "string",
      "description": "Point-in-time cutoff (YYYY-MM-DD). Nothing dated after this is returned, preventing look-ahead bias. Defaults to today (UTC)."
    }
  },
  "required": [
    "series"
  ]
}
🟢get_cot(market, start, end, as_of)

Returns CFTC Commitments of Traders rows for a market between start and end, clipped to as_of. Max 5000 rows per page.

Input Schema

{
  "type": "object",
  "properties": {
    "market": {
      "type": "string"
    },
    "start": {
      "type": "string"
    },
    "end": {
      "type": "string"
    },
    "as_of": {
      "type": "string",
      "description": "Point-in-time cutoff (YYYY-MM-DD). Nothing dated after this is returned, preventing look-ahead bias. Defaults to today (UTC)."
    }
  },
  "required": [
    "market",
    "start"
  ]
}
🟢get_13f(query, as_of)

Returns 13F holdings matching a query as known on as_of (default today); filings after as_of are hidden.

Input Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string"
    },
    "as_of": {
      "type": "string",
      "description": "Point-in-time cutoff (YYYY-MM-DD). Nothing dated after this is returned, preventing look-ahead bias. Defaults to today (UTC)."
    }
  },
  "required": [
    "query"
  ]
}
🟢get_events(kind, start, end, as_of)

Returns corporate/market events of a kind between start and end, clipped to as_of. Max 5000 rows per page.

Input Schema

{
  "type": "object",
  "properties": {
    "kind": {
      "type": "string"
    },
    "start": {
      "type": "string"
    },
    "end": {
      "type": "string"
    },
    "as_of": {
      "type": "string",
      "description": "Point-in-time cutoff (YYYY-MM-DD). Nothing dated after this is returned, preventing look-ahead bias. Defaults to today (UTC)."
    }
  },
  "required": [
    "kind",
    "start"
  ]
}
🟢run_backtest(spec, as_of)

Runs a deterministic backtest from a JSON spec (universe, start, end, signal, rebalance, top_n, costs_bps, side='long'|'long_short', blind=true to hide tickers). universe: a list of symbols, or 'top500'|'top1000'|'top3000'|'all' for the liquid US market (each month the N most-traded names priced >= min_price, default $5, by 63-day dollar volume; 'all' = liquid_top names, default 1000, max 3000; delisted names included while they traded; membership is set on each month's last trading day and used from the next). rebalance: D|W|M|Q (or daily/weekly/monthly/quarterly). signal.type: momentum (lookback, skip days), ma_cross, factor, or expr with signal.expr a formula over close prices, e.g. 'rank(ret(252)) - rank(vol(60))' (functions: ret, logret, sma, ema, vol, rsi, high, low, dist_high, lag, rank, zscore, demean, abs, log, sign, clip, min, max, where). Point-in-time fundamentals for US stocks (from 2011) work as expr variables and as signal.type factor fields (set ascending false to buy the highest): earnings_yield, book_to_market, sales_yield, ebitda_ev, dividend_yield, roe, leverage, log_mcap, e.g. 'rank(book_to_market) + rank(ret(252) - ret(21))'; such results carry a 'fundamentals' coverage and survivorship report. Every result includes 'overfitting': trials counted per API key and the deflated Sharpe ratio. Prices are fetched point-in-time with a 400-trading-day lookback buffer and clipped to as_of, so results have no look-ahead. Identical specs on the same snapshot are cached and free. Returns stats, benchmark stats, equity curve, warnings, snapshot id and a disclaimer.

Input Schema

{
  "type": "object",
  "properties": {
    "spec": {
      "type": "object",
      "description": "Backtest spec."
    },
    "as_of": {
      "type": "string",
      "description": "Point-in-time cutoff (YYYY-MM-DD). Nothing dated after this is returned, preventing look-ahead bias. Defaults to today (UTC)."
    }
  },
  "required": [
    "spec"
  ]
}
🟢compare_runs(run_ids)

Returns a table (run_id, cagr, sharpe, max_drawdown, turnover, final_equity) for previously run backtests in this session. Unknown run_id -> not_found.

Input Schema

{
  "type": "object",
  "properties": {
    "run_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "run_ids"
  ]
}
🟢publish_strategy(spec, title, description, visibility, as_of)

Runs a backtest spec (same format as run_backtest) on the server and publishes it to the FinzData Hub as a public, reproducible strategy page at data.finzdata.com/s/<slug>, forward-tracked daily from today. Only server-computed results are stored. Costs one backtest; free accounts may publish 3 a day. visibility='private' keeps it unlisted.

Input Schema

{
  "type": "object",
  "properties": {
    "spec": {
      "type": "object",
      "description": "Backtest spec (see run_backtest)."
    },
    "title": {
      "type": "string",
      "description": "1-120 characters."
    },
    "description": {
      "type": "string",
      "description": "Hypothesis: why it should work and what would falsify it."
    },
    "visibility": {
      "type": "string",
      "enum": [
        "public",
        "private"
      ]
    },
    "as_of": {
      "type": "string",
      "description": "Point-in-time cutoff (YYYY-MM-DD). Nothing dated after this is returned, preventing look-ahead bias. Defaults to today (UTC)."
    }
  },
  "required": [
    "spec",
    "title"
  ]
}
🟢fork_strategy(slug, changes, title, as_of)

Copies a published Hub strategy, applies `changes` (nested fields merged, e.g. {"signal": {"lookback": 126}}), re-runs it on the server and publishes the fork linked to its parent. Costs one backtest.

Input Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "changes": {
      "type": "object"
    },
    "title": {
      "type": "string"
    },
    "as_of": {
      "type": "string",
      "description": "Point-in-time cutoff (YYYY-MM-DD). Nothing dated after this is returned, preventing look-ahead bias. Defaults to today (UTC)."
    }
  },
  "required": [
    "slug",
    "changes"
  ]
}
🟢list_strategies(sort, family, limit)

Lists public FinzData Hub strategies. sort: robust (deflated Sharpe), forward (forward Sharpe, 63+ days of out-of-sample record), new, forks. Optional family (momentum, expr, ma_cross, factor).

Input Schema

{
  "type": "object",
  "properties": {
    "sort": {
      "type": "string",
      "enum": [
        "robust",
        "forward",
        "new",
        "forks"
      ]
    },
    "family": {
      "type": "string"
    },
    "limit": {
      "type": "integer"
    }
  },
  "required": []
}
🟢get_strategy(slug)

Returns one public Hub strategy: spec, server-computed backtest result, forward-tracking record and fork lineage.

Input Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    }
  },
  "required": [
    "slug"
  ]
}
🟢star_strategy(slug, unstar)

Stars (or with unstar=true removes your star from) a public Hub strategy. Stars feed the Trending list; rankings stay on deflated Sharpe and forward record.

Input Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "unstar": {
      "type": "boolean"
    }
  },
  "required": [
    "slug"
  ]
}
🟢comment_strategy(slug, body)

Posts a public comment (1-2000 characters) on a Hub strategy, e.g. a question, a result from a fork or a suggested change. Comments are shown under your handle.

Input Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "body": {
      "type": "string"
    }
  },
  "required": [
    "slug",
    "body"
  ]
}
🟢survivorship_audit(spec, as_of)

Runs your backtest spec twice: once on the point-in-time universe (delisted companies included while they traded, the honest result) and once on only the names still trading today (what a backtest on a current ticker list does). Returns both stats and the inflation in CAGR and Sharpe that survivorship bias adds. Use universe 'top500'|'top1000'|'top3000' or a symbol list. Costs one backtest.

Input Schema

{
  "type": "object",
  "properties": {
    "spec": {
      "type": "object",
      "description": "Backtest spec, same as run_backtest."
    },
    "as_of": {
      "type": "string",
      "description": "Point-in-time cutoff (YYYY-MM-DD). Nothing dated after this is returned, preventing look-ahead bias. Defaults to today (UTC)."
    }
  },
  "required": [
    "spec"
  ]
}
⚪register_strategy(agent_name, signal, universe, rebalance, side, ...)

Register a new strategy signal. The strategy is scored ONLY on data after registration, the record can never be edited or deleted, ranking starts at 63 trading sessions, and FinzData never trades on submitted signals.

Input Schema

{
  "type": "object",
  "properties": {
    "agent_name": {
      "type": "string"
    },
    "signal": {
      "type": "string"
    },
    "universe": {
      "type": "string",
      "enum": [
        "top500",
        "top1000",
        "top3000",
        "all"
      ]
    },
    "rebalance": {
      "type": "string",
      "enum": [
        "daily",
        "weekly",
        "monthly"
      ]
    },
    "side": {
      "type": "string",
      "enum": [
        "long",
        "long_short"
      ]
    },
    "top_frac": {
      "type": "number",
      "minimum": 0,
      "maximum": 0.5
    }
  },
  "required": [
    "agent_name",
    "signal",
    "universe",
    "rebalance",
    "side",
    "top_frac"
  ]
}
🟢get_verified_record(record_id)

Retrieve a verified strategy record by its ID.

Input Schema

{
  "type": "object",
  "properties": {
    "record_id": {
      "type": "string"
    }
  },
  "required": [
    "record_id"
  ]
}
🟢verified_board(limit)

Get the leaderboard of verified strategies.

Input Schema

{
  "type": "object",
  "properties": {
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200,
      "default": 50
    }
  },
  "required": []
}
🟢verify_chain

Anyone can check no record was edited or back-dated.

Input Schema

{
  "type": "object",
  "properties": {},
  "required": []
}
⚪retire_strategy(record_id)

Retire a verified strategy record.

Input Schema

{
  "type": "object",
  "properties": {
    "record_id": {
      "type": "string"
    }
  },
  "required": [
    "record_id"
  ]
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded23 tools