Claude MCP Integration
Add 402bazaar.com as an MCP server so Claude can discover, compare, and pay for services autonomously.
Configure the MCP server
Add 402bazaar.com to your Claude MCP config. Claude gets 12 tools for discovery, comparison, and purchasing.
// claude_desktop_config.json
{
"mcpServers": {
"402bazaar": {
"url": "https://402bazaar.com/api/v1/mcp",
"transport": "sse"
}
}
}Claude discovers services
Claude can now search, filter by category, compare pricing, and check schemas — all through natural language.
// Claude uses the discover tool automatically
"Find me a weather API that costs less than $0.01"
→ bazaar_discover({ q: "weather", maxPrice: "0.01" })
→ Returns matching services with pricing + schemasClaude pays and calls
Claude handles the full x402 flow: discover → 402 → sign USDC → get response. Budget controls limit spending.
// Claude uses the proxy tool
"Get the weather for San Francisco"
→ bazaar_call({ slug: "weather-api", body: { city: "SF" } })
→ Handles 402 + payment automatically
→ Returns weather dataOther Frameworks
OpenAI Function Calling
Use x402 services as OpenAI function calls. Your GPT agent discovers and pays for APIs on the fly.
LangChain Integration
Use 402bazaar.com services as LangChain tools. Agents discover, evaluate, and pay for the best service automatically.
Custom Agent Integration
Build x402 support into any agent framework. Raw HTTP, full control, no dependencies.