Philidor MCP Server

Philidor MCP Server

Provides DeFi vault risk analytics for AI agents to search, compare, and perform due diligence on over 700 vaults across major protocols like Morpho and Aave. It enables natural language analysis of risk scores, platform security, and portfolio-level risk assessments.

Category
访问服务器

README

<div align="center">

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

</div>


Why Philidor?

Most DeFi data tools give you raw numbers. Philidor gives your AI agent 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/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.

Parameter Type Description
query string Search by vault name, symbol, asset, protocol, or curator
chain string Filter by chain (Ethereum, Base, Arbitrum, ...)
protocol string Filter by protocol ID (morpho, aave-v3, yearn-v3, ...)
asset string Filter by asset symbol (USDC, WETH, ...)
riskTier string Filter by risk tier: Prime, Core, or Edge
minTvl number Minimum TVL in USD
sortBy string Sort field: tvl_usd, apr_net, name
sortOrder string Sort order: asc or desc
limit number Max results (default 10, max 50)

get_vault

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

Parameter Type Description
id string Vault ID (e.g. morpho-ethereum-0x...)
network string Network slug (ethereum, base, arbitrum)
address string Vault 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.

Parameter Type Description
network string Network slug
address string Vault contract address

compare_vaults

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

Parameter Type Description
vaults array Array 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.

Parameter Type Description
asset string Filter by asset symbol
chain string Filter by chain name
minTvl number Minimum TVL in USD

get_protocol_info

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

Parameter Type Description
protocolId string Protocol ID (morpho, aave-v3, yearn-v3, beefy, spark)

get_curator_info

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

Parameter Type Description
curatorId 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
score number Risk score (0-10)

Resources

URI Description
philidor://methodology The Vector Risk Framework v2.0 documentation
philidor://supported-chains Supported blockchain networks with vault counts
philidor://supported-protocols Supported DeFi protocols with TVL data

Prompts

Prompt Description
vault_due_diligence Comprehensive due diligence report for a vault
portfolio_risk_assessment Portfolio-level risk analysis across positions
defi_yield_comparison Yield 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

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         │◀────│              │
└──────────────────┘     └─────────────────┘     └──────┬───────┘
                          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

Links

License

MIT MCP Badge

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选