Caravan MCP
Enables AI agents to interact with the Algorand x402 paid-service ecosystem, including discovering services, checking trust scores, paying in USDC, managing spend policies, and reviewing an on-chain audit ledger.
Click on "Deploy 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., "@Caravan MCPFind me a paid weather API on Algorand and check its trust score before you buy."
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.
Caravan MCP
Give Claude, Cursor, or any MCP client a wallet and the whole Algorand x402 Bazaar — safely.
Caravan is the safety layer of the Algorand x402 Bazaar: every paid endpoint gets a trust score from 2-hourly patrols, every merchant gets verified by purchase, and every payment your AI makes runs through a spend policy it cannot talk its way around.
This repo is the MCP connector. The trust patrols, verification robots, and paid gateway live at https://caravan-sable-nine.vercel.app (live economy, receipts on-chain).
What your AI gets
Tool | What it does |
| Curated, junk-filtered catalog of live paid x402 services (with trust tiers) |
| Inspect one service: price, input/output schema, settle count |
| Trust Index report for any endpoint — uptime history, latency, conformance, tier |
| Pay a service in USDC and return the result + on-chain receipt. Optionally via Caravan's relay (failed calls are never charged) |
| The Quartermaster spend policy: per-call cap, daily budget, call count, minimum trust tier, allow/deny lists, human-approval threshold |
| Append-only audit ledger of every payment, block, and approval |
| Balance / opt-in status; generate a local wallet |
Default policy: max $0.25 per call · $1.00 per day · 200 calls per day · anything above $0.10 needs human approval · endpoints tiered Unreachable are refused. The model cannot forge approvals (HMAC tokens bound to host + price, 10-minute window).
Related MCP server: Tilde x402 MCP Server
Install (2 minutes)
git clone https://github.com/OJ-IRO/caravan-mcp
cd caravan-mcp && npm install && npm run build
npm run gen-wallet # prints an Algorand address + writes the mnemonic to .envFund the wallet with a little ALGO (network fees) and USDC on Algorand. Sub-cent calls mean $5 lasts a long time.
To try it with free faucet money first, use CARAVAN_NETWORK=testnet and the faucets at https://lora.algokit.io/testnet/fund (ALGO) and https://faucet.circle.com (USDC → "Algorand Testnet").
Add to your MCP client config (Claude Desktop: claude_desktop_config.json; Cursor: MCP settings):
{
"mcpServers": {
"caravan": {
"command": "node",
"args": ["/absolute/path/to/caravan-mcp/dist/mcp/server.js"],
"env": {
"CARAVAN_MNEMONIC": "<25-word mnemonic from .env>",
"CARAVAN_NETWORK": "mainnet"
}
}
}
}Restart the client. Ask your AI: "Find me a paid weather API on Algorand and check its trust score before you buy."
Environment
Variable | Default | Purpose |
| — | 25-word Algorand mnemonic of the paying wallet (required for paid calls) |
|
|
|
|
| Gateway used for the Trust Index and the relay |
|
| Where the policy and ledger are stored |
How payments work
x402 v2 over the GoPlausible facilitator: the service answers 402 with its price, the connector checks the Quartermaster policy against the real quoted price, signs an exact-amount USDC transfer, and retries with the payment header. Settlement is on Algorand; the receipt (txid) is returned to the model and written to the ledger.
Safety model
Policy is evaluated on the quoted price, not the model's claim.
Approval tokens are HMAC-signed by the server for a specific host + price; the model cannot mint them.
The ledger is append-only and lives outside the model's reach.
Trust tiers come from independent patrols, not merchant self-description.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Give your AI agent an x402 wallet: discover and pay for services in USDC, or earn from your own.
Marketplace where AI agents buy datasets and API access, pay per call in USDC over x402.
Trust layer for the x402 agent economy: 40 pay-per-call SKUs, USDC on Base, verifiable proofs.
Entity verification, sanctions screening, and trust scoring for AI agents via x402 micropayments.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceDiscovers and queries x402-payable APIs at runtime — enables autonomous agents to find, evaluate, and pay for services via USDC micropayments on Base without API keys or subscriptions.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to discover and pay for x402-enabled services using natural language, with multi-chain support for Solana and EVM payments.51MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI agents to make micropayments using USDC on Solana via the x402 protocol, supporting payment requests, on-chain verification, and revenue tracking.MIT

@hpp-io/x402-mcp-bridgeofficial
AlicenseNot gradedqualityBmaintenanceEnables AI agents to autonomously pay for and discover services using HPP USDC.e over the x402 protocol, without API keys or manual signing.88Apache 2.0