YieldCave

com.yieldcave由 yieldcave.com 發布官方發布者v0.9.1更新於 Oct 30, 2026

Tokenized asset data for agents: treasury yields, stablecoin rates, tokenized stocks, alerts.

已驗證Streamable HTTP可網頁執行金融資料與分析

概覽

AI 產生的概覽

唯讀的代幣化金融資料伺服器:代幣化國庫券與穩定幣收益、代幣化股票、歷史資料與 Webhook 告警。

可以做什麼
  • 列出並彙總代幣化實體資產的收益,含單一資產詳情、市場總量與歷史或變化比較
  • 列出並彙總穩定幣收益場所,含各穩定幣最佳場所與分類合計
  • 列出並彙總代幣化股票及 pre-IPO、ETF 包裝,含單一標的跨發行方詳情
  • 查詢主要代幣化國庫券代幣的人工整理發行條款
  • 將使用者目前 APY 與收益最高的流動性代幣化國庫券依期間做比較
  • 建立、列出與刪除每小時檢查的 Webhook 告警,並管理 API 金鑰、用量、Pro 升級與訂閱
適用情境
適合需要取得代幣化國庫券、穩定幣借貸與金庫收益、代幣化股票等即時結構化資料的情境,包括比較、歷史變動與門檻告警。它是研究與算術用的索引,不是經紀商或投資顧問。
執行需求
遠端 streamable HTTP 端點 mcp.yieldcave.com,匿名使用無需登入。選用的 x-api-key 標頭(或 Authorization: Bearer,或連接器網址中的金鑰參數)可提高額度;免費金鑰透過 create_api_key 工具以電子郵件建立。Pro 為付費訂閱。README 另說明了本機 Node 20+ 安裝方式。
安裝前請注意
匿名與免費額度有限(匿名每 IP 每日 100 次呼叫,免費金鑰 300 次),歷史與列數也受限;Pro 透過 Stripe 結帳,每月 49 美元。告警會向你提供的 HTTPS Webhook 傳送 JSON,伺服器會依金鑰保存告警規則與用量。放在連接器網址中的金鑰應視為機密。資料來自第三方,可能延遲或有誤,回傳內容均不構成投資建議。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 YieldCave,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.yieldcave%2Fyieldcave/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "yieldcave": {
      "type": "http",
      "url": "https://mcp.yieldcave.com/"
    }
  }
}

README

YieldCave

[M8ven Score]

Machine-readable tokenized-finance data for AI agents: tokenized treasuries, stablecoin yield venues, and tokenized stocks.

YieldCave is an MCP server. Add it to Claude Desktop, Claude Code or Cursor and your agent can answer questions like:

  • "What tokenized US treasuries are on Solana right now, and what do they yield?"
  • "How much more would $25k earn in the best liquid tokenized treasury than in my 0.4% savings account?"
  • "Summarize the tokenized RWA market."
  • "Where does USDC earn the most on a collateralized lending market with at least $50M behind it?"
  • "Which tokenized NVIDIA token is the most liquid, and is it trading at a premium to the stock?"

It is read-only. It never touches a wallet, never moves money and never recommends. That is the point: an index, not a broker.

Data comes from DefiLlama's public API. No API key is needed.

1. Run it locally (5 minutes)

You need Node 20 or newer (node --version).

bash
cd ~/yieldcave && npm install

See the data in your terminal:

bash
npm run demo

Run the unit tests (no network needed):

bash
npm test

Run the end-to-end checks, which start the real MCP server and call it the way Claude would, over stdio and over HTTP:

bash
npm run smoke && npm run smoke:http

2. Add it to Claude Desktop

Open this file (create it if it does not exist):

~/Library/Application Support/Claude/claude_desktop_config.json

Add YieldCave under mcpServers. If the file already has other servers, add just the "yieldcave" block inside the existing object.

json
{  "mcpServers": {    "yieldcave": {      "command": "node",      "args": ["/Users/bjf/yieldcave/src/server.js"]    }  }}

Quit and reopen Claude Desktop. You should see a tools icon with four YieldCave tools. Try: "Use YieldCave to summarize the tokenized treasury market."

3. Add it to Claude Code

bash
claude mcp add yieldcave -- node /Users/bjf/yieldcave/src/server.js

3b. Use it from claude.ai in a browser (hosted version)

YieldCave also runs in the cloud on Supabase, so claude.ai (and anyone else) can reach it without your Mac being on.

https://mcp.yieldcave.com

In claude.ai: Customize → Connectors → Add → Add custom connector → paste that URL, no sign-in. The hosted version serves data from Postgres, which a scheduled job refreshes every hour, and it keeps one snapshot per day. That history powers the fifth tool, rwa_history.

How the hosted version is put together, all inside the supabase/ folder:

supabase/functions/_shared/   the real code: data.js, tools.js, mcp.js (src/ re-exports these)supabase/functions/mcp/       public MCP endpoint, reads market_latest and snapshots from Postgressupabase/functions/refresh/   fetches DefiLlama + CoinGecko + quotes, writes market_latest + today's snapshot, fires alerts; needs REFRESH_SECRET headersupabase/functions/enrich/    fills chain metadata for tokenized equities, 15 per run, every 10 minutessupabase/functions/stripe-webhook/  upgrades/downgrades keys on Stripe eventssupabase/functions/site/      serves the landing page (pages.js is generated from site/)supabase/migrations/          tables (market, snapshots, alerts, api_keys, usage_daily), RLS on, hourly pg_cron job, public site bucketscripts/                      configure-stripe.sh, publish-site.sh

To redeploy after a change:

bash
supabase functions deploy mcp --no-verify-jwt --use-api && supabase functions deploy refresh --no-verify-jwt --use-api

Check a deployment end to end (tools, history, and an alert that creates, fires, and deletes itself):

bash
set -a; source .env.local; set +a; YIELDCAVE_URL=https://ccvhvxbqtvqbhexhrjnj.supabase.co/functions/v1/mcp npm run smoke:remote && npm run smoke:alerts

Secrets (database password, refresh secret) live in .env.local, which git ignores. Never commit them.

4. The tools

ToolWhat it returns
list_rwa_yieldsTokenized RWA deployments with APY and TVL. Filter by chain, kind (treasury or other_rwa), minTvlUsd; sort by tvlUsd or apy
get_rwa_assetOne symbol (e.g. BUIDL) across every chain, with total TVL and a curated description
list_stablecoin_yieldsSingle-asset stablecoin pools (USDC, USDT, DAI, USDe, ...) on lending, vault, credit and basis venues, each labelled by group, with base vs reward APY, 30-day mean and TVL. $10M floor by default
stablecoin_yield_summaryPer stablecoin: venues, TVL, median APY, best venue overall and best collateralized-lending venue; totals by group; tokenized-treasury median for comparison
list_tokenized_equitiesTokenized stocks, pre-IPO shares and ETFs (xStocks, bStocks, Ondo, Robinhood, Dinari, Coinbase, ...): price, market cap, volume, underlying ticker, premium/discount to the underlying quote, chains. Source: CoinGecko, quotes via Yahoo chart data
get_tokenized_equityOne underlying (e.g. TSLA) across every wrapper: issuers, chains, most liquid token, premium range
tokenized_equity_summaryTotals, by issuer and kind, top underlyings, premium statistics
rwa_market_summaryTotals: distinct treasury tokens, TVL, median APY, top five, plus other RWA totals
compare_yield_to_tokenized_treasuriesSimple-interest arithmetic: your current APY vs the best liquid tokenized treasury over a horizon, with assumptions spelled out
rwa_issuer_termsHand-curated terms for BUIDL, USYC, USDY, OUSG, USTB, TBILL, STBT, BENJI: structure, eligibility (US persons?), minimums, redemption, fees, sources, date verified
rwa_historyDaily TVL and TVL-weighted APY for one symbol over the last N days, with the change. universe is rwa or stablecoin. Hosted: from Postgres snapshots. Local: from npm run snapshot files
rwa_changesWhat moved since N days ago: APY and TVL change per deployment, new and vanished deployments (hosted, or local with snapshots)
create_alert, list_alerts, delete_alertHosted only, needs a key. A rule such as "any treasury APY above 4.5" or "USDY TVL below $1B". Checked hourly; fires a JSON POST to your HTTPS webhook (Slack, Discord, Zapier, your server) at most once per 24 hours
create_api_key, my_usage, upgrade, manage_subscriptionHosted only. Free key by email (shown once), plan and usage, a Pro checkout link, and a Stripe billing-portal link to change or cancel

4b. Plans, keys and metering (hosted)

PlanPriceCalls/dayAlertsHistoryChangesStablecoin venuesIssuer termsTokenized equities
Anonymous$0100 per IP07 days1 day backlending and vault, 10 rowssummary10 rows, no premiums
Free key$030037 days1 day backlending and vault, 10 rowssummary10 rows, no premiums
Pro$49/month5,000100fullany rangeall groups, 100 rowsfull record with sources100 rows, premiums and premium sort

Live data is free; depth is paid. Get a key by asking your agent to call create_api_key with your email; send it as an x-api-key header (or Authorization: Bearer), or as ?key=yc_... on the connector URL for claude.ai. Pro is bought with the upgrade tool (Stripe checkout) and managed with manage_subscription. Self-hosted servers have no plan limits.

claude.ai setup with a key. Custom connectors in claude.ai cannot send request headers, so the key goes in the URL: add a custom connector with https://mcp.yieldcave.com/?key=yc_your_key and "No sign-in". A header (x-api-key or Authorization: Bearer) wins when both are present. The server never logs query strings or keys. Treat the URL as a secret, since anyone holding it holds the key.

Every tools/call is counted in the usage_daily table against the key, or a hashed IP for anonymous callers. Limits reset at midnight UTC. Keys are stored as SHA-256 hashes; the plain key is returned once and never again. Alerts belong to the key that created them. All of this is in supabase/functions/mcp/index.ts; the limits themselves are in supabase/functions/_shared/plans.js.

Switching on payments needs a Stripe account and three values. Create a recurring $49/month product, add a webhook endpoint for https://ccvhvxbqtvqbhexhrjnj.supabase.co/functions/v1/stripe-webhook with the events checkout.session.completed, customer.subscription.deleted, customer.subscription.updated, then run:

bash
./scripts/configure-stripe.sh sk_live_... price_... whsec_...

Until then, upgrade returns a polite "payments are not switched on yet". The webhook upgrades a key to Pro when checkout completes and downgrades it when the subscription ends; manage_subscription opens Stripe's billing portal (return URL https://yieldcave.com). Checkout success and cancel pages are https://yieldcave.com/thanks and https://yieldcave.com; a SITE_URL secret overrides both if you ever need to.

Landing page is https://yieldcave.com, hosted on Cloudflare (Workers static assets, the current form of Cloudflare Pages). Edit site/*.html, then publish with ./scripts/publish-site.sh, which runs wrangler pages deploy (one-time npx wrangler login first). The site Edge Function is a fallback copy of the same pages and is not linked from anywhere.

Every response carries a disclaimer and the time the data was fetched. Issuer terms are curated by hand in supabase/functions/_shared/issuers.js with a verifiedOn date and source URLs; update that file when terms change.

5. Project layout

src/data.js     re-export of supabase/functions/_shared/data.js (fetch, normalize, cache, local snapshots, equities)src/equities.js re-export of _shared/equities.js: tokenized stock parsing and toolssrc/tools.js    re-export of _shared/tools.js: pure functions behind each tool (unit-tested)src/mcp.js      re-export of _shared/mcp.js: declares the five toolssrc/snapshot.js saves today's market locally (npm run snapshot)src/server.js   stdio entry point: Claude Desktop, Claude Code, Cursorsrc/http.js     HTTP entry point: claude.ai custom connectors, remote clientssrc/demo.js     prints a summary table in the terminaltest/           unit tests (node --test) and a live smoke testsite/           landing page with a live table (npm run site, then open http://localhost:8080)

6. How it works, for someone new to APIs

An API is a URL that returns data instead of a web page. Open https://yields.llama.fi/pools in a browser and you will see raw JSON for ~16,000 yield pools. src/data.js downloads that, keeps only the pools DefiLlama classifies as real-world assets, and reshapes each one into a dozen clearly named fields.

MCP is a small protocol that lets an AI model call functions you define. src/server.js tells the model "here are four functions, here is what each argument means"; when the model decides to call one, the server runs the matching function in src/tools.js and hands back JSON. Claude reads that JSON and writes the answer in English.

The server talks over stdio (standard input/output), which is why console.log is banned inside it: anything printed to stdout would corrupt the protocol stream. Use console.error for debugging.

7. Next steps

Hosted endpoint, history, issuer terms, webhook alerts, API keys and metering are live. Pro needs only a Stripe account to switch on. Next: a custom domain, and more asset classes (tokenized equities).

Disclaimer

Information only, not financial advice. Figures come from public third-party data and may be delayed or wrong. Verify with the issuer before acting.

License

MIT

來源:README.md,提交 e787231

工具

19

list_rwa_yields

List tokenized real-world asset yields

Lists tokenized real-world asset deployments (tokenized US treasuries, credit, funds) with current APY and TVL, from public DefiLlama data. Filter by chain or kind. Information only, not advice.

輸入參數kindchainlimitsortByminTvlUsd

get_rwa_asset

Get one tokenized asset across chains

Returns every deployment of one tokenized asset symbol (e.g. BUIDL, USDY, OUSG) across chains, with total TVL and curated description.

輸入參數symbol必填

rwa_market_summary

Tokenized RWA market summary

Totals for the tokenized treasury market: distinct tokens, total TVL, median APY, top tokens by TVL, plus totals for other tokenized real-world assets.

無需輸入參數。

compare_yield_to_tokenized_treasuries

Compare a yield to tokenized treasuries

Given an APY the user currently earns (e.g. a bank savings rate), computes the simple-interest difference versus the highest-yielding liquid tokenized treasury over a horizon. Returns arithmetic and assumptions only; it does not recommend.

輸入參數amountUsdminTvlUsdhorizonDayscurrentApyPercent必填

list_stablecoin_yields

Stablecoin yields by venue

Where USDC, USDT, DAI, USDe and other stablecoins earn yield right now: single-asset pools on lending markets and vaults (credit and basis venues on Pro) (DefiLlama data, excludes tokenized treasuries, which have their own tools). Each row carries its protocol category group (lending, vault, credit, basis), base vs reward APY, 30-day mean APY and TVL. Default: pools with at least $10M TVL, highest APY first. Information only, not advice.

輸入參數chaingrouplimitsortBysymbolmajorOnlyminTvlUsd

stablecoin_yield_summary

Stablecoin yield market summary

Per stablecoin: venues, total TVL, median APY, best venue overall and best collateralized-lending venue; totals by category group; and the median tokenized treasury APY for comparison. Pools with at least $10M TVL by default.

輸入參數minTvlUsd

list_tokenized_equities

Tokenized stocks, pre-IPO shares and ETFs

Tokenized equities on public chains (xStocks, bStocks, Ondo Global Markets, Robinhood, Dinari, Coinbase and others): token price, market cap, 24h volume, the underlying ticker, chains, and (on Pro) premium or discount to the latest underlying quote. Filter by issuer, kind (stock, pre-ipo, etf), underlying or chain. Information only, not advice.

輸入參數kindchainlimitissuersortByunderlyingminMarketCapUsd

get_tokenized_equity

One stock across every tokenized wrapper

All tokenized versions of one underlying stock (e.g. TSLA) across issuers: market caps, volumes, chains, the most liquid wrapper, and (on Pro) the premium/discount range versus the underlying quote.

輸入參數underlying必填

tokenized_equity_summary

Tokenized equity market summary

Totals for tokenized equities: token count, market cap and 24h volume; breakdown by issuer and by kind; top underlyings by combined market cap (top 5 on Free, 10 on Pro); on Pro, how many tokens have an underlying quote and the median absolute premium.

無需輸入參數。

rwa_issuer_terms

Issuer terms for a tokenized treasury

Hand-curated terms for a tokenized treasury token: who may invest (US persons?), minimum, structure (summary on Free; Pro adds what backs it, domicile, redemption method and timing, fees, yield mechanics and source URLs). Covers BUIDL, USYC, USDY, OUSG, USTB, TBILL, STBT, BENJI. Null means not stated by the source.

輸入參數symbol必填

rwa_history

Daily history for one tokenized asset

Daily snapshots of total TVL and TVL-weighted APY for one symbol, optionally on one chain, over the last N days (default 30; Free and anonymous plans see 7, Pro the full history). universe "rwa" (tokenized assets, default) or "stablecoin" (stablecoin pools). Includes the change from first to last day.

輸入參數dayschainsymbol必填universe

rwa_changes

What changed in the tokenized RWA market

Compares the latest market with the snapshot from N days ago (default 1): APY and TVL change per deployment, biggest movers first, plus new and vanished deployments. universe "rwa" (default) or "stablecoin".

輸入參數dayskindlimituniverse

create_alert

Create a webhook alert

Creates a rule that is checked every hour after the data refresh. When any matching deployment crosses the threshold, YieldCave POSTs a JSON payload to your HTTPS webhook (Slack, Discord, Zapier, your own server). Fires at most once per 24 hours per rule. universe "rwa" (tokenized treasuries, default) or "stablecoin" (stablecoin pools with at least $10M TVL; omit symbol for all major stablecoins). Returns the alert id; keep it to delete the alert later.

輸入參數chainlabelmetric必填symboloperator必填universethreshold必填webhookUrl必填

list_alerts

List alerts

Lists active alert rules (webhook hosts only, never full URLs).

無需輸入參數。

delete_alert

Delete an alert

Deletes an alert by id.

輸入參數id必填

create_api_key

Create a free API key

Creates a free YieldCave API key (300 calls/day, 3 alerts, 7 days of history) tied to an email address. The key is shown once. Send it on every request as an x-api-key header or Authorization: Bearer. One key per email.

輸入參數email必填

my_usage

My plan and usage

Shows the caller's plan, calls used today, remaining allowance, alert allowance, depth limits, and what each plan includes.

無需輸入參數。

upgrade

Upgrade to Pro

Returns a checkout link for the Pro plan ($49/month: full history and changes, all stablecoin venues, full issuer terms, 100 alerts, 5000 calls/day). Needs an API key.

無需輸入參數。

manage_subscription

Manage subscription

Returns a Stripe Billing Portal link to update payment details, see invoices, or cancel the Pro subscription. Needs an API key with a subscription.

無需輸入參數。

版本歷史

2
  1. v0.9.1最新Oct 16, 2026
  2. v0.9.0Oct 13, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分