Driving Directions
by OpenWeb Ninja
Driving directions and route planning via OpenWebNinja. Get turn-by-turn directions with traffic-aware routing and ETA.
by OpenWeb Ninja
Waze traffic and navigation data via OpenWebNinja. Get real-time traffic alerts, routes, and travel times.
Install the x402 MCP server to let your AI agent access this data with automatic USDC payments on Base.
Add to claude_desktop_config.json:
{
"mcpServers": {
"x402": {
"command": "npx",
"args": ["@serendb/x402-mcp-server"],
"env": {
"X402_GATEWAY_URL": "https://api.serendb.com",
"WALLET_PRIVATE_KEY": "0x..."
}
}
}
}Replace 0x... with your wallet private key.
claude mcp add x402 \ -e X402_GATEWAY_URL=https://api.serendb.com \ -e WALLET_PRIVATE_KEY=0x... \ -- npx -y @serendb/x402-mcp-server
claude mcp add x402 ` -e X402_GATEWAY_URL=https://api.serendb.com ` -e WALLET_PRIVATE_KEY=0x... ` '--' npx -y @serendb/x402-mcp-server
Replace 0x... with your wallet private key.
gemini mcp add x402 \ -e X402_GATEWAY_URL=https://api.serendb.com \ -e WALLET_PRIVATE_KEY=0x... \ -- npx -y @serendb/x402-mcp-server
Replace 0x... with your wallet private key.
codex mcp add x402 \ --env X402_GATEWAY_URL=https://api.serendb.com \ --env WALLET_PRIVATE_KEY=0x... \ -- npx -y @serendb/x402-mcp-server
Important: Cursor has a 60s timeout. Pre-install globally first: npm install -g @serendb/x402-mcp-server
First, install globally to avoid timeout issues:
npm install -g @serendb/x402-mcp-server
Then add to ~/.cursor/mcp.json:
{
"mcpServers": {
"x402": {
"command": "x402-mcp-server",
"args": [],
"env": {
"X402_GATEWAY_URL": "https://api.serendb.com",
"WALLET_PRIVATE_KEY": "0x..."
}
}
}
}Also works with Windsurf, Zed, and other MCP-compatible clients. See the full setup guide for details.
Access data directly via HTTP using the x402 payment protocol.
HTTP 402 with payment requirements (amount, wallet, EIP-712 data)X-PAYMENT header containing the signaturecurl -X POST https://api.serendb.com/agent/api \
-H "Content-Type: application/json" \
-d '{
"publisherId": "91788c5e-1915-42a3-91c1-eac86e0c7827",
"agentWallet": "0xYourWalletAddress",
"request": {
"method": "GET",
"path": "/endpoint"
}
}'This returns 402 Payment Required with the payment details you need to sign.
After signing the EIP-712 authorization, add the base64-encoded signature:
curl -X POST https://api.serendb.com/agent/api \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <base64-encoded-signature>" \
-d '{ ... }'Pay per API call via x402 protocol
by OpenWeb Ninja
Driving directions and route planning via OpenWebNinja. Get turn-by-turn directions with traffic-aware routing and ETA.
by OpenWeb Ninja
Local business search and information from Google Maps via OpenWebNinja. Find businesses, get details, hours, reviews, and contact information.