# stablecoin-yield [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/YBSbarker/barker-mcp  
**GitHub Stars:** 2  
**npm Downloads (last month):** 253  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/stablecoin-yield

## Description
Barker: real-time stablecoin yield index + AI advisor + non-custodial deposit/redeem (x402 paid).

## Tools
Capabilities this server exposes over MCP:

- **barker_defi_vaults** — Query real-time stablecoin supply yield pools from Barker's index of 500+ DeFi protocols. Returns ranked rows with protocol_name, chain_name, asset_symbol, supply_apy_total (decimal — multiply by 100 for %), and supply_tvl (USD). Use for questions like 'best stablecoin yield', 'where to earn on USDC', 'compare lending rates', '稳定币利率'.
- **barker_market_overview** — Stablecoin market snapshot: total market cap, yield-bearing cap, asset distribution, chain distribution. Use for 'stablecoin market cap', 'USDT market share', '稳定币市场份额'. share_pct fields are decimals (0.425 = 42.5%).
- **barker_market_trend** — Historical APY trend for stablecoins vs. US Treasury benchmark over a lookback window (7–180 days). Use for 'DeFi vs treasury', 'is stablecoin APY going up', 'crypto yield trend', '稳定币利率走势'.
- **barker_agent_payment_stats** — Agent-economy payment metrics from Barker's cross-protocol index. x402 (Base) is on-chain verifiable; Virtuals ACP, Google AP2, Stripe-Tempo MPP, OKX MPP, and Mastercard AP4M are self-reported claims. Separates real vs nominal volume by filtering out wash/noise sellers (avg_tx_usd < $0.02 with a very high tx-per-buyer ratio). Three views: 'summary' (hero KPIs + cross-protocol comparison table), 'trend' (daily tx / nominal & real volume / buyers), 'leaderboard' (top x402 sellers/endpoints by revenue). Use for 'x402 volume', 'agent payment stats', 'agent economy metrics', 'how big is x402', 'top x402 sellers', 'real vs nominal agent GMV', '智能体支付', 'x402 交易量'. All *_share_pct and noise_share_pct fields are percentages (77.0 = 77%); volume fields are USD.

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

```json
"mcpServers": {
  "stablecoin-yield": {
    "command": "npx",
    "args": ["-y","-p","@barkermoney/skills","barker-mcp"],
    "env": {
      "BARKER_API_BASE": ""
    }
  }
}
```

**Requires environment variables:** `BARKER_API_BASE` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What stablecoin-yield does

stablecoin-yield provides MCP access to Barker’s index of stablecoin yield opportunities across more than 500 DeFi protocols. Agents can compare pools by protocol, chain, asset, APY, and TVL; inspect broader stablecoin market conditions; and examine yield trends against a US Treasury benchmark.

The hosted service also includes analytical and execution-oriented tools. Agents can search and inspect individual pools, request ranked yield recommendations with risk flags, find supported cross-chain routes, check ERC-4626 vault positions, and obtain unsigned deposit or redeem transactions. Barker never broadcasts transactions or takes custody of funds. The wallet controlled by the user signs and submits the returned transaction.

## How it works

The remote MCP endpoint is available at `https://mcp.barker.money/mcp` over stateless streamable HTTP. It does not require signup or an API key. Tool calls are paid individually through x402; an unpaid request returns an HTTP 402 challenge that must be settled before retrying the call.

Payment settlement supports USDT0 or USDC on X Layer, Base, Ethereum, Polygon, and Arbitrum through listed facilitators including OKX, Coinbase CDP, and Circle Gateway. Discovery and `tools/list` remain free. Hosted tools return data directly to the agent, while execution quotes contain an unsigned transaction with `chainId`, `to`, `data`, and `value`. Returned calldata includes the amount in base units for verification before signing.

The service includes data tools such as `barker_defi_vaults`, `barker_market_overview`, `barker_market_trend`, and `barker_agent_payment_stats`. Its broader hosted tool set also covers pool search and detail, pool history, yield advice, cross-chain routes, executable pools, execution quotes, vault positions, and paper-trading hedge-farm snapshots.

## Setup and configuration

For a remote connection, add the endpoint to an MCP client as a streamable HTTP server. Claude Code can register it with:

```bash
claude mcp add --transport http barker https://mcp.barker.money/mcp
```

Cursor, Cline, and other MCP hosts can use the same URL in their MCP configuration. A direct smoke test can call the endpoint with `curl` and request `tools/list` using JSON-RPC.

Self-hosting is available through the `@barkermoney/skills` package and its `barker-mcp` stdio command. This mode wraps Barker resource endpoints as local tools and is intended for operators using their own API base, configured with `BARKER_API_BASE`. The bundled stdio server exposes the vault, market overview, and market trend tools rather than the full hosted execution set.

## Tools and capabilities

- Query ranked stablecoin pools with APY, TVL, protocol, chain, and asset fields.
- Search or inspect pools and review historical APY and TVL series.
- Compare stablecoin market capitalization, yield-bearing supply, and asset or chain distribution.
- Track stablecoin APY against the US Treasury benchmark over 7–180 days.
- Review x402 and other agent-payment metrics, including real versus nominal volume and seller rankings.
- Obtain risk-aware yield suggestions, executable pool lists, wallet position data, and unsigned vault transactions.

APY values from the yield index are decimal values and must be multiplied by 100 to display percentages. Market share fields use decimal fractions, while payment share fields use percentage values. Execution is same-chain only, and vault shares are sent to the signing wallet because `receiver` is not a transaction parameter.

_Full upstream README: https://allmcps.com/mcp/stablecoin-yield/readme_

