pigi.finance — DeFi Vault Intelligence
io.github.pigi-fiPublished by GitHub account pigi-fiv0.1.3Updated Oct 25, 2026
DeFi vault data from pigi.finance: yields, TVL, history and risk ratings across chains.
The publisher's own server: Finance Foundation
Overview
A hosted MCP server that gives an assistant read-only access to pigi.finance DeFi vault data: yields, TVL, history, risk ratings and exploit losses across EVM.
- What you can do
- List and inspect DeFi vaults with TVL, APR, asset class, chain, protocol, risk band and risk score, filtered and sorted by yield or risk-adjusted yield, and fetch a single vault's full record and daily history or windowed statistics for TVL, APR, APY and net inflows. Look up pigi's cumulative risk rating for protocols and the vaults that drive each score. Retrieve the DeFi base rate alongside the 3-month U.S. T-bill rate, and query DeFi hack and exploit loss events with totals. Check the account's monthly request count against its plan limit.
- When to use it
- Useful when comparing lending and vault yields across protocols and chains, screening for low-risk stablecoin vaults, reviewing a vault's or protocol's risk rating, or putting DeFi yields and exploit losses in context. It is a read-only data source, not a wallet or trading tool.
- Requirements
- A remote Streamable HTTP endpoint reached over the network; no local install is needed for most clients. OAuth sign-in is required, and a free account is provisioned on first login. Stdio-only clients need a bridge such as mcp-remote, or the provided Docker image, which prints a sign-in URL and keeps the token in a volume. Non-interactive setups can use a service token supplied by pigi.finance instead of OAuth.
Installation
In SourceWeft
- Open pigi.finance — DeFi Vault Intelligence in the dashboard and add it to a workspace.
- Connect the required credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.pigi-fi%2Fpigi-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.
{
"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
Source: README.md at commit 9f3e712
Tools
0Version history
1- v0.1.3LatestSep 16, 2026
Score
85% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Finance integrations
Finance Foundation
foundation.financeOfficial publisher
A remote MCP server for open financial reference data: look up companies, markets, funds and assets, resolve identifiers, traverse a knowledge graph and read a
FYN
fyi.fynOfficial publisher
Read-only personal finance for AI agents: budgets, receipts, net worth, bills. OAuth 2.1.

Korea Finance Factcheck
Published by GitHub account hs85-newbie
Fact-checks numbers in Korean finance writing against DART, Bank of Korea ECOS and US Treasury

Apizie Finance
Published by GitHub account nafadza14
Apizie Finance is a remote MCP server giving assistants cited access to official financial and economic data from SEC EDGAR, FRED, ECB, Treasury, GLEIF and…

Finance MCP
Published by GitHub account aowang-ai
Hosted MCP server that lets an assistant discover, inspect and run finance data tools covering US stocks, SEC filings, macro series, crypto and prediction…