Skip to content
pigi.finance — DeFi Vault Intelligence logo
MCP server
RegistryRemote

pigi.finance — DeFi Vault Intelligence MCP Server

DeFi vault data from pigi.finance: yields, TVL, history and risk ratings across chains.

pigi.finance — DeFi Vault Intelligence scores 61 (Good), licensed MIT and written in Dockerfile. It can be reached as a remote MCP endpoint. It declares 9 tools. Filed under Finance. GitHub shows 0 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by pigi-fiMITDockerfile0 stars
Trust score
61Good
Trust score 61 of 100, Good

Good trust

61 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 61 comes from

22 + 15 + 0 + 10 + 4 + 10 = 61. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance15 / 20

How recently the repository saw a commit or release.

Maintenance: 15 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "pigi-fi-pigi-mcp": {      "url": "https://mcp.pigi.finance/api/mcp"    }  }}

Environment variables

This server does not declare environment variables.

Tools9Tool docs quality grade B

All capabilities
  • DeFi hack and exploit loss events plus major TradFi losses, with a summary totalling the whole filtered set. Arguments: category, type (DeFi / Dexes / Bridges), from, to, minamount, sort, limit, offset.

  • One protocol node's cumulative rating with the vaults that counted (published score, band, TVL, weight; largest first). Arguments: nodeid (from listprotocols), optional chainid.

  • 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.

  • Your request count this month and plan limit. No arguments.

  • Full record for one vault by pool id.

  • 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: strategyid, range (7D / 30D / 90D / 180D).

  • Windowed aggregates for a vault: TVL low/high, APR, APY and net inflows over weekly, monthly, quarterly and yearly windows. Arguments: strategyid, optional period.

  • 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, with band (A safest ..

  • List DeFi vaults with TVL, APR, asset class, age, protocol, chain and, where assessed, riskband, riskscore and riskadjustedapr. Filter by protocolname, chainid, assetclass (stable / mixed / non-stable), search (name sub

About

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) and risk_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)

{
  "mcpServers": {
    "pigi": { "url": "https://mcp.pigi.finance/api/mcp" }
  }
}

Or paste this into your agent and let it do the setup:

Read https://raw.githubusercontent.com/pigi-fi/pigi-skills/refs/heads/main/pigi-setup/SKILL.md and follow the instructions to connect to pigi.finance MCP

CLI clients:

Claude Code

claude mcp add pigi --transport http https://mcp.pigi.finance/api/mcp

Codex

codex mcp add pigi --url https://mcp.pigi.finance/api/mcp

Gemini CLI

{
  "mcpServers": {
    "pigi": { "httpUrl": "https://mcp.pigi.finance/api/mcp" }
  }
}

OpenCode

{
  "mcp": {
    "pigi": { "type": "remote", "url": "https://mcp.pigi.finance/api/mcp" }
  }
}

Stdio-only clients (bridge through mcp-remote)

{
  "mcpServers": {
    "pigi": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.pigi.finance/api/mcp"]
    }
  }
}

Docker (stdio bridge to the hosted server, for runners that need a local process)

git clone https://github.com/pigi-fi/pigi-mcp.git && cd pigi-mcp
docker build -t pigi-mcp .
docker run -i --rm -p 3334:3334 -v pigi-mcp-auth:/home/node/.mcp-auth pigi-mcp

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 mcp-remote@0.14.2, 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:

npx skills add pigi-fi/pigi-skills --yes

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_score and risk_adjusted_apr. Filter by protocol_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 by apr_desc, tvl_desc, risk_score_desc or risk_adjusted_apr_desc; paginate with limit / offset. Returns id (for get_vault) and strategy_id (for history and stats).
  • get_vault — Full record for one vault by pool id.
  • 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, with band (A safest .. F), the node rating and the vault aggregates. Node ids look like aave-v3-ethereum, euler-v2, morpho-blue-ethereum. Optional chain_id narrows 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 (from list_protocols), optional chain_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, optional period.
  • 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 a summary totalling 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

Tags: DeFi · Finance · Cryptocurrency · Blockchain · Web3 · Yield · Vaults · Risk · Risk Analytics · On-chain Data · Aave · Morpho · Euler · Uniswap · EVM

Frequently asked questions

What is pigi.finance — DeFi Vault Intelligence MCP Server?

DeFi vault data from pigi.finance: yields, TVL, history and risk ratings across chains.

How do I install pigi.finance — DeFi Vault Intelligence MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. pigi.finance — DeFi Vault Intelligence MCP Server connects to the remote endpoint https://mcp.pigi.finance/api/mcp, so there is nothing to install locally.

Is pigi.finance — DeFi Vault Intelligence MCP Server free and open source?

Yes. pigi.finance — DeFi Vault Intelligence MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does pigi.finance — DeFi Vault Intelligence MCP Server support remote (HTTP) connections?

Yes. pigi.finance — DeFi Vault Intelligence MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

What tools does pigi.finance — DeFi Vault Intelligence MCP Server provide?

pigi.finance — DeFi Vault Intelligence MCP Server provides 9 tools, including get_hacks, get_protocol, get_rates, and get_usage. See the full tool list for descriptions and parameters.

How is pigi.finance — DeFi Vault Intelligence MCP Server's trust score calculated?

pigi.finance — DeFi Vault Intelligence MCP Server scores 61 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server