x402-bazaar-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AGENT_PRIVATE_KEY | Yes | Hex private key for a Base wallet holding USDC. '0x' prefix is optional. | |
| X402_BAZAAR_CATALOG | No | Override the catalog URL (useful for local dev). Default: https://402.com.tr/api/catalog | https://402.com.tr/api/catalog |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| token_riskA | Pass a token contract address and get a risk score + flags (ERC-20 conformance, ownership renounce, upgradeable proxy) computed live from Base. Built for trading bots and agents that vet tokens before buying. |
| address_intelA | EOA vs contract, ETH + USDC balance, transaction count and activity level — straight from Base RPC. Useful for counterparty and wallet checks. |
| gas_oracleA | Returns current Base gas fees (baseFee, maxPriorityFee) and three tiered suggestions (slow, normal, fast) in Gwei, derived live from the Base RPC. Built for agents that time or cost-estimate transactions. |
| token_priceA | Pass a Base token contract address and get the current USD price, 24h change, liquidity, and volume from DexScreener (highest-liquidity pair auto-selected). No API key required. |
| tx_decodeA | Provide a Base transaction hash and get a structured summary: from/to, ETH value, status, gas used, block, method selector, and nonce — straight from Base RPC. |
| wallet_tokensA | Returns native ETH plus WETH, USDC, USDbC, DAI, cbETH balances for any Base address, enriched with live USD values via DexScreener. Only non-zero holdings are returned. |
| trending_tokensA | Fetches the DexScreener boosts feed filtered to Base — up to 15 trending tokens with address, description, boost amount, and link. Great for discovery bots. |
| price_alertA | Pay once to register a price-threshold alert on any Base token. Supply target price, direction (above/below), and an https webhook URL. A polling cron checks DexScreener and POSTs your webhook the moment it crosses. Expires after 30 days. |
| contract_abiA | Checks Sourcify for a Base contract's verification status and returns its ABI as function/event name lists + item count (full or partial match). No API key required. |
| decode_selectorB | Resolves a 4-byte function selector (e.g. 0x70a08231) to candidate human-readable signatures via 4byte.directory. Accepts a bare selector or full calldata. |
| ai_summarizeA | Paste text and get a 3-5 bullet summary from Claude. Pay-per-call — no API key or subscription needed on your side. |
| ai_extractA | Pull named fields out of any text as clean JSON (e.g. name, email, company, date). Powered by Claude structured outputs. |
| ai_translateA | Translate text into a target language with Claude. One micro-payment per translation. |
| market_snapshotA | Returns a snapshot of major crypto assets with a pseudo-random intraday move. One USDC micro-payment per call. |
| weatherB | Pass a city and get a structured weather report. Mirrors the canonical x402 |
| quoteA | A rotating quote feed. The cheapest possible paid endpoint — perfect for testing your wiring. |
| secure_tokenC | Generate N url-safe random tokens server-side. Demonstrates a paid utility endpoint with a query parameter. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sukrutkrdg/x402-bazaar-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server