Point-in-time financial data, and a backtester that deflates your Sharpe by how often you asked.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Free financial data exists and is scattered across twenty APIs with twenty shapes. Everyone rebuilds the same glue, badly, and quietly ends up backtesting on restated figures and survivor biased universes.
Vintage is that glue, written once, served over MCP. It hosts no data. It connects, normalizes, and serves structured financial data from the web.
A research terminal that costs $0 and won't lie to you about your Sharpe.
rezasoleymanifar.github.io/vintage
Two of four scenes β see the full reel on the site.
Claude Code
Claude Desktop / any MCP client β add to your config file:
Claude Desktop config lives at %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS). Restart the app afterwards. MCP servers load once at startup.
Needs uv. If you'd rather use pip: pip install vintage-mcp and set the command to vintage.
Everything works with zero configuration. These make it work better:
| Variable | Why |
|---|---|
VINTAGE_USER_AGENT | SEC EDGAR asks for a real contact. "Your Name your@email.com". |
FRED_API_KEY | Free key β unlocks 800k macro series with first-release vintages. |
VINTAGE_CACHE_DIR | Defaults to ~/.cache/vintage. |
Set them under "env" in the same config block:
Your key stays in this file. It is read by the server process and is never passed through the model or written into the conversation.
The same data, without the server. Everything is synchronous and returns pandas, including inside Jupyter where a loop is already running.
known_at is kept as a column on every frame rather than dropped for tidiness β
losing it is how a point-in-time dataset quietly becomes an ordinary one. Pass
as_of and rows published after that date are gone before you see them.
Once installed, ask your assistant:
"What was Apple's total assets as of January 2020 β and has it been restated since?"
"Backtest 12-1 momentum on the Dow 30 since 2010."
"Now try short-term reversal instead. Did the alpha survive?"
The third question is the one that matters. Every answer carries the worst held-out path next to the headline Sharpe.
Every value carries both:
observed_at β what period the number describesknown_at β when it first became publicA backtest may only use rows whose known_at precedes the trade date. That is structural, not a setting: the panel is indexed on known_at, so any slice of it is automatically point-in-time. There is no flag to turn it off.
Sources that cannot supply an honest known_at are flagged UNKNOWN_VINTAGE rather than given a fabricated date.
All six say the same thing: the data you have today is not what people saw back then.
Source is a parameter, never a separate tool. Twenty more sources adds zero tools.
| Verb | Does |
|---|---|
resolve | Any identifier β the entity key everything else accepts |
discover | Plain-English search across every source's catalog |
fetch | The workhorse. Any field, any source, with as_of |
events | Filing timeline with exact public timestamps |
backtest | Cross-sectional signal β returns, costs, held-out paths |
benchmark | Your returns β correlation and alpha vs published factors |
Plus status for cache size, keys, and how many specs you have tried.
Vintage implements the backtest-validation literature rather than inventing its own statistics. Execution realism is a different problem, already solved by LEAN and Nautilus Trader β Vintage runs before that, at the stage where most ideas should die.
| Technique | Source | Status |
|---|---|---|
Point-in-time panel indexed on known_at | structural, no flag to disable | β shipped |
| Costs charged on turnover, always | no zero-cost mode exists | β shipped |
| Deflated Sharpe Ratio | Bailey & LΓ³pez de Prado (2014) | β shipped |
| Session trial ledger feeding the deflation | Bailey & LΓ³pez de Prado (2014) | β shipped |
| Probability of Backtest Overfitting, via CSCV | Bailey, Borwein, LΓ³pez de Prado & Zhu (2017) | β³ planned |
| Purged k-fold CV with embargo | Advances in Financial Machine Learning, ch. 7 | β³ planned |
| Combinatorial purged cross-validation | Advances in Financial Machine Learning, ch. 12 | β³ planned |
| Minimum Backtest Length | Bailey, Borwein, LΓ³pez de Prado & Zhu (2014) | β³ planned |
| NeweyβWest adjustment for autocorrelated returns | Newey & West (1987) | β³ planned |
| Square-root market impact | Almgren et al. (2005) | β³ planned |
Citations are references, not endorsements β none of these authors is affiliated with Vintage. Anything marked planned is not in the code yet, and the backtest response says so at runtime rather than in the footnotes.
| 100 years, July 1926 to this morning | 331 published anomalies, with claims | 18 sources, six verbs | 10,398 ticker-mapped US filers | 800k+ macro series with vintages |
A century of market history, twenty-two sources, and twenty of them need no key at all. The Fama-French factors start in July 1926 and the SEC filing stream runs to this morning β Vintage covers both ends from the same six verbs.
Most of these are the primary source β not a reseller, not a scraper. The filings come from the regulator that receives them, the macro series from the central bank that publishes them, and the factors from the university that computes them.
@remove all emojis and just print list of soruceswith icons for them.
| Source | Standing | Covers | Key | Point-in-time |
|---|---|---|---|---|
| SEC EDGAR XBRL | Primary Β· US regulator | Every concept every US filer has tagged, with accession number and filing date on each figure. Restatements arrive as rows, never as an overwrite. | none | β native filing dates |
| SEC filings stream | Primary Β· US regulator | 8-K, 10-K, 10-Q, Form 4, 13D/G β timestamped to the second EDGAR accepted them. | none | β exact timestamps |
| FRED / ALFRED | Primary Β· central bank | Federal Reserve Bank of St. Louis. ALFRED keeps first releases, so you can ask what CPI looked like that morning. | free | β first-release vintages |
| Ken French Data Library | Primary Β· academic | Dartmouth. FF3, FF5, momentum, daily FF3, 49 industry portfolios β from where the authors publish them. | none | β rebuilt each release |
| Open Source Asset Pricing | Primary Β· academic | Chen & Zimmermann. 331 published predictors with claimed return, t-stat, sample window and an implementable definition. openap:Mom12m returns Jegadeesh-Titman's 1.31%/mo, t=3.74. | none | β claims dated to publication year |
| SEC Form 13F | Primary Β· US regulator | Institutional equity holdings for every manager over $100m. Quarter end and filing date are up to 45 days apart and both are kept, so as_of returns the book that was actually public. | none | β quarter end vs filing date |
| SEC Form 25 | Primary Β· US regulator | Every delisting on record β 36,830 filings across 11,614 companies. The correction for a universe built from names that still exist. | none | β filing dates, never revised |
| SEC XBRL frames | Primary Β· US regulator | One concept across every filer in a single call. 6,289 companies in 840 KB β the shape a cross-sectional sort needs. | none | β carries the accession, not its date |
| US Treasury | Primary Β· US government | The par yield curve, 14 tenors from one month to thirty years, published each business day. | none | β never revised |
| CFTC | Primary Β· US regulator | Commitments of Traders. Tuesday's positioning by trader class, released the following Friday, and the lag is preserved. | none | β
lag preserved in known_at |
| Bureau of Labor Statistics | Primary Β· US agency | CPI down to item strata, payrolls, JOLTS, wages, productivity. Any series id, not a curated shortlist. | optional | β ships no release date |
| Bureau of Economic Analysis | Primary Β· US agency | The national accounts. One call returns every line of a NIPA table rather than one series at a time. | free | β current estimate only |
| European Central Bank | Primary Β· central bank | Daily FX reference rates since 1999, plus any cross derived from two euro legs and labelled as derived. | none | β published once, never revised |
| CBOE | Primary Β· exchange | VIX and the whole volatility family β term structure, VVIX, SKEW β back to 1990. | none | β index levels are not revised |
| FINRA | Primary Β· US regulator | Daily short sale volume per symbol, published after each close and never revised. Short volume, not short interest. | none | β never revised |
| Coinbase Exchange | Exchange | Crypto OHLCV, every listed pair. | none | β trade prints are never restated |
| ApeWisdom | Community | Forum mention ranks across ~15 subreddits. No history upstream β rows are stamped when Vintage fetched them. | none | β© forward only, from the day you record |
| Yahoo Finance | Third party | Daily OHLCV and adjusted close, decades deep. | none | β οΈ adjusted retroactively, flagged on every row |
COVERAGE.md is the full field-by-field catalogue β every prefix, every dataset, every signal, with measured coverage spans. It is generated from the registry, so it cannot drift from the code.
Counts current as of August 2026. Vintage redistributes none of this β each upstream source keeps its own terms.
Gzipped JSON in ~/.cache/vintage, tiered by how mutable the data is: closed periods never refetch, academic datasets monthly, current fundamentals daily, prices per session. An hour of conversation is roughly 20 upstream calls.
Stated plainly, because the alternative is shipping a bad substitute:
Data:
Engine β the backtester is vectorized and cross-sectional, which is a rung below an event-driven simulator:
reset_trials=True zeroes it mid-conversation. Deliberate: the correction only applies to repeated attempts at one question, and the engine cannot tell those from unrelated ones.smoke_test.py exercises all six verbs against the live sources β useful before a release, and it needs network.
MIT. Vintage redistributes no data; each upstream source keeps its own terms.
mcp-name: io.github.RezaSoleymanifar/vintage
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/vintage)<a href="https://allmcps.com/mcp/vintage"><img src="https://allmcps.com/api/badge/vintage?style=directory" alt="Vintage on AllMCPs" /></a>