magpie-mcp
Provides LLMs and agents with read-only access to Magpie Capital's Solana lending protocol data, including live stats, collateral catalog, and per-token loan terms, plus guidance for agent borrowing via x402 endpoints.
README
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 |
|---|---|
magpie_protocol_stats |
Live on-chain protocol stats (loans, repayment rate, SOL lent) |
magpie_list_collateral |
The full live collateral catalog — 160+ tokens across memecoins, tokenized stocks/ETFs, gold & silver |
magpie_token_terms |
"Can I borrow against X, and on what terms?" — per-token LTV/fee/duration ladder |
magpie_x402_guide |
How autonomous agents borrow programmatically via x402 payment-gated endpoints |
magpie_borrow_quote |
Live borrow quote — real production numbers for any token/amount/tier, prices auto-resolved |
magpie_protocol_pulse |
Live 24h aggregates (loans, volume, repays, liquidations) by program version |
magpie_wallet_loans |
Any wallet's full on-chain loan history |
magpie_agent_leaderboard |
The on-chain credit league — top borrowers by credit score |
magpie_safety_brief |
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
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.