Spraay X402 MCP Server
by plagtechio.github.plagtech/spraay-x402-mcpv3.1.1
Onchain data, AI models and batch USDC payments on Base via x402: swap quotes, token prices, wallet balances, ENS resolution and multi-recipient transfers.
context tax
queued
security
queued
cold start
queued
freshness
Slowing3mo ago
Install Spraay X402 MCP server
Install in Claude Code
claude mcp add spraay-x402 -e X402_WALLET_PRIVATE_KEY='<x402-wallet-private-key>' -- npx -y spraay-x402-mcpInstall in Cursor
{
"mcpServers": {
"spraay-x402": {
"command": "npx",
"args": [
"-y",
"spraay-x402-mcp"
],
"env": {
"X402_WALLET_PRIVATE_KEY": "<x402-wallet-private-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"spraay-x402": {
"command": "npx",
"args": [
"-y",
"spraay-x402-mcp"
],
"env": {
"X402_WALLET_PRIVATE_KEY": "<x402-wallet-private-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"spraay-x402": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"spraay-x402-mcp"
],
"env": {
"X402_WALLET_PRIVATE_KEY": "<x402-wallet-private-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"spraay-x402": {
"command": "npx",
"args": [
"-y",
"spraay-x402-mcp"
],
"env": {
"X402_WALLET_PRIVATE_KEY": "<x402-wallet-private-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| X402_WALLET_PRIVATE_KEY | yes | yes | Private key for the wallet that pays for x402 requests (USDC on Base) |
Freshness
Slowing — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-01 · 3mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-03-09 · 7mo ago · official registry · v3.1.1
FAQ
›How do I install the Spraay X402 MCP server in Claude Code?
Run: claude mcp add spraay-x402 -e X402_WALLET_PRIVATE_KEY='<x402-wallet-private-key>' -- npx -y spraay-x402-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Spraay X402 require an API key?
Yes. It expects X402_WALLET_PRIVATE_KEY, of which 1 is a secret.
›Can I use Spraay X402 as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Spraay X402 in the official MCP registry?
Yes, as io.github.plagtech/spraay-x402-mcp.
Alternatives to Spraay X402
Other finance & fintech MCP servers.