Skip to main content
Glama
yg-base-mcp
by ufo1898

yg-base-mcp

MCP server for live Base chain data, paid per call in USDC over x402. No API key, no signup, and the buyer needs no ETH — payments ride EIP-3009 (transferWithAuthorization) and the seller submits the transfer, so gas is on the seller.

  • Hosted MCP endpoint (Streamable HTTP): https://yg-base.lxin952.workers.dev/mcp

  • Discovery: /openapi.json · /.well-known/x402 · /llms.txt

  • Network / asset: Base mainnet eip155:8453, USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Tools

tool

price

what you get

free_sample

free

best Base USDC yield right now + one-line conclusion

yields

0.002 USDC

live supply rates across Aave, Moonwell, Compound III on Base

arb

0.002 USDC

cross-venue round-trip spreads (Aerodrome / Uniswap V3 / Sushi), incl. gas and break-even size

pools

0.002 USDC

pool withdrawability: cash on hand, utilisation, whether you can actually exit

tokenrisk

0.005 USDC

risk check for any Base token: honeypot verdict, buy/sell tax, safe exit size, pair age, holder concentration

plan

0.005 USDC

given size and horizon: where to put it, net yield after gas, minimum size worth moving

wallet

0.010 USDC

health check for any Base wallet: balances, yield positions, exit feasibility, gas runway, risk list

Related MCP server: Omni Service Node

Use it

Any MCP client that speaks Streamable HTTP:

{
  "mcpServers": {
    "yg-base-data": {
      "type": "http",
      "url": "https://yg-base.lxin952.workers.dev/mcp"
    }
  }
}

Local stdio proxy

npx yg-base-mcp
{
  "mcpServers": {
    "yg-base-data": { "command": "npx", "args": ["-y", "yg-base-mcp"] }
  }
}

Override the upstream with YG_BASE_MCP_URL.

How payment works

  1. tools/call a paid tool without _payment → you get payment_required plus payTo, price and the GET <resource> URL.

  2. GET that URL with no header → HTTP 402, and the PAYMENT-REQUIRED header carries the full x402 v2 challenge (base64 JSON).

  3. Sign an EIP-3009 TransferWithAuthorization for the quoted amount to payTo on Base.

  4. Base64 the {x402Version:2, scheme, network, payload:{signature, authorization}} envelope into _payment and call the tool again. The seller submits the transfer and pays gas; the same authorization can't be replayed.

_payment also accepts an X-PAYMENT envelope carrying a txHash if you already sent the USDC yourself.

Why this exists

Agents that route stablecoin liquidity need three numbers before they move money: the live rate, the exit risk, and the gas-adjusted break-even size. This server answers those from chain state rather than from a stale database, at a price small enough that an agent can call it per decision.

MIT licensed.

Available Tools

7 tools
arbB

Base 跨所往返价差快照(Aerodrome / Uniswap V3 / Sushi,含 gas 与盈亏平衡体量) — 0.002 USDC per call (x402, Base USDC, no signup)

Inputs: _payment.

free_sampleC

Free teaser: best Base USDC yield right now, one conclusion. No payment.

Inputs: days, amount.

planA

可执行建议:给定本金与天数,算出该放哪、净赚多少、进出 gas 成本、最小值得搬的本金 — 0.005 USDC per call (x402, Base USDC, no signup)

Inputs: days, amount, _payment.

poolsC

Base 生息池提现健康度(池内现金 / 利用率 / 提现可行性) — 0.002 USDC per call (x402, Base USDC, no signup)

Inputs: _payment.

tokenriskA

任意 Base 代币风险体检:蜜罐判定、买卖税、可安全退出规模、池龄与持币集中度(?address=0x…) — 0.005 USDC per call (x402, Base USDC, no signup)

Inputs: address (required), _payment.

walletA

任意 Base 钱包体检:余额、生息位置、Moonwell 能不能取出、gas 续航、风险清单(?address=0x…) — 0.010 USDC per call (x402, Base USDC, no signup)

Inputs: address (required), _payment.

yieldsB

Base 稳定币最优收益(Aave / Moonwell / Compound III 实时链上利率) — 0.002 USDC per call (x402, Base USDC, no signup)

Inputs: _payment.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 7 tools

    Disambiguation4/5

    Each tool targets a distinct Base DeFi analysis task: planning, token risk, wallet health, yield discovery, arbitrage, pool withdrawal health, and a free yield sample. The main overlap is among yields, free_sample, and plan, which all touch yield discovery, though their depth and payment model clarify the difference.

    Naming Consistency3/5

    Most names are short lowercase nouns, but tokenrisk is concatenated while free_sample uses an underscore, mixing conventions. The set is still readable, just not fully predictable.

    Tool Count5/5

    Seven tools is well-scoped for a Base DeFi analytics server, with each tool covering a distinct analysis domain. No obvious filler tools are present.

    Completeness4/5

    The surface covers the core decision-support lifecycle: yield discovery, pool liquidity, arbitrage, token risk, wallet risk, and a planning tool that combines them. Minor gaps exist around execution or ongoing monitoring, but the stated analytics purpose is well covered.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Eight crypto and DeFi data tools for AI agents: prices, gas, one ParaSwap route quote, GoPlus token security and top-holder samples, DefiLlama yields, Hyperliquid/dYdX funding, and observed wallet balances. Inspect prices free; pay 0.001–0.008 USDC per call on Base through x402. No API key or subscription.
      8
      87 npm
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      56 pay-per-call MCP endpoints for AI agents. Market signals, macro economics, crypto/DeFi, geopolitical intelligence, SEC filings, GitHub velocity, sanctions screening. USDC on Base Mainnet via x402.
      -
    • A
      license
      A
      quality
      C
      maintenance
      Enables MCP-capable AI agents to make pay-per-call Solana data requests (snapshots, risk checks, token reports, health, balances, transactions, trending pairs) with automatic USDC settlement over x402.
      5
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to access crypto market data such as prices, extreme funding rates, and briefs through MCP tools, with paid calls settled in USDC on Base via x402.
      MIT