Skip to main content
ClaudeWave

MCP server for Magpie Capital — gives LLMs and agents native tools for the Solana lending protocol: live stats, collateral catalog, loan terms, x402 agent endpoints.

MCP ServersOfficial Registry1 stars0 forksJavaScriptUpdated today
ClaudeWave Trust Score
70/100
· OK
Passed
  • Actively maintained (<30d)
  • Clear description
  • Topics declared
  • Documented (README)
Flags
  • !No standard license detected
Last scanned: 8/22/2026
Install in Claude Code / Claude Desktop
Method: NPX · github
Claude Code CLI
claude mcp add magpie-mcp -- npx -y github
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "magpie-mcp": {
      "command": "npx",
      "args": ["-y", "github"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Use cases

MCP Servers overview

# magpie-mcp

MCP (Model Context Protocol) server for **[Magpie Capital](https://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`](https://www.npmjs.com/package/@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](https://magpie.capital/x402).

## Install (Claude Desktop / Claude Code)

```json
{
  "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
ai-agentsdefilendingllm-toolsmcpmodel-context-protocolsolanax402

What people ask about magpie-mcp

What is magpiecapital/magpie-mcp?

+

magpiecapital/magpie-mcp is mcp servers for the Claude AI ecosystem. MCP server for Magpie Capital — gives LLMs and agents native tools for the Solana lending protocol: live stats, collateral catalog, loan terms, x402 agent endpoints. It has 1 GitHub stars and its last recorded update is dated 2026-08-21.

How do I install magpie-mcp?

+

You can install magpie-mcp by cloning the repository (https://github.com/magpiecapital/magpie-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is magpiecapital/magpie-mcp safe to use?

+

Our security agent has analyzed magpiecapital/magpie-mcp and assigned a Trust Score of 70/100 (tier: OK). See the full breakdown of passed checks and flags on this page.

Who maintains magpiecapital/magpie-mcp?

+

magpiecapital/magpie-mcp is maintained by magpiecapital. The last recorded GitHub activity is dated 2026-08-21, with 0 open issues.

Are there alternatives to magpie-mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy magpie-mcp to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: magpiecapital/magpie-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/magpiecapital-magpie-mcp)](https://claudewave.com/repo/magpiecapital-magpie-mcp)
<a href="https://claudewave.com/repo/magpiecapital-magpie-mcp"><img src="https://claudewave.com/api/badge/magpiecapital-magpie-mcp" alt="Featured on ClaudeWave: magpiecapital/magpie-mcp" width="320" height="64" /></a>

More MCP Servers

magpie-mcp alternatives