magpie-mcp
OfficialProvides read-only tools to interact with the Magpie Capital lending protocol on Solana, allowing agents to query live protocol statistics, browse collateral catalogs, check token borrowing terms, and access guidance for x402-based programmatic borrowing.
Click on "Install 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., "@magpie-mcpWhat are the current protocol stats?"
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.
magpie-mcp
MCP (Model Context Protocol) server for Magpie Capital — the Solana lending protocol for humans and AI agents.
Gives any MCP-capable LLM (Claude, etc.) native tools:
Tool | What it answers |
| Live on-chain protocol stats (loans, repayment rate, SOL lent) |
| The full live collateral catalog — 160+ tokens across memecoins, tokenized stocks/ETFs, gold & silver |
| "Can I borrow against X, and on what terms?" — per-token LTV/fee/duration ladder |
| How autonomous agents borrow programmatically via x402 payment-gated endpoints |
| Live borrow quote — real production numbers for any token/amount/tier, prices auto-resolved |
| Live 24h aggregates (loans, volume, repays, liquidations) by program version |
| Any wallet's full on-chain loan history |
| The on-chain credit league — top borrowers by credit score |
| Read before advising a borrow — real risks, no-margin-call terms, liquidation mechanics, Sec3 posture |
Read-only by design: this server holds no keys and signs nothing — the safe one-line mount for research and quoting.
Want your agent to EXECUTE — borrow, arm exits, repay? Use the full 26-tool desk: @magpieloans/magpie-mcp (registry: io.github.magpiecapital/magpie-mcp) — wraps every x402 endpoint, with an optional payer keypair for paid calls. Start here read-only; graduate there to act. Agent-side execution happens through Magpie's x402 endpoints.
Install (Claude Desktop / Claude Code)
{
"mcpServers": {
"magpie": {
"command": "npx",
"args": ["-y", "github:magpiecapital/magpie-mcp"]
}
}
}Claude Code: claude mcp add magpie -- npx -y github:magpiecapital/magpie-mcp
Related MCP server: DeFi Rates MCP Server
More for LLMs
https://magpie.capital/llms.txt · https://magpie.capital/llms-full.txt
Live stats API: https://www.magpie.capital/api/v1/stats
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides unified access to real-time and historical Solana ecosystem data through 40+ API endpoints, enabling LLM agents to query tokens, wallets, trades, and DeFi metrics.
- AlicenseBqualityFmaintenanceProvides AI assistants with access to real-time DeFi lending rates and yield data across 14+ protocols and multiple blockchains. Enables querying borrow/supply rates, comparing platforms, calculating leverage strategies, and finding best earn opportunities.6214MIT

circuit-mcpofficial
AlicenseBqualityBmaintenanceProvides AI agents with real-time Solana data and agent-swarm intelligence as tools, with auto-paid per-call micropayments in CIRC via x402.1055MIT
Related MCP Connectors
Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.
63 pay-per-call tools for agents: vision, text, data, web, blockchain. USDC on Base via x402.
Agentic Finance: 500+ tools for AI agents over x402 or MPP, free via PoW, or prepaid card credits
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/magpiecapital/magpie-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server