{"name":"io.github.AsaiShota/mcp-server","slug":"asaishota-mcp-server","title":"x402-market","description":"Let AI agents pay-per-call for any HTTP API via x402 on Base mainnet. One tool: pay_and_call.","url":"https://mcp.market/server/asaishota-mcp-server","rating":null,"grade":"C","score":55,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":11,"stars":null,"forks":null,"downloads_week":37,"last_push_at":null,"license":"MIT"},"uptime":null,"claimed":false,"transport":"npm","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/AsaiShota/x402-market","website":"https://x402-market-api.lien-studio-akiyama.workers.dev","version":"0.2.0-alpha.1","remotes":[],"packages":[{"registryType":"npm","identifier":"@x402-market/mcp-server","version":"0.2.0-alpha.1","transport":{"type":"stdio"},"environmentVariables":[{"description":"Marketplace API base URL.","default":"https://x402-market-api.lien-studio-akiyama.workers.dev","name":"MARKET_API_URL"},{"description":"Funded buyer wallet private key (0x-prefixed). Required for pay_and_call; read-only tools work without it.","isSecret":true,"name":"MCP_BUYER_PRIVATE_KEY"},{"description":"Base RPC endpoint. Defaults to Base mainnet public RPC; Alchemy/QuickNode recommended for higher rate limits.","default":"https://mainnet.base.org","name":"BASE_RPC_URL"},{"description":"8453 = Base mainnet (default, matches live listings). 84532 = Base Sepolia testnet.","format":"number","default":"8453","name":"BASE_CHAIN_ID"},{"description":"Hard cap on per-call cost (USDC). Refuses to pay above this.","default":"1.0","name":"MCP_MAX_PRICE"}]}],"tools":[{"name":"call_api_paid","description":"[Low-level / debugging only.] Use this tool when you have already broadcast a USDC payment yourself and just need the marketplace to verify+forward. Returns the upstream API response. For end-to-end pay-then-call in one step, use pay_and_call instead.","write_action":false,"price_micros":0,"input_schema":null},{"name":"call_api_unpaid","description":"[Low-level / debugging only.] Use this tool when you want to inspect a listing's exact 402 challenge (price, recipient, network) without spending USDC. Returns the raw 402 body. For production use, prefer pay_and_call --this tool does NOT invoke the upstream API.","write_action":false,"price_micros":0,"input_schema":null},{"name":"claim_refund","description":"Use this tool when a previously paid call failed (upstream returned non-2xx or took >30s) and the user asks for a refund. Auto-judge approves on status='failed' or latency_ms>30000, rejects otherwise. Returns the API's HTTP status + JSON response (judgment + refund_status). Approved refunds broadcast on the next payout-cron run (Mon 00:00 UTC); rejected refunds are final. Signs the request with MC","write_action":true,"price_micros":0,"input_schema":null},{"name":"get_listing","description":"Use this tool when you already have a listing slug and need its full schema before invoking it (request_schema, response_schema, example_request, example_response, when_to_use, output_format_description). Returns one listing as JSON. Prefer this over list_catalog when the slug is known --it is one row, not the entire catalog.","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_catalog","description":"Use this tool when the user asks what APIs are available, or you need to discover paid APIs to satisfy a task (e.g. 'find a sports prediction API'). Returns a JSON array of active marketplace listings with seller_slug, listing slug, name, description, price_usdc, category, use_cases, and tags --enough metadata to pick which listing to call without a second round-trip.","write_action":false,"price_micros":0,"input_schema":null},{"name":"pay_and_call","description":"Use this tool when the user wants to actually invoke a paid API and receive its response (the normal case). End-to-end: GET the 402 price, send USDC on Base from the configured buyer wallet, retry with X-Payment, and return the upstream JSON. Returns { status, data, tx_hash, price_paid_usdc, pay_to } as text. The agent never has to handle a wallet, chain id, or payment header itself --this tool is","write_action":true,"price_micros":0,"input_schema":null}],"scan":{"score":55,"grade":"C","scanned_at":"2026-09-27T21:49:23.653Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-27T21:49:23.535Z","components":{"code":{"score":25,"max":25,"notes":["2 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":6,"max":15,"notes":["static API keys via environment variables"]},"maintenance":{"score":3,"max":15,"notes":["repository not readable: repo not found"]},"identity":{"score":2,"max":10,"notes":["no repository or website to verify"]}},"findings":[],"inputs":{"packages":[{"registryType":"npm","identifier":"@x402-market/mcp-server","version":"0.2.0-alpha.1","found":true,"license":"MIT","hasInstallScripts":false,"dependencyCount":3,"publishedAt":"2026-05-02T06:14:23.747Z","repositoryUrl":"git+https://github.com/AsaiShota/x402-market.git","weeklyDownloads":37}],"repo":{"found":false,"owner":"AsaiShota","repo":"x402-market","error":"repo not found"},"icon":{"url":null,"source":"none"},"presence":{"stars":null,"forks":null,"downloadsWeek":37,"license":"MIT","lastPushAt":null,"score":11}}}},"grade_history":[],"reviews":[]}