
Vintage
io.github.RezaSoleymanifar由 GitHub 账号 RezaSoleymanifar 发布v0.9.0更新于 Oct 24, 2026
Free financial data from eleven sources behind six verbs, point-in-time where the source allows.
概览
从免费公开来源提供规范化、时点化的金融数据,并带有获取、解析、发现、回测和基准比较工具。
- 可以做什么
- Vintage 连接免费公开金融来源,并通过六个动词暴露:resolve、discover、fetch、events、backtest 和 benchmark,外加一个 status 工具。来源是参数而非独立工具,因此可用 as_of 日期获取任意来源的任意字段。每个值都带有 observed_at 和 known_at,面板以 known_at 为索引,因此切片天然是时点化的。回测器按换手收取成本并报告通缩夏普比率。
- 适用场景
- 适用于时点化金融研究:获取价格、基本面、宏观序列、申报文件、因子和已发表异象,以及用成本和留出路径回测横截面信号。适合希望无需自建胶水代码即可使用免费一手来源数据的用户。
- 运行要求
- 通过 stdio 在本地运行,使用 uvx vintage-mcp 或 pip install vintage-mcp 安装。需要 uv 或 Python 以及网络访问。零配置即可工作;可选设置为 FRED_API_KEY(宏观 vintage)、VINTAGE_USER_AGENT(SEC EDGAR 联系方式)和 VINTAGE_CACHE_DIR(缓存位置)。
安装
在 SourceWeft 中
- 打开 控制台中的 Vintage,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[Vintage — point-in-time research terminal]
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.
[PyPI] [CI] [License] [Python]
rezasoleymanifar.github.io/vintage
What people use it for
Two of four scenes — see the full reel on the site.
Install
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.
Optional configuration
Everything works with zero configuration. These make it work better:
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.
Use it as a library
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.
Try it
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.
The two dates
Every value carries both:
observed_at— what period the number describesknown_at— when it first became public
A 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.
Six ways yesterday's data quietly changed
- Lag — the number is true in December, published in February.
- Restatement — the company says "oops, wrong" and changes last year's figure.
- Revision — the government keeps fixing old jobs and inflation numbers, for years.
- Survivorship — dead companies get deleted; only the winners are still listed.
- Membership — today's S&P 500 list is not the list from 2005.
- Price adjustment — splits and dividends silently rewrite every price before them.
All six say the same thing: the data you have today is not what people saw back then.
Six verbs
Source is a parameter, never a separate tool. Twenty more sources adds zero tools.
Plus status for cache size, keys, and how many specs you have tried.
Backtesting methodology
- Deflated Sharpe (Bailey & López de Prado, 2014) accounting for every spec tried this session
- Costs always charged on turnover. There is no zero-cost mode
- A standing survivorship warning, because the universe is a list of names that exist today
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.
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.
Where the data comes from
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.
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.
Cache
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.
Known gaps
Stated plainly, because the alternative is shipping a bad substitute:
Data:
- Survivorship — universes are current-listing only. Form 25 delistings are the next build and the backtester warns until then.
- Analyst estimates — no free source exists.
- Historical options chains — paid everywhere.
- Point-in-time index membership — licensed by S&P and MSCI.
Engine — the backtester is vectorized and cross-sectional, which is a rung below an event-driven simulator:
- No purging or embargo — overlapping label windows can leak across a train/test split (López de Prado, AFML ch. 7). Deflation catches selection bias, not leakage.
- No market impact — costs are a flat charge on turnover, so large-notional results are optimistic.
- No PBO — deflated Sharpe covers multiple testing; the Probability of Backtest Overfitting via combinatorially symmetric cross-validation would be the stronger test.
- Trial count is session-scoped and resettable —
reset_trials=Truezeroes it mid-conversation. Deliberate: the correction only applies to repeated attempts at one question, and the engine cannot tell those from unrelated ones. - Sharpe is per observation, not annualized — that is the frequency the deflation is defined at, and the response says so.
Development
smoke_test.py exercises all six verbs against the live sources — useful before a release, and it needs network.
License
MIT. Vintage redistributes no data; each upstream source keeps its own terms.
mcp-name: io.github.RezaSoleymanifar/vintage
来源:README.md,提交 e85c98c
工具
0版本历史
1- v0.9.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
