pigi.finance — DeFi Vault Intelligence
io.github.pigi-fi由 GitHub 帳號 pigi-fi 發布v0.1.3更新於 Oct 25, 2026
DeFi vault data from pigi.finance: yields, TVL, history and risk ratings across chains.
發布方自己的服務:Finance Foundation
概覽
託管型 MCP 伺服器,讓助理以唯讀方式存取 pigi.finance 的 DeFi 金庫資料:收益率、TVL、歷史、風險評級與漏洞損失。
- 可以做什麼
- 列出並檢視 DeFi 金庫的 TVL、APR、資產類別、鏈、協定、風險等級與風險分數,可依收益率或風險調整後收益率篩選與排序,並取得單一金庫的完整紀錄及 TVL、APR、APY 與淨流入的每日歷史或區間統計。查詢 pigi 對協定的累計風險評級以及影響該評分的金庫。取得 DeFi 基準利率與 3 個月美國公債利率,並查詢 DeFi 駭客與漏洞損失事件及彙總。查看帳戶本月請求數與方案上限。
- 適用情境
- 適合跨協定、跨鏈比較借貸與金庫收益率,篩選低風險穩定幣金庫,查看某個金庫或協定的風險評級,或把 DeFi 收益率與漏洞損失放在一起評估。它是唯讀資料來源,不是錢包或交易工具。
- 執行需求
- 透過網路存取的遠端 Streamable HTTP 端點,多數用戶端無需本機安裝。需要 OAuth 登入,首次登入會自動建立免費帳戶。僅支援 stdio 的用戶端需要 mcp-remote 之類的橋接,或使用提供的 Docker 映像,該映像會印出登入連結並把權杖保存在磁碟區中。非互動情境可使用 pigi.finance 核發的服務權杖取代 OAuth。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 pigi.finance — DeFi Vault Intelligence,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.pigi-fi%2Fpigi-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"pigi-finance-defi-vault-intelligence": {
"type": "http",
"url": "https://mcp.pigi.finance/api/mcp"
}
}
}README
pigi.finance — DeFi Vault Intelligence MCP
Query 2,000+ DeFi vaults across 25+ protocols and 14 EVM chains. Get vault risk scores, APR/APY and TVL history, risk-adjusted yield, DeFi base rates and hack/exploit data — for Claude, Cursor, Codex, Gemini CLI and any other MCP client.
- Remote server, no install. Point your client at one URL, sign in with OAuth. No API key to copy, no environment variables.
- Cross-protocol. One tool surface over Aave, Morpho, Euler, Uniswap, Fluid, SparkLend, Yearn and more — compare vaults across protocols instead of one at a time.
- Risk-rated. Each assessed vault carries pigi's published
risk_band(A safest … F) andrisk_score(0–100), so an agent can rank by safety, not just yield. - Free tier. 1,000 requests/month, all vault metrics and history. Pro raises the limit and adds holder analytics. See pigi.finance/api-keys.
Listed in the official MCP registry as io.github.pigi-fi/pigi-mcp.
Endpoint: https://mcp.pigi.finance/api/mcp (Streamable HTTP)
Install
Any MCP client (Claude Desktop, Cursor, Windsurf and most others: add to the MCP config file)
Or paste this into your agent and let it do the setup:
CLI clients:
Claude Code
Codex
Gemini CLI
OpenCode
Stdio-only clients (bridge through mcp-remote)
Docker (stdio bridge to the hosted server, for runners that need a local process)
First run prints a sign-in URL; open it on the host. The callback lands on port 3334, and the named volume keeps the token so later runs skip sign-in.
For non-interactive use (a directory inspector, a service), pass a service token instead and OAuth is skipped: docker run -i --rm -e PIGI_MCP_TOKEN=... pigi-mcp. Service tokens are issued by pigi.finance for specific integrations.
Runners that clone this repo into their own image instead of building the Dockerfile (Glama does this) need one build step, npm install -g [email protected], and the command ["/app/entrypoint.sh"]; the script carries its own defaults.
Authenticate
On first connect the client opens an OAuth 2.1 sign-in (WorkOS AuthKit). A free account is provisioned on first login. If you already use the pigi.finance REST API, sign in with the same email: the MCP shares that account's plan and quota.
Headless environments: mcp-remote prints the sign-in URL; open it anywhere, then pass the callback URL back.
Skills (optional)
pigi-fi/pigi-skills teaches an agent when and how to use the tools:
What you can ask
- "Find USDC lending vaults on Ethereum with APR above 10% and TVL over $10M, then rank them by risk score."
- "Compare the top Morpho and Euler USDC vaults on risk-adjusted yield over the last 90 days."
- "Which vaults in Morpho had net outflows this month?"
- "How does the DeFi base rate compare with the 3-month T-bill right now?"
- "How much was lost to bridge exploits in 2025?"
- "How does pigi rate Aave V3 on Ethereum as a protocol, and which vaults drive that number?"
Tools
list_vaults— List DeFi vaults with TVL, APR, asset class, age, protocol, chain and, where assessed,risk_band,risk_scoreandrisk_adjusted_apr. Filter byprotocol_name,chain_id,asset_class(stable / mixed / non-stable),search(name substring, e.g. USDC),risk_band(e.g. ["A","B"]),min_risk_score,tvl_filter,apr_filter,age_filter; sort byapr_desc,tvl_desc,risk_score_descorrisk_adjusted_apr_desc; paginate withlimit/offset. Returnsid(forget_vault) andstrategy_id(for history and stats).get_vault— Full record for one vault by poolid.list_protocols— pigi's cumulative protocol rating for every rated protocol node, in one call:score = 0.6 × the protocol node's own rating + 0.4 × the TVL-weighted mean of the published scores of the vaults that deposit into it, withband(A safest .. F), the node rating and the vault aggregates. Node ids look likeaave-v3-ethereum,euler-v2,morpho-blue-ethereum. Optionalchain_idnarrows which vaults count.get_protocol— One protocol node's cumulative rating with the vaults that counted (published score, band, TVL, weight; largest first). Arguments:node_id(fromlist_protocols), optionalchain_id.get_vault_history— Daily series for a vault: TVL, APR, APY, risk-adjusted APR (APR minus a penalty derived from the risk score) and 30-day moving averages. Arguments:strategy_id,range(7D / 30D / 90D / 180D).get_vault_stats— Windowed aggregates for a vault: TVL low/high, APR, APY and net inflows over weekly, monthly, quarterly and yearly windows. Arguments:strategy_id, optionalperiod.get_rates— DeFi Base Rate (stablecoin and ETH vault-set mean yield) and the 3-month U.S. T-bill rate, last ~30 daily points. No arguments.get_hacks— DeFi hack and exploit loss events plus major TradFi losses, with asummarytotalling the whole filtered set. Arguments:category,type(DeFi / Dexes / Bridges),from,to,min_amount,sort,limit,offset.get_usage— Your request count this month and plan limit. No arguments.
"Best low-risk USDC vault" is a single call: list_vaults({ search: "USDC", asset_class: "stable", risk_band: ["A", "B"], sort: "risk_adjusted_apr_desc" }).
Coverage
2,000+ vaults · 25+ protocols · 14 EVM chains · lending markets, ERC-4626 vaults, AMM pools and stability pools. Data is refreshed daily. Risk ratings are published for the vaults pigi has assessed; the live count is on pigi.finance.
About this repo
This repo is the public listing for the pigi.finance MCP server: the registry manifest (server.json), the publish workflow, and this README. The server itself is a hosted service; its code is not published here.
Releases: bump version in server.json, commit, tag vX.Y.Z and push the tag. The workflow validates the manifest and publishes to the registry with GitHub OIDC. The registry never overwrites a published version.
Links
- Setup page: app.pigi.finance/defi-mcp
- REST API docs: app.pigi.finance/defi-api-docs
- Skills: github.com/pigi-fi/pigi-skills
- Registry entry: registry.modelcontextprotocol.io/?q=pigi-mcp
Tags: DeFi · Finance · Cryptocurrency · Blockchain · Web3 · Yield · Vaults · Risk · Risk Analytics · On-chain Data · Aave · Morpho · Euler · Uniswap · EVM
來源:README.md,提交 9f3e712
工具
0版本歷史
1- v0.1.3最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Finance 整合
Finance Foundation
foundation.finance官方發布者
遠端 MCP 伺服器,提供開放金融參考資料:查詢公司、市場、基金與資產,解析識別碼,遍歷知識圖譜並讀取定期更新的參考序列。
FYN
fyi.fyn官方發布者
面向AI代理的唯讀個人財務工具:預算、收據、淨資產、帳單。OAuth 2.1。AI 翻譯

Korea Finance Factcheck
由 GitHub 帳號 hs85-newbie 發布
核對韓國財經文章中的數字,與DART、韓國銀行ECOS和美國財政部資料進行比對AI 翻譯

Apizie Finance
由 GitHub 帳號 nafadza14 發布
Apizie Finance 是遠端 MCP 伺服器,讓助理取得 SEC EDGAR、FRED、ECB、美國財政部、GLEIF 與世界銀行的官方金融與經濟資料,並附上引用來源。

Finance MCP
由 GitHub 帳號 aowang-ai 發布
託管式 MCP 伺服器,讓助理探索、檢視並執行金融資料工具,涵蓋美股、SEC 文件、總體經濟資料、加密貨幣與預測市場。