mcpField
G
GoldBean - Baidu AI API Marketplace with x402 Micropayments

GoldBean - Baidu AI API Marketplace with x402 Micropayments

Local
goldbean-api.xyzDeveloper Tools1Updated 13w ago

About GoldBean - Baidu AI API Marketplace with x402 Micropayments

GoldBean is an MCP server offering Baidu AI and blockchain data APIs for agents. It combines free endpoints with x402-based USDC payment for paid calls, without requiring signup or an API key.

Key features

  1. 01Baidu AI endpoints for OCR, TTS and LLM
  2. 02Free blockchain price and gas data
  3. 03Paid crypto and DeFi data endpoints
  4. 04Per-call USDC payments via x402

Use cases

  1. 01Retrieve OCR, TTS or LLM services for an agent
  2. 02Check cryptocurrency prices and gas estimates
  3. 03Access DeFi, sentiment and token-risk data

MCP support

GoldBean provides an MCP endpoint that clients can configure at `/mcp`. Paid API calls use x402 challenges and USDC payments.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"goldbean": {
"command": "npx",
"args": [
"-y",
"goldbean-mcp-server"
],
"env": {
"GOLDBEAN_API_KEY": "<GOLDBEAN_API_KEY>"
}
}
}
}
Run commandnpx -y goldbean-mcp-server
Environment variables to set
GOLDBEAN_API_KEYSecret

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmgoldbean-mcp-server

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

🫘 GoldBean - x402 Micropaid API Marketplace

Official MCP Registry npm

Pay per request with USDC on Base. No signup, no API key, no monthly subscription. Every call costs $0.02 USDC via the x402 protocol.

GoldBean is live: http://104.225.233.23:9879


Quick Start

1. Prerequisites
  • USDC on Base (eip155:84532 testnet or eip155:8453 mainnet)
  • A wallet that can sign x402 payments (AgentCash, CDP Wallet, or any EVM wallet)
2. Try a Free Endpoint
curl http://104.225.233.23:9879/health
# {"status":"ok","service":"GoldBean","timestamp":"2026-05-15T12:00:00.000Z"}

curl http://104.225.233.23:9879/eth-price
# {"usd":"2255.93","change24h":"+0.31%","timestamp":"2026-05-15T12:00:00.000Z"}
3. Call a Paid Endpoint
curl http://104.225.233.23:9879/paid/btc-price
# HTTP 402 Payment Required
# x402-challenge: {...}

To pay the 402 and get data, you need an x402-capable client:

Using AgentCash:

npx agentcash@latest fetch http://104.225.233.23:9879/paid/btc-price

Using x402-proxy (CLI tool):

npx x402-proxy http://104.225.233.23:9879/paid/btc-price

Using curl with manual payment (advanced):

# Step 1: Request triggers 402
curl -s -D - http://104.225.233.23:9879/paid/btc-price

# Step 2: Parse x402-challenge header, sign with your wallet
# Step 3: Retry with x402-payment header
curl -H "x402-payment: <signed-payment>" http://104.225.233.23:9879/paid/btc-price
4. MCP Integration

Add to Claude Desktop / Cursor / Cline mcpServers config:

{
  "mcpServers": {
    "goldbean": {
      "url": "http://104.225.233.23:9879/mcp"
    }
  }
}

Available Endpoints

Free (no payment needed)
EndpointDescription
GET /Service info & endpoint list
GET /healthHealth check
GET /eth-priceReal-time ETH price (via CoinGecko)
GET /gasETH gas price estimate
GET /cardService card / metadata
GET /mcpMCP protocol manifest
Paid ($0.02 USDC per call)
EndpointDescription
GET /paid/btc-priceReal-time BTC price (via CoinGecko)
GET /paid/gas-forecastGas price forecast
GET /paid/market-intelMarket sentiment & Fear & Greed Index
GET /paid/defi-insightsDeFi TVL & chain data
GET /paid/network-healthBlockchain network health
GET /paid/tracker-reportMEV & on-chain tracker report
GET /paid/sol-token-riskSolana token risk assessment

How x402 Payment Works

Client                          GoldBean Server
  │                                   │
  ├─ GET /paid/btc-price ─────────────┤
  │◄─ 402 Payment Required ───────────┤
  │   x402-challenge: {...}           │
  │                                   │
  ├─ Sign challenge with wallet ──────┤
  │   (off-chain, no gas fee)         │
  │                                   │
  ├─ GET /paid/btc-price ─────────────┤
  │   x402-payment: <signed>          │
  │◄─ 200 OK ─────────────────────────┤
  │   {"usd":"68000.00",...}          │
  │                                   │

The facilitator (x402.org) handles settlement. Your wallet sends USDC only when challenge is accepted. No recurring charges.


Data Sources

  • CoinGecko API — Real-time cryptocurrency prices
  • Etherscan API — Gas price oracle
  • Alternative.me — Fear & Greed Index

Seller Info

  • Seller wallet: 0xB5f5CBe48E0595C044Bc626f278F757463eAc2Ce (Base)
  • Network: eip155:84532 (Base Sepolia testnet) → migrating to eip155:8453 (Base mainnet)
  • Facilitator: https://x402.org/facilitator
  • Price: $0.02 USDC per paid call

Architecture

┌─────────────┐     x402 protocol      ┌──────────────┐
│   Client    │ ◄─────────────────────► │   VPS (USCA) │
│ (curl/Agent)│     HTTP + 402 flow     │  GoldBean 🫘 │
└─────────────┘                         │  :9879       │
       │                                └──────┬───────┘
       │         ┌──────────────┐              │
       └────────►│    Email     │◄─────────────┘
                 │  (Gmail)     │  Monitor alerts
                 │   Monitor    │
                 └──────────────┘

Development

# Server
cd /opt/goldbean
npm install express axios @x402/express @x402/core @x402/evm
node server.js

# Monitor
python3 /opt/goldbean/chain_monitor.py

Ecosystem


Built on Bandwagon VPS (USCA-2). Part of the x402 ecosystem.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.