Cabrini Market Data

ai.cabrini由 cabrini.ai 发布官方发布者v1.1.0更新于 Oct 24, 2026

US equity data for AI agents — 23 years intraday + daily, SEC filings. x402 USDC payments.

已验证Streamable HTTP可网页运行金融数据与分析

概览

AI 生成的概览

让助手获取美股市场数据——盘中与日线行情、SEC 财务数据、申报文件和内部人交易——按次以 USDC 付费。

可以做什么
提供美股数据工具:按股票代码和日期获取盘中行情、区间日线 OHLCV 与 VWAP、重采样行情、批量与多日区间查询、全美股筛选、交易代码列表、SEC EDGAR 公司资料、季度财务数据、申报文件索引及可选的提取章节文本、Form 4 内部人交易,以及合并的研究简报。盘中方法返回相对当日开盘价的比例变化而非价格水平,日线方法返回绝对价格。README 还记录了 Python、LangChain 和 CrewAI 客户端,但 MCP 端点即远程服务器。
适用场景
当助手需要历史或近期美股价格、SEC 财务数据、申报文件或内部人交易用于分析、筛选或研究简报,并且可以接受按次用加密货币付费而不是使用 API 密钥或订阅时,适合使用。
运行要求
远程 MCP 端点 streamable HTTP;无需 API 密钥、注册或订阅。付款需要一个持有 USDC 的 Base 钱包,以私钥形式提供给客户端库;MCP 流程使用 x402 支付头。需要能访问该端点以及 Base 网络以完成结算。
安装前请注意
每次请求都要在 Base 主网上花费 USDC,价格在 402 响应中实时报价,而非以公布的价目表为准,客户端会按服务器要求付款。客户端库需要钱包私钥,这是可花费的凭证;请使用资金有限的专用钱包。请求会把股票代码和查询参数发送给第三方服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Cabrini Market Data,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/ai.cabrini%2Fmarket-data/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "cabrini-market-data": {
      "type": "http",
      "url": "https://cabrini.ai/mcp"
    }
  }
}

README

cabrini

US stock market data for AI agents. 23 years of intraday and daily bars, SEC fundamentals, filings, and insider data — every US equity from 2003 to present.

Pay per query with USDC on Base (x402). No API keys, no subscriptions, no signup.

Install

bash
pip install cabrini

Quick start

python
from cabrini import Cabrini
c = Cabrini(private_key="0x...")  # any Base wallet with USDC
# Intraday bars (pct from daily open) — $0.025bars = c.query("AAPL", "2024-01-15")
# Daily OHLCV + VWAP (absolute prices) — $0.001/yeardaily = c.daily("TSLA", "2024-01-01", "2024-03-31")
# SEC fundamentals — $0.02fins = c.fundamentals("NVDA")
# Full research brief — $0.25brief = c.brief("MSFT")

LangChain

python
from cabrini import get_langchain_toolsfrom langchain_openai import ChatOpenAIfrom langgraph.prebuilt import create_react_agent
tools = get_langchain_tools(private_key="0x...")agent = create_react_agent(ChatOpenAI(model="gpt-4o"), tools)
result = agent.invoke({"messages": [    {"role": "user", "content": "What was NVDA's trading volume on the day of their last earnings?"}]})

CrewAI

python
from cabrini import get_crewai_toolsfrom crewai import Agent, Task, Crew
tools = get_crewai_tools(private_key="0x...")
analyst = Agent(    role="Financial Analyst",    goal="Analyze stock performance using real market data",    tools=tools,)
task = Task(    description="Compare AAPL and MSFT intraday volatility on 2024-06-15",    agent=analyst,)
Crew(agents=[analyst], tasks=[task]).kickoff()

MCP (Claude, Cursor, etc.)

Point any MCP client at https://cabrini.ai/mcp:

json
{  "mcpServers": {    "cabrini": {      "url": "https://cabrini.ai/mcp"    }  }}

All endpoints

MethodPriceDescription
query(ticker, date)$0.025Full trading day of intraday bars
daily(ticker, start, end)$0.001/yearDaily OHLCV + VWAP — the absolute prices
batch(tickers, date)$0.02/tickerSeveral tickers, one date, no limit
range(ticker, start, end)$0.01/trading dayMulti-day intraday, no limit
bars(ticker, date, interval)$0.015/dayResampled intraday, 3-240 min
scan(date, **criteria)$0.10Screen every US stock; needs >= 1 criterion
tickers(date)$0.005List traded tickers
company(ticker)$0.005Company profile from SEC EDGAR
fundamentals(ticker)$0.02SEC quarterly data
filings(ticker)$0.01 / $0.05SEC filing index; +extracted section text
insiders(ticker)$0.02Insider transactions (Form 4)
brief(ticker)$0.25Joined research brief

Prices are quoted live in each 402 response and the client pays whatever the server asks — this table is documentation, not the source of truth.

Output format

Intraday methods (query, range, batch, bars) return fractional change from the daily open, not price levels:

python
{"window_start": "2024-01-02T14:30:00", "timestamp": 1704204600000000000, "pct_open": 0.0, "pct_high": 0.0012, "pct_low": -0.0003, "pct_close": 0.0008, "volume": 47000, "transactions": 312}

pct_x = (bar_x - day_open) / day_open, so 0.0012 is +0.12%.

daily() carries the absolute levels — open, high, low, close, volume, transactions and VWAP. Combine the two to reconstruct prices:

python
day = c.daily("AAPL", "2024-01-02", "2024-01-02")["data"][0]bars = c.query("AAPL", "2024-01-02")["data"]close_price = day["open"] * (1 + bars[-1]["pct_close"])

Use daily() rather than a third-party open: our reference is the first bar of the session and includes pre-market, so an external 09:30 open will not reconcile exactly.

How payment works

Every paid request uses x402 — an open protocol for HTTP micropayments:

  1. Client sends request → server returns 402 with a PAYMENT-REQUIRED header
  2. Client signs a USDC transfer authorization (EIP-3009)
  3. Client replays request with X-PAYMENT header containing the signed authorization
  4. Cloudflare edge worker verifies signature, submits to Base, forwards to origin
  5. Origin returns data

The Cabrini client handles all of this automatically. You just need a wallet with USDC on Base.

Get USDC on Base

  1. Bridge from Ethereum: bridge.base.org
  2. Buy directly: Coinbase → send USDC to your wallet on Base network
  3. Faucet (testnet): not needed, mainnet USDC is cheap ($0.025/query)

Links

来源:README.md,提交 9b04e1b

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v1.1.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式必需10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分