The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the X402 Bazaar MCP listing page.
Hosted, no install: point any MCP client at https://402.com.tr/mcp —
Streamable HTTP, one tool per catalogued service, no wallet held server-side. Or
run it locally with npx as described below; both talk to the same catalog. The
current tool list is always
the server card; a number
written here would be wrong the next time a service is added.
The Base token-safety toolkit for AI agents. An MCP (Model Context Protocol) server that gives your agent the checks it needs before it touches a Base token — including a 30-tool B20 (Base-native token standard) suite covering freeze/seize powers, policy changes, mint headroom and rebase history — which also covers all 13 of Coinbase's tokenized equities, telling a real issuance apart from a token merely wearing an equity ticker by reading who administers the transfer policy on chain rather than by consulting a list of addresses, so a newly issued one is recognised the day it appears — pre-trade GO/HOLD/STOP gates, honeypot & sellability checks, wallet + approval audits, sign-guard, prices and AI reports. Every paid API in the x402 Bazaar catalog, exposed as a callable tool (Claude Desktop, Cursor, Cline, Windsurf, VS Code, Coinbase AgentKit, custom agents).
Bind these first: pre_trade_gate (any token), b20_gate (Base-native B20
tokens), sign_guard (before signing a tx).
No wallet needed to start. Run it with no key, no token and no config at all
and it uses the free tier — one free call/day on each service that offers
one. Roughly a third of the catalogue does not: AI and metered services are
always paid, and every entry in
the catalogue says which it is under
freeTier. When you outgrow
that, a prepaid credit token keeps it walletless: one purchase, then every call
is just an HTTP header. A wallet is only needed for the third mode, per-call
payment.
Each tool call is otherwise backed by an x402 micro-payment in USDC on Base — no API keys, no subscriptions, no sign-up. The agent pays only for what it uses, typically fractions of a cent per call.
Works with zero config. Run it with no wallet and no token and it uses the free tier (one free call/day on each service that offers one, then a preview) — so an agent can try most of the catalogue instantly, and sees a priced 402 on the AI and metered tools rather than a surprise. Unlock unlimited paid calls with either a prepaid credit token (one x402 purchase up front, then no wallet or signing per call) or a wallet key.
https://402.com.tr/api/catalog and auto-registers one MCP tool per
service.HTTP 402 → pay USDC on Base → retry → return response, gasless for the payer
(the facilitator pays gas).| Mode | Set | What happens | Wallet? Signing? |
|---|---|---|---|
| Credits ⭐ | X402_CREDIT_TOKEN | Sent as x-credit-token; each call debits your prepaid balance | No / No |
| Wallet | AGENT_PRIVATE_KEY | Signs an x402 USDC payment locally per call | Yes / Yes |
| Free | (nothing) | Free tier: 1 full call/day/service, then a preview | No / No |
Credits are the easiest paid mode day-to-day: buying the pack takes ONE x402
settlement (call the buy_credits tool in wallet mode, or pay
https://402.com.tr/api/x402/buy-credits?tier=0.25|1|5|20 from any x402 client),
which returns a ck_… token. Set it as X402_CREDIT_TOKEN and every later call
just draws down the balance — no private key ever touches this config again.
Tiers: $0.25 starter, $1, $5 (+10%), $20 (+20%).
| Variable | Required | Default | Description |
|---|---|---|---|
X402_CREDIT_TOKEN | no | — | Prepaid credit token (ck_…) from buy-credits. Sent as x-credit-token; debits your balance per call. No wallet needed. Recommended paid mode. |
AGENT_PRIVATE_KEY | no | — | Hex private key for a Base wallet holding USDC. 0x prefix optional. Used only if no credit token is set. |
X402_BAZAAR_CATALOG | no | https://402.com.tr/api/catalog | Override the catalog URL (useful for local dev). |
With none of the above set, the server runs on the free tier.
Add the following to your claude_desktop_config.json
(usually ~/Library/Application Support/Claude/claude_desktop_config.json on
macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows):
Omit the env block entirely to run on the free tier (great for a first
try), or use "AGENT_PRIVATE_KEY": "0x…" instead of the credit token to pay
from a wallet.
After saving, restart Claude Desktop. You should see the Bazaar tools appear in the tool list (hammer icon).
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json in your project:
In the Cline panel → MCP Servers → Configure (cline_mcp_settings.json):
Add to ~/.codeium/windsurf/mcp_config.json:
Add to .vscode/mcp.json in your workspace (or run MCP: Add Server):
Every client above works the same way: omit env to run on the free tier,
or swap the credit token for "AGENT_PRIVATE_KEY": "0x…" to pay from a wallet.
Because this is a standard MCP stdio server, any MCP-capable agent runtime can load and pay for the Bazaar's tools — including Coinbase's own agent stack, with no bespoke integration:
npx awal)Coinbase Agentic Wallets ship
native x402 support and an MCP interface. Point the wallet's MCP config at
npx x402-bazaar-mcp, and the agent can call — and pay for — any Bazaar service
straight from its MPC-secured wallet, gasless on Base. The x402 payment handshake
is handled for you: HTTP 402 → pay USDC on Base → retry → response.
Two ways in:
command: "npx", args: ["-y", "x402-bazaar-mcp"], and X402_CREDIT_TOKEN
or AGENT_PRIVATE_KEY in env). The agent gains every Bazaar tool —
B20 freeze/seize checks, pre-trade gates, honeypot/sellability, deployer
reputation, exit liquidity, live DEX prices, gas, tx decode, Claude reports —
as pay-per-call actions, no action provider to write.GET https://402.com.tr/api/x402/<service>
and pay the returned 402 from its own wallet. The 402 body includes a
machine-readable alternatives block (starter credits first) so the agent can
pick the cheapest on-ramp programmatically.Either way the agent pays only for the calls it makes, in USDC on Base, gasless.
Add it as an MCP server in one command:
Then ask Claude Code to check a token, price a portfolio, or screen an address — it calls the right Bazaar tool and settles the micro-payment automatically.
Agents need fresh on-chain data and AI utilities but don't want to manage RPC endpoints, scrapers, security heuristics, or per-provider API keys. One MCP server plus a credit token (or a funded wallet) gives them everything — contract safety checks, live DEX prices, gas estimates, transaction decoding, and Claude-powered reports — all pay-per-use, with no subscriptions or sign-up required.
Tools are loaded live from the catalog, so the list stays current. At the time of writing it includes:
| Tool | Price | What it does |
|---|---|---|
pre_trade_gate | $0.10 | The one call before a trade — risk + sellability + route + deployer → GO/HOLD/STOP |
token_risk | $0.03 | Token safety score (honeypot, taxes, ownership, holders) for any Base token |
sellability | $0.08 | Can you actually SELL it? Honeypot/tax/lp simulation verdict |
ai_token_report | $0.12 | Claude-written full due-diligence report on a token |
sanctions | $0.02 | Screen an address against the OFAC sanctions list |
holders | $0.02 | Top holders, concentration (whale risk) & LP lock for a token |
token_price | $0.02 | DEX price + liquidity for a Base token |
multi_price | $0.02 | Prices for up to 10 Base tokens in one call |
address_intel | $0.02 | EOA/contract, ETH+USDC balance, activity for any address |
wallet_tokens | $0.02 | Portfolio of major Base tokens + USD value |
gas_oracle | $0.01 | Live Base gas estimates (slow/normal/fast) |
tx_decode | $0.02 | Structural decode of a Base transaction |
contract_abi | $0.02 | Is a contract verified? Get its ABI (Sourcify) |
basename | $0.01 | Resolve Basenames ↔ addresses on Base |
trending_tokens / new_tokens | $0.01 | Trending & freshly listed Base tokens |
price_alert | $0.05 | Register an alert when a token crosses a price (webhook or poll) |
buy_credits | $0.25–$20 | Buy a prepaid credit pack (tier param) — unlocks walletless calls |
Prices shown as of this release — the authoritative price is always in the live
catalog and in each 402 challenge. The table above is a sample: the tool list is
loaded live from the catalog at startup, so the server always exposes
everything the marketplace currently sells — including the
B20 safety suite, the web and business checks (url_extract, email_verify,
domain_check) and anything added since this README was written.
Once installed, just ask your agent naturally — it picks the right tool and pays per call:
"Is
0x…a safe token to buy on Base? Check the risk and current price."
The agent calls token_risk and token_price, each settling a tiny USDC payment
from your wallet, and answers with the on-chain data.
"Is this NVDA token on Base the real Coinbase one?"
b20_safety answers from the chain rather than from a list: it reads who
administers the token's transfer policy and reports whether that is the operator
behind Coinbase's confirmed issuances. A lookalike can copy the ticker, the name
and even a 0xb200… vanity address; it cannot borrow the policy administrator.
The same answer carries the issuer's powers — holder-eligibility gating, gated
mint, and the rebase multiplier that redenominates every balance at once — as
facts about a regulated instrument, not as a risk score to be alarmed by.
token_risk — low-risk tokentoken_price — DEX price and liquidityPrepaid credits (recommended) keep wallets out of your agent config — buying
the pack takes one x402 settlement, but after that the ck_… token is all the
agent holds: a bearer capability worth only its remaining balance, so a leaked
token can lose at most what's left on it, never a wallet. Buy a small pack and
rotate it if needed.
If you use wallet mode instead, your private key is only used locally inside this process to sign payment authorizations. It is never sent to the Bazaar server or any third party. Use a dedicated spending wallet (not your main wallet) and keep only a small USDC balance on it.
MIT