http-402-ai-tollbooth
Integrates with Alby to handle Bitcoin Lightning payments for dataset purchases, including invoice generation and payment verification.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@http-402-ai-tollboothList the catalog of troubleshooting datasets"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
HTTP 402 AI Tollbooth
Agent-ready developer troubleshooting data, sold per request over Bitcoin Lightning.
Live: https://http-402-ai-tollbooth.rsaun-lightning.workers.dev
HTTP 402 AI Tollbooth gives developers and AI agents three useful records free, then unlocks complete structured datasets with a BOLT11 Lightning payment. There are no accounts, subscriptions, credit cards, or API keys.
This is a public, documentation and example repository. The production Worker implementation remains private and is not included here.
Try it now
List the complete catalog:
curl -sS https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/api/catalogPreview exactly three records without payment:
curl -sS https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/api/preview/api-error-fixesRequest the full product and receive an HTTP 402 Lightning challenge:
curl -i https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/api/data/api-error-fixesThe last command creates an invoice. Do not run it unless you intentionally want a payment challenge; simply requesting it does not spend sats.
Related MCP server: hypawave
Why agents use it
203 products across DevOps, APIs, ML/AI, Web/Frontend, and Databases
Entry, Standard, and Premium datasets with 50, 100, or 200 records
Exactly three free records per product for try-before-you-buy discovery
Stable
error_code,description, andprogrammatic_fixfieldsHTTP 402 and Bitcoin Lightning payments without user accounts
OpenAPI 3.1, MCP discovery metadata, and
llms.txtDeterministic fallback generation for resilient dataset delivery
Durable one-time redemption and replay protection
Future x402 settlement is documented but remains disabled pending verification
Architecture
AI agent / developer
|
| HTTPS: catalog, preview, paid dataset
v
Cloudflare Worker
| | |
| | +--> Alby --> Bitcoin Lightning invoice
| |
| +--> Durable Objects --> atomic redemption + counters
|
+--> Workers KV --> invoice challenges + generated dataset cachePricing
Tier | Price | Records |
Entry | 2,000 sats | 50 |
Standard | 5,000 sats | 100 |
Premium | 10,000 sats | 200 |
See the pricing rationale, including the live-verified 2,000-sat receiving floor.
How to pay
Request a paid product endpoint.
Receive
402 Payment Requiredwith a BOLT11 invoice and payment hash.Pay the invoice in a Lightning wallet.
Retry the same endpoint with
X-Payment-HashandX-Payment-Preimage.Receive the full dataset once; replayed proofs are rejected.
Never publish or share a payment preimage before using it for its intended redemption. Future Solana USDC/x402 support is disabled until its manual verification process is completed.
Discovery documents
Integrations
MCP metadata: tool descriptions for catalog, preview, and purchase discovery
MCP transport: a live Streamable HTTP JSON-RPC endpoint at
/mcpwith four read-only toolsOpenAPI: complete HTTP endpoint descriptions for agent frameworks
LLMs.txt: concise machine-readable project and payment guidance
Connect an MCP client to https://http-402-ai-tollbooth.rsaun-lightning.workers.dev/mcp. The server supports list_products, preview_product, list_payment_methods, and buy_product. The last tool only returns payment directions and an HTTP 402 challenge; it never pays an invoice or creates a purchase on the caller's behalf.
For a complete no-payment example, see the Node agent recovery sample.
Runnable free sample
The sample shows how an agent can inspect malformed JSON, retry a transient 429 once after Retry-After, and safely stop when a response is not recoverable. It uses Node 22+ built-ins only:
cd examples/node-agent-recovery
npm test
npm startThe demo calls only the public three-record preview endpoint. It does not call a paid route, create an invoice, or automatically replay a payment proof.
License
The documentation in this billboard repository is available under the MIT License. The private production source code is not covered by this repository or license.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Related MCP Connectors
AI-agent product catalog: search, lookup & purchase routing over verified merchant data.
Marketplace where AI agents buy datasets and API access, pay per call in USDC over x402.
Stripe-native marketplace where AI agents discover and pay per call for API services.
Curated marketplace of real-world data APIs for AI agents, paid per call in USDC on Solana.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables AI agents to discover, purchase, and query blockchain-based datasets using Filecoin/IPFS storage with Ethereum NFT access controls and Lit Protocol encryption. Provides a decentralized marketplace for secure dataset trading with automatic purchase workflows and SQL query capabilities.0-
- AlicenseAqualityAmaintenanceAgent-to-agent commerce over Bitcoin Lightning: buy, sell, list, and discover files, data, APIs, and compute on a public marketplace (or privately by offer id). Non-custodial, buyers pay sellers wallet-to-wallet and a verified payment preimage unlocks the result.627686MIT No Attribution
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to discover, preview, purchase, and sell datasets on the DataBazaar marketplace, with tools for search, secure Stripe payments, listings, and seller communication.53MIT
- FlicenseNot gradedqualityBmaintenanceProvides verified fixes for real developer errors to AI agents via MCP, with free sample fixes and paid per-lookup transactions on Base mainnet. Enables searching fixes, browsing the catalog, retrieving offers and fixes, and submitting new fixes.1-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/RobotFleet-HQ/http-402-ai-tollbooth-public'
If you have feedback or need assistance with the MCP directory API, please join our Discord server