# Magpie Capital [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/magpiecapital/magpie-mcp  
**GitHub Stars:** 2  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/magpie-capital

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

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "magpie-capital": {
    "command": "npx",
    "args": ["-y","github:magpiecapital/magpie-mcp"]
  }
}
```

## Documentation

## What Magpie Capital MCP server does

The Magpie Capital MCP server gives an MCP-capable model read-only access to information from Magpie Capital, a Solana lending protocol. It is intended for research, lending analysis, and quote generation rather than transaction execution. The server does not hold wallet keys and does not sign transactions.

Its data includes current protocol activity, available collateral, per-token borrowing terms, live quotes, loan history for a wallet, borrower rankings, and lending risk information. The collateral catalog covers more than 160 tokens, including memecoins, tokenized stocks and ETFs, gold, and silver.

## How it works

The server runs as an MCP process and exposes named tools that an MCP client can call from a conversation or agent workflow. Live values are resolved when the relevant tool is used, including production borrow quotes for a token, amount, and borrower tier. Prices for quotes are resolved automatically.

The server separates information access from transaction execution. It can explain how agents borrow through x402 payment-gated endpoints, but it does not perform borrowing, repayment, or exit-management actions itself. Those actions belong to Magpie’s separate x402 endpoint workflow and the larger execution package referenced by the project.

## Setup and configuration

The repository documents a GitHub-based installation for Claude Desktop:

```json
{
  "mcpServers": {
    "magpie": {
      "command": "npx",
      "args": ["-y", "github:magpiecapital/magpie-mcp"]
    }
  }
}
```

Claude Code can add the same server with:

```bash
claude mcp add magpie -- npx -y github:magpiecapital/magpie-mcp
```

No environment variables or private keys are specified for the read-only server. The documented setup uses `npx` to launch the repository package. Additional reference material is available through Magpie’s LLM documentation files and its live statistics API.

## Tools and capabilities

The Magpie Capital MCP server provides these documented tools:

- `magpie_protocol_stats` reports live on-chain totals such as loans, repayment rate, and SOL lent.
- `magpie_list_collateral` returns the current collateral catalog.
- `magpie_token_terms` explains whether a token can be used as collateral and gives its LTV, fee, and duration ladder.
- `magpie_borrow_quote` returns a live quote for a token, amount, and tier.
- `magpie_protocol_pulse` provides 24-hour loan, volume, repayment, and liquidation aggregates grouped by program version.
- `magpie_wallet_loans` retrieves a wallet’s on-chain loan history.
- `magpie_agent_leaderboard` shows leading borrowers by on-chain credit score.
- `magpie_x402_guide` describes programmatic borrowing through x402 payment-gated endpoints.
- `magpie_safety_brief` covers borrowing risks, no-margin-call terms, liquidation mechanics, and Sec3 posture.

## Limitations and notes

The Magpie Capital MCP server is read-only by design. It cannot borrow funds, arm exits, repay loans, or sign Solana transactions. Agents that need those operations must use the separate execution tooling and Magpie x402 endpoints described in the project documentation.

Live protocol information and quotes may change as on-chain activity, prices, and lending conditions change. The safety brief should be consulted before an agent advises on borrowing. The repository states that it is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/magpie-capital/readme_

