Magpie Capital

io.github.magpiecapitalPublished by GitHub account magpiecapitalv0.3.0Updated Oct 25, 2026

Solana lending tools: live stats, 160+ collateral tokens, loan terms, x402 agent borrowing

The publisher's own server: capital.new mandate draft tools

VerifiedSTDIODesktop onlyFinanceAI & ML

Overview

AI-generated overview

Read-only Solana lending MCP server for Magpie Capital, letting an assistant query protocol stats, collateral tokens, loan terms and borrow quotes.

What you can do
Look up live protocol stats and 24-hour aggregates (loans, repayment rate, volume, liquidations) plus a protocol safety brief. Browse the collateral catalog of 160+ tokens and check per-token LTV, fee and duration terms. Get a live borrow quote for any token, amount and tier. Read any wallet's on-chain loan history and a leaderboard of top borrowers by credit score. Learn how autonomous agents borrow programmatically through x402 payment-gated endpoints.
When to use it
Use it to research Solana lending, check whether a token can be used as collateral and on what terms, or learn how autonomous agents borrow through x402. It suits read-only research and quoting before deciding whether to move to the full version that can execute borrows.
Requirements
Runs as a local process and needs a Node.js environment (started via npx). Needs network access to fetch on-chain and protocol data. No account, API key or environment variable is required.
Before you install
This version is read-only by design and holds no keys or signing ability, but queries are still sent to Magpie's services. Actually borrowing, repaying or arming exits requires a separate full version that can take an optional payer keypair, which involves paid calls and funds at risk.

Installation

In SourceWeft

  1. Open Magpie Capital in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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:

ToolWhat it answers
magpie_protocol_statsLive on-chain protocol stats (loans, repayment rate, SOL lent)
magpie_list_collateralThe 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_guideHow autonomous agents borrow programmatically via x402 payment-gated endpoints
magpie_borrow_quoteLive borrow quote — real production numbers for any token/amount/tier, prices auto-resolved
magpie_protocol_pulseLive 24h aggregates (loans, volume, repays, liquidations) by program version
magpie_wallet_loansAny wallet's full on-chain loan history
magpie_agent_leaderboardThe on-chain credit league — top borrowers by credit score
magpie_safety_briefRead 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)

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

MIT

Source: README.md at commit 174af10

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.3.0LatestSep 16, 2026

Score

40% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.

Other Capital integrations