Sponsored by Deepsite.site

Philidor MCP

Created By
Philidor-Labsa month ago
DeFi vault risk analytics for AI agents MIT License MCP TypeScript Hosted Search 700+ vaults across Morpho, Aave, Yearn, Beefy, Spark, and more. Compare risk scores, analyze protocols, run due diligence — all through natural language. No API key required. No installation needed.
Overview

Philidor MCP Server

DeFi vault risk analytics for AI agents

MIT License MCP TypeScript Hosted

Search 700+ vaults across Morpho, Aave, Yearn, Beefy, Spark, and more. Compare risk scores, analyze protocols, run due diligence — all through natural language.

No API key required. No installation needed.

Quick StartToolsExample PromptsRisk Framework


Why Philidor?

Most DeFi data tools give you raw numbers. Philidor gives your AI agent risk intelligence.

FeaturePhilidorDefiLlama MCPGeneric 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

Connect directly to the hosted server — zero installation, always up to date:

https://mcp.philidor.io/api/mcp

Claude 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/mcp

Cursor

Add to your MCP settings (.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-mcp

Local (stdio)

git clone https://github.com/Philidor-Labs/philidor-mcp.git
cd philidor-mcp
npm install
npm start

Tools

search_vaults

Search and filter DeFi vaults by chain, protocol, asset, risk tier, TVL, and more.

ParameterTypeDescription
querystringSearch by vault name, symbol, asset, protocol, or curator
chainstringFilter by chain (Ethereum, Base, Arbitrum, ...)
protocolstringFilter by protocol ID (morpho, aave-v3, yearn-v3, ...)
assetstringFilter by asset symbol (USDC, WETH, ...)
riskTierstringFilter by risk tier: Prime, Core, or Edge
minTvlnumberMinimum TVL in USD
sortBystringSort field: tvl_usd, apr_net, name
sortOrderstringSort order: asc or desc
limitnumberMax results (default 10, max 50)

get_vault

Get detailed information about a specific vault including risk breakdown, recent events, and historical snapshots.

ParameterTypeDescription
idstringVault ID (e.g. morpho-ethereum-0x...)
networkstringNetwork slug (ethereum, base, arbitrum)
addressstringVault contract address (0x...)

get_vault_risk_breakdown

Detailed breakdown of a vault's three risk vectors with sub-metrics: asset quality, platform code maturity, and governance controls.

ParameterTypeDescription
networkstringNetwork slug
addressstringVault contract address

compare_vaults

Side-by-side comparison of 2-3 vaults on TVL, APR, risk score, risk tier, and audit status.

ParameterTypeDescription
vaultsarrayArray of 2-3 objects with network and address

find_safest_vaults

Find the top 10 audited vaults with the highest risk scores, optionally filtered by asset, chain, or TVL.

ParameterTypeDescription
assetstringFilter by asset symbol
chainstringFilter by chain name
minTvlnumberMinimum TVL in USD

get_protocol_info

Protocol details including TVL, vault count, versions, auditors, bug bounties, and security incidents.

ParameterTypeDescription
protocolIdstringProtocol ID (morpho, aave-v3, yearn-v3, beefy, spark)

get_curator_info

Curator details including managed vaults, TVL, chain distribution, and performance metrics.

ParameterTypeDescription
curatorIdstringCurator 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.

ParameterTypeDescription
scorenumberRisk score (0-10)

Resources

URIDescription
philidor://methodologyThe Vector Risk Framework v2.0 documentation
philidor://supported-chainsSupported blockchain networks with vault counts
philidor://supported-protocolsSupported DeFi protocols with TVL data

Prompts

PromptDescription
vault_due_diligenceComprehensive due diligence report for a vault
portfolio_risk_assessmentPortfolio-level risk analysis across positions
defi_yield_comparisonYield comparison with risk-adjusted analysis

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 to decompose vault risk into three measurable vectors:

Final Score = 40% Asset + 40% Platform + 20% Governance

Asset Composition (40%)

Quality of underlying collateral. Blue-chip assets (ETH, USDC) score 10/10. Less liquid collateral scores lower.

Platform Code (40%)

Code maturity measured by:

  • Lindy Score — time-based safety (>2 years = ~9/10)
  • Audit Density — number and type of audits
  • Dependency Risk — multiplicative penalties for risky dependencies
  • Incident Penalty — caps score after security incidents

Governance (20%)

Exit window for users:

  • Immutable contract: 10/10
  • 7+ day timelock: 9/10
  • No timelock: 1/10

Risk Tiers

TierScoreMeaning
Prime8.0 - 10.0Institutional-grade — mature code, multiple audits, safe governance
Core5.0 - 7.9Moderate safety — audited but newer or flexible governance
Edge0.0 - 4.9Higher risk — requires careful due diligence

Architecture

┌──────────────────┐     ┌─────────────────┐     ┌──────────────┐
│  Claude / Cursor  │────▶│  Philidor MCP   │────▶│ Philidor API │
│  Windsurf / etc.  │◀────│  Server         │◀────│              │
└──────────────────┘     └─────────────────┘     └──────┬───────┘
                          9 tools, 3 resources,          │
                          3 prompts                      │
                                                   ┌────▼────┐
                                                   │ On-chain │
                                                   │  data    │
                                                   └─────────┘
  • Transport: Streamable HTTP (remote) or stdio (local/Docker)
  • API: Calls the Philidor Public API — no API key needed
  • Stateless: Fresh server instance per request, no session state
  • Data: 700+ vaults across Ethereum, Base, Polygon, Gnosis, and more

Supported Protocols

Morpho, Aave v3, Yearn v3, Beefy, Spark, Fluid, Euler — 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 start

The server connects to the public Philidor API by default. To use a custom API endpoint:

PHILIDOR_API_URL=http://localhost:3003 npm start

License

MIT

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Serper MCP ServerA Serper MCP Server
DeepChatYour AI Partner on Desktop
Playwright McpPlaywright MCP server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
ChatWiseThe second fastest AI chatbot™
WindsurfThe new purpose-built IDE to harness magic
Amap Maps高德地图官方 MCP Server
CursorThe AI Code Editor
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Tavily Mcp
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.