Philidor MCP Server
Summary: Philidor MCP Server provides institutional-grade DeFi vault and lending-market risk analytics, letting an AI agent discover, compare, and evaluate 700+ vaults across protocols like Morpho, Aave, Yearn, Beefy, and Spark.
Search & filter vaults by chain, protocol, asset, risk tier, TVL, and more, with sorting and pagination (
search_vaults)Get vault details including risk breakdown, recent events, and historical snapshots by ID or network + address (
get_vault)Break down risk vectors — Asset Composition, Platform Code, and Governance scores with sub-metrics (
get_vault_risk_breakdown)Compare 2–3 vaults side-by-side on TVL, APR, risk score, tier, and audit status (
compare_vaults)Find the safest vaults — top 10 audited, high-confidence vaults by risk score, filterable by asset, chain, or TVL (
find_safest_vaults)Research protocols — TVL, vault count, versions, auditors, and security incidents (
get_protocol_info)Investigate curators — managed vaults, TVL, chain distribution, and performance (
get_curator_info)Get a market overview — total TVL, vault count, risk distribution, and TVL by protocol (
get_market_overview)Understand risk scores — explain a 0–10 score's tier, calculation method, and thresholds (
explain_risk_score)Access methodology, chains, and protocols via resources, plus due-diligence prompts for natural-language workflows
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Philidor MCP Server Find the safest USDC vaults on Ethereum with at least $10M TVL"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Philidor MCP Server
DeFi vault risk analytics for AI agents
Search 700+ DeFi vaults across Morpho, Aave, Yearn, Beefy, and Spark. Compare risk scores, analyze protocols, run due diligence — all through natural language.
No API key required. No installation needed.
Quick Start • Cursor Plugin • Tools • Example Prompts • Risk Framework • Agent Skill
Key material
Philidor never accepts keys. Never send private keys, session keys, seeds, or mnemonics to any Philidor API or MCP input. Inputs carrying key material receive a structured refusal before tool, prompt, or resource handlers run. The API and MCP return data only; they do not build, sign, or broadcast transactions. Keys and execution stay in the client-side SDK.
A 32-byte pool identifier and a private key can have the same shape. Documented identifier fields still accept exact identifiers; never paste a key into them.
Related MCP server: VaultVision
Why Philidor?
Most DeFi data tools give you raw numbers. Philidor gives your AI agent institutional-grade risk intelligence.
Feature | Philidor | DefiLlama MCP | Generic DeFi APIs |
Vault risk scores (0–10) | :white_check_mark: | :x: | :x: |
Risk vector decomposition | :white_check_mark: | :x: | :x: |
Vault comparison | :white_check_mark: | :x: | :x: |
Curator intelligence | :white_check_mark: | :x: | :x: |
Protocol security history | :white_check_mark: | :x: | Partial |
Due diligence prompts | :white_check_mark: | :x: | :x: |
Portfolio risk assessment | :white_check_mark: | :x: | :x: |
No API key needed | :white_check_mark: | :white_check_mark: | Varies |
Hosted (zero install) | :white_check_mark: | :x: | :x: |
Quick Start
Remote Server (Recommended)
Connect directly to the hosted server — zero installation, always up to date:
https://mcp.philidor.io/api/mcpClaude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"philidor": {
"url": "https://mcp.philidor.io/api/mcp"
}
}
}Claude Code
claude mcp add philidor --transport http https://mcp.philidor.io/api/mcpCursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"philidor": {
"url": "https://mcp.philidor.io/api/mcp"
}
}
}Windsurf
Add to your MCP settings:
{
"mcpServers": {
"philidor": {
"serverUrl": "https://mcp.philidor.io/api/mcp"
}
}
}Docker (stdio)
docker run -i --rm ghcr.io/philidor-labs/philidor-mcpLocal (stdio)
git clone https://github.com/Philidor-Labs/philidor-mcp.git
cd philidor-mcp
npm install
npm startTools
15 standalone tools for vault discovery, risk analysis, lending markets, loop venue checks, policy attestations, and protocol research.
check_policy
Check positions against your own limits and constraints. Returns the API's compliance attestation: compliance, violations, policy_hash, findings, and snapshotId. With issue: true, an issued attestation also includes attestation_id, signerAddress, and verification_url (GET /v1/graph/attestation/{id}/verify). No risk figures are recalculated. Missing, malformed, or partial responses produce an error. The legacy verdict appears only as deprecated_verdict; use compliance.
Parameter | Type | Description |
| array | 1–100 |
| object | Caller-defined fractions in |
| object | Optional |
| boolean | Optional, defaults to false. Ask the API to issue a compliance attestation. |
| string | Optional caller reference, 1–200 characters. |
For local stdio/Docker, set PHILIDOR_API_KEY in the server process environment to your Philidor API credential. Keep it out of tool arguments, chat, and source control. This is not a wallet key. Without an eligible key the tool returns a structured refusal with the API's required plan, x402 price (when available), and upgrade link. It does not pay automatically. The hosted plugin uses its own documented client authentication.
No Philidor policy is preselected. This reports conformity with your policy; it does not recommend a vault. Philidor does not prepare transactions and never accepts wallet keys. Execution stays in the client-side SDK.
search_vaults
Search and filter DeFi vaults by chain, protocol, asset, risk tier, TVL, and more.
Parameter | Type | Description |
| string | Search by vault name, symbol, asset, protocol, or curator |
| string | Filter by chain name or slug (Ethereum, Base, Solana, ...) |
| string | Protocol ID: |
| string | Generation filter ( |
| string | Filter by asset symbol (USDC, WETH, ...) |
| string | Filter by risk tier: Prime, Core, or Edge |
| number | Minimum TVL in USD |
| boolean | Filter by current deposit capacity |
| string | Sort field: tvl_usd, apr_net, name, last_synced_at |
| string | Sort order: asc or desc |
| number | Max results (default 10, max 50) |
get_vault
Get detailed information about a specific vault including risk breakdown, recent events, and historical snapshots. Lookup by id or by network + address.
Parameter | Type | Description |
| string | Vault ID (e.g. |
| string | Network slug (ethereum, base, arbitrum, solana) |
| string | Vault address ( |
get_vault_risk_breakdown
Detailed breakdown of a vault's four risk vectors: Asset Composition, Platform and Strategy, Control and Governance, and History.
Parameter | Type | Description |
| string | Network slug |
| string | Vault address |
list_markets
List lending markets (Aave/Spark pools, Aave V4 spokes, Compound Comet, Morpho Blue pairs, Kamino K-Lend). Aave V4 spokes that share a liquidity hub are grouped under composed hub parents (e.g. aave-v4-1-hub-core).
Parameter | Type | Description |
| string |
|
| string |
|
| number/string | Chain id or slug |
| number | 1–100 (default 20) |
| string |
|
get_market
One market with every reserve (supplied, supply APR, borrowed, borrow APR, utilization, tier). Accepts spoke ids and composed hub ids.
Parameter | Type | Description |
| string | Market id from |
get_market_events
Published risk events for one lending market. Hub ids union spoke feeds.
Parameter | Type | Description |
| string | Market id from |
| number | 1–100 (default 20) |
check_loop_venue
Underwrite a collateral/debt loop on one market: score, tier, utilization, borrow APR, deposit status, and recent incidents for both legs. Does not compute health factor and does not prepare transactions.
Parameter | Type | Description |
| string | Market id from |
| string | Collateral asset symbol |
| string | Debt asset symbol |
compare_vaults
Side-by-side comparison of 2–3 vaults on TVL, APR, risk score, risk tier, and audit status.
Parameter | Type | Description |
| array | Array of 2–3 objects with |
find_safest_vaults
Find the top 10 audited vaults sorted by Philidor risk score (higher = lower assessed risk; not a safety guarantee).
Parameter | Type | Description |
| string | Filter by asset symbol |
| string | Filter by chain name |
| number | Minimum TVL in USD |
get_protocol_info
Protocol details including TVL, vault count, versions, auditors, bug bounties, and security incidents.
Parameter | Type | Description |
| string | Protocol ID ( |
get_curator_info
Curator details including managed vaults, TVL, chain distribution, and performance metrics.
Parameter | Type | Description |
| string | Curator ID |
get_market_overview
High-level DeFi vault market statistics: total TVL, vault count, risk distribution, and TVL by protocol. No parameters required.
explain_risk_score
Explain what a specific risk score means, including the tier, calculation method, and thresholds.
Parameter | Type | Description |
| number | Risk score (0–10) |
list_vaults_with_incidents
List all vaults that had a recent critical incident (last 365 days). Sorted by TVL descending, then by recency. No parameters required.
Resources
URI | Description |
| The Vector Risk Framework v4.1 documentation |
| Supported blockchain networks with vault counts |
| Supported DeFi protocols with TVL data |
Prompts
Prompt | Description |
| Comprehensive due diligence report for a vault |
| Portfolio-level risk analysis across positions |
| Yield comparison with risk-adjusted analysis |
| Loop venue review, then hand off to a protocol MCP |
Example Prompts
Once connected, try asking your AI assistant:
Discovery
"Find the safest USDC vaults with at least $10M TVL"
"What Morpho vaults are available on Base?"
"Show me the DeFi market overview"
Analysis
"Run due diligence on the Steakhouse USDC vault on Ethereum"
"Compare the top 3 USDC vaults by risk score"
"What's the risk breakdown for this vault: ethereum/0x..."
Portfolio
"Assess my portfolio: 50% in Morpho Steakhouse USDC, 30% in Aave USDC, 20% in Yearn USDC"
"Which protocols have had security incidents?"
"What does a risk score of 8.5 mean?"
Risk Scoring
Philidor uses the Vector Risk Framework v4.1 to decompose vault risk into three measurable vectors:
Final Score = 40% Asset + 40% Platform + 20% GovernanceAsset Composition (40%)
Quality of underlying collateral. Blue-chip assets (ETH, USDC) score highest. Factors include oracle reliability, liquidity depth, and peg stability.
Platform Code (40%)
Code maturity measured by:
Lindy Score — time-based safety (>2 years ≈ 9/10)
Audit Density — number and quality of audits
Dependency Risk — multiplicative penalties for risky dependencies
Incident Penalty — caps score after security incidents
Governance (20%)
Exit window for users:
Control | Score |
Immutable contract | 10/10 |
7+ day timelock | 9/10 |
No timelock | 1/10 |
Risk Tiers
Tier | Score | Meaning |
Prime | 8.0–10.0 | Institutional-grade — mature code, multiple audits, safe governance |
Core | 5.0–7.9 | Moderate safety — audited but newer or flexible governance |
Edge | 0.0–4.9 | Higher risk — requires careful due diligence |
Architecture
┌──────────────────┐ ┌─────────────────┐ ┌──────────────┐
│ Claude / Cursor │────▶│ Philidor MCP │────▶│ Philidor API │
│ Windsurf / etc. │◀────│ Server │◀────│ │
└──────────────────┘ └─────────────────┘ └──────┬───────┘
15 tools, 3 resources, │
4 prompts │
┌────▼────┐
│ On-chain │
│ data │
└─────────┘Transport: Streamable HTTP (remote) or stdio (local/Docker)
API: Calls the Philidor Public API — public analytics need no API key; policy attestations require an eligible API plan
Stateless: Fresh server instance per request, no session state
Data: 700+ vaults across Ethereum, Base, Arbitrum, Polygon, Optimism, and Avalanche
Cursor Marketplace Plugin
This repository packages a Cursor plugin that connects the agent to the hosted Philidor MCP server and loads five workflow skills. The plugin does not embed an API key. Philidor stays read-only: it scores vaults and lending venues, and it does not compute a health factor or prepare a transaction.
The plugin points at the hosted server, which is ahead of the stdio server in this repo:
https://mcp.philidor.io/api/mcpTransport is Streamable HTTP. The hosted server has additional tools beyond this standalone client; use tools/list to discover the current surface. src/server.ts registers 15 standalone tools, 3 resources (philidor://methodology, philidor://supported-chains, philidor://supported-protocols), and 4 prompts (vault_due_diligence, portfolio_risk_assessment, defi_yield_comparison, review_loop_venue).
Piece | Path |
Manifest |
|
Marketplace index |
|
MCP connector |
|
Logo |
|
Skills |
|
Product page: philidor.io/mcp. Docs: MCP server, quickstart, tools, resources, prompts.
Install
After the plugin is listed, open Customize in Cursor, find Philidor, and choose Install (project or user scope). That loads the skills and the hosted MCP server together.
Until then, connect the same server without the plugin by adding this to .cursor/mcp.json:
{
"mcpServers": {
"philidor": {
"url": "https://mcp.philidor.io/api/mcp"
}
}
}To try the plugin from a local checkout, copy this repo to ~/.cursor/plugins/local/philidor (the folder must contain .cursor-plugin/plugin.json), then run Developer: Reload Window and confirm the skills and MCP server under Customize. Local plugin imports have to be allowed. A marketplace plugin with the same name takes precedence over the local copy.
Example prompts
"Run due diligence on the Gauntlet USDC vault on Ethereum."
"Which Prime USDC vaults on Ethereum still accept deposits, and how do their scores compare to APR?"
"Check looping weETH against USDC on Aave V4 Ethereum Main before I borrow."
"List the largest Aave V4 markets by supplied value and any recent events on the one I pick."
"Which vaults had a critical incident in the last year?"
"I need basket constituents and the oracle freshness feed. Is that on the free MCP or the API?"
Skills tell the agent to copy vault ids, network slugs, addresses, and market ids from tool results, and not to invent risk numbers. Loop checks call check_loop_venue, then stop. Health factor and unsigned transactions belong to the protocol MCP (Aave is https://mcp.aave.com). Baskets, oracle vectors, enriched assets, the event stream, and Risk Graph look-through are outside the free MCP. The philidor-api-handoff skill sends those questions to API Access and Plans and pricing without quoting a price.
Submission checklist
Do not submit from this fork until a reviewer accepts the pull request. Listing is a manual review at cursor.com/marketplace/publish. The repository must be public. Cursor reviews the open-source tree and each later update.
.cursor-plugin/plugin.jsonparses and matches the plugin schema (namephilidor, lowercase kebab-case)descriptionstates that the plugin is read-only vault and market risk analyticsmcp.jsonis the only MCP connector and has no auth headerEach skill directory has a
SKILL.mdwhosenamematches the folder and whosedescriptionsays when to use itassets/logo.svgis committed andlogois the relative pathassets/logo.svgManifest paths are relative and exist (
skills/...,./mcp.json). No.., no absolute pathsNo
${VAR}placeholders, sovariablesstays unsetREADME (this section) documents install and example prompts
Live check:
initializeandtools/listagainsthttps://mcp.philidor.io/api/mcpstill succeedTried locally from
~/.cursor/plugins/local/philidor(Customize shows 5 skills and the Philidor MCP server)Submit the public GitHub URL at cursor.com/marketplace/publish. This repo is a single plugin indexed by
.cursor-plugin/marketplace.jsonwithsource"."
Agent Skill
Install the Philidor MCP skill into your coding agent via skills.sh:
npx skills add philidor-labs/philidor-mcpThis gives your agent full knowledge of all tools, resources, prompts, recommended workflows, and best practices for DeFi vault analysis.
Also Available
Interface | Description | Link |
CLI | Terminal-based vault intelligence — scriptable, pipeable, agent-sandboxed | |
OpenClaw Skill | Skill definition for the OpenClaw agent platform |
Supported Protocols
Morpho, Aave (v3/v4), Spark, Compound, Yearn, Beefy, Uniswap, Nest, Maple, Kamino — with more being added regularly.
See the full list at app.philidor.io.
Development
git clone https://github.com/Philidor-Labs/philidor-mcp.git
cd philidor-mcp
npm install
npm startThe server connects to the public Philidor API by default. To use a custom endpoint:
PHILIDOR_API_URL=http://localhost:3003 npm startLinks
Philidor MCP landing — hosted server overview
MCP docs — tools, resources, and prompts
Philidor Analytics — explore vaults and risk scores
Philidor CLI — terminal-based vault intelligence
API Documentation — OpenAPI/Swagger docs
Risk Methodology — how scores are calculated
Smithery — MCP server registry
Twitter — updates and announcements
License
Available Tools
9 toolscompare_vaultsAInspect
Compare 2-3 DeFi vaults side-by-side on TVL, APR, risk score, risk tier, audited status, and more.
Inputs: vaults (required).
explain_risk_scoreAInspect
Explain what a Philidor risk score means, including the tier (Prime/Core/Edge), how it is calculated, and what the thresholds are.
Inputs: score (required).
find_safest_vaultsAInspect
Find the safest (highest risk-scored) DeFi vaults, optionally filtered by asset, chain, or minimum TVL. Returns top 10 audited, high-confidence vaults sorted by risk score.
Inputs: asset, chain, minTvl.
get_curator_infoAInspect
Get detailed information about a vault curator including their managed vaults, TVL, chain distribution, and performance.
Inputs: curatorId (required).
get_market_overviewAInspect
Get a high-level overview of the DeFi vault market: total TVL, vault count, risk distribution, and TVL by protocol.
Inputs: no named parameters.
get_protocol_infoBInspect
Get detailed information about a DeFi protocol including TVL, vault count, versions, auditors, and security incidents.
Inputs: protocolId (required).
get_vaultAInspect
Get detailed information about a specific DeFi vault including risk breakdown, recent events, and historical snapshots. Lookup by ID or by network + address.
Inputs: id, network, address.
get_vault_risk_breakdownCInspect
Get a detailed breakdown of a vault's risk vectors: Asset Composition, Platform Code, and Governance scores with sub-metrics.
Inputs: network (required), address (required).
search_vaultsAInspect
Search and filter DeFi vaults by chain, protocol, asset, risk tier, TVL, and more. Returns a paginated list with risk scores and APR.
Inputs: query, chain, protocol, asset, +5 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool has a clearly distinct purpose targeting specific resources and actions in the DeFi vault domain, with no overlap that could cause confusion. For example, 'get_vault' retrieves detailed vault information, while 'get_vault_risk_breakdown' focuses specifically on risk metrics, and 'search_vaults' handles filtering and listing.
All tool names follow a consistent verb_noun pattern using snake_case, such as 'compare_vaults', 'explain_risk_score', and 'get_vault_risk_breakdown'. This predictable naming convention makes the tool set easy to navigate and understand.
With 9 tools, the server is well-scoped for analyzing DeFi vaults, covering key aspects like risk assessment, market overview, and vault details. Each tool serves a unique function without redundancy, making the count appropriate for the domain.
The tool set provides comprehensive coverage for DeFi vault analysis, including CRUD-like operations (e.g., get, search, compare), risk explanation, market insights, and curator/protocol details. There are no obvious gaps that would hinder an agent from performing essential tasks in this domain.
Maintenance
Related MCP Connectors
Token rug-risk scans, Know Your Agent wallet checks and deployer reputation for AI agents.
Solana & Base DeFi intelligence for AI agents over x402: decisions, risk, signed receipts.
Pay-per-call on-chain data for AI agents: token, wallet, risk, whale, NFT, tx. No API keys.
Smart-contract risk reports for AI agents on 20 EVM chains, paid per call via x402 ($0.02 USDC).
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to perform token security audits, honeypot detection, liquidity analysis, and risk scoring to avoid crypto scams.1ISC
- FlicenseNot gradedqualityCmaintenanceEnables read-only research on live Hyperliquid vaults through search, ranking, comparison, risk explanation, HLP metrics, and alert tools with timestamped evidence and caveats.-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to query live on-chain data from The Graph's decentralized network with built-in verification and computed risk insights for Uniswap V3 pools, such as swap counts, directional flow, and concentration signals.MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to assess the risk of crypto wallets, tokens, and smart contracts by providing read-only on-chain analysis, 0-100 risk scoring with explanations, fund tracing, and contract inspection before interaction.6MIT