Swap crypto.

Without leaving Claude.

Swap crypto privately from a chat. No signup, no API key. Pay per call in USDC on Base or Solana.

Set up in Claude
trusted by our global partners


One server. Two ways to get started.

Choose Claude Desktop for MCP tools, or Claude Code for the plugin with tools and swap instructions.

Step 1: Fund a wallet with USDC on Base or Solana

Add a small amount of USDC on Base or Solana to your dedicated payment wallet, then export its private key. USDC on another network will not cover these API payments.

Step 2: Open your Claude Desktop config

Open Settings → Developer → Edit Config.

macOS

Copy Text
~/Library/Application Support/Claude/claude_desktop_config.json

Windows

Copy Text
%APPDATA%\Claude\claude_desktop_config.json

Step 3: Add the Houdini server

For a new config, paste the complete example below. If you already have servers configured, add only the houdiniswap entry inside your existing mcpServers object. Replace 0xYOUR_WALLET_PRIVATE_KEY with your actual private key.

If you already have other servers under mcpServers, add houdiniswap as another key inside the existing object. Don’t create a second mcpServers.

Copy Text
{
  "mcpServers": {
    "houdiniswap": {
      "command": "npx",
      "args": ["-y", "@houdiniswap/mcp-server"],
      "env": {
        "HOUDINI_X402_PRIVATE_KEY": "0xYOUR_WALLET_PRIVATE_KEY"
      }
    }
  }
}

Step 4: Restart and check the connection

Fully quit Claude Desktop and reopen it. Look for HoudiniSwap in the tools menu, then ask:

Copy Text
Find USDC on Base using HoudiniSwap.

This token lookup is a paid API call. It does not create a swap order.

Step 1: Fund a wallet and copy its key

Add a small amount of USDC on Base or Solana to your dedicated payment wallet, then export its private key. Menu labels can vary by wallet.

Step 2: Add the Houdini marketplace

Run claude in your terminal. Inside Claude Code, enter:

Copy Text
/plugin marketplace add HoudiniSwap/houdiniswap-agent

Step 3: Install the plugin

Copy Text
/plugin install houdiniswap@houdiniswap

When the plugin asks for the x402 wallet private key, enter your payment wallet key in that configuration prompt, not in the conversation. If no configuration prompt appears, check the current plugin instructions before entering a key.

Step 4: Restart and check the connection

Type /exit, then run claude again. Run /mcp and check that HoudiniSwap is connected. Then try asking:

Copy Text
Find USDC on Base using HoudiniSwap.


What can you ask Claude?

Claude shows you tokens and quotes, then waits for your pick before it creates anything.

Purple magnifier with an eye icon, representing finding tokens.

Find Tokens

"which chains have SOL?" Contract address, price and whether the token is verified.

Purple dollar coin icon, representing comparing quotes for the best price.

Compare Quotes

"best quote for 0.1 ETH to BTC" Every provider at once, sorted by best price or fastest route.

Purple crossed-out eye icon, representing private swaps.

Private Swap

"private swap 50 USDC on Base to BTC" Routed through an intermediary token so the sending and receiving addresses can't be linked onchain.

Purple swap arrows icon, representing cross-chain swaps.

Cross-chain Swap

"swap 20 USDC on Base to SOL, send to [address]" You give the receiving address. Claude gives you the deposit address.

Purple chain link icon, representing DEX swaps approved in your own wallet.

DEX Swap

"swap 10 USDC to ETH on Base with a DEX" Uniswap, Jupiter, Aerodrome, deBridge and more. You approve in your own wallet.

Purple clock icon, representing tracking orders.

Track Orders

"my orders from today" Status, deposit address and transaction hashes for the last 48 hours.


Pay per call. No plan required.

Action
Price per call (USDC)
Search tokens, chains, providers, min/max, order status
$0.0001
Get quotes
$0.001
Create an order / confirm a DEX transaction
$0.01
Typical API flow to create an order
About $0.012

API charges are separate from swap fees and network gas. Total API cost depends on the number of calls, including additional quotes and status checks.

Blurred purple 3D illustration of a question mark, representing frequently asked questions.

Frequently Asked Questions

Does Claude send my swap funds?

No. You send the deposit or approve the swap transaction in your own wallet. The configured payment wallet pays API fees automatically in USDC on Base or Solana. Use a dedicated, low-balance wallet: its private key controls every asset in that wallet, not just API payments.

Why do I see 402 Payment Required?

A 402 response asks for payment before an API request can proceed; the server normally handles this automatically. If it keeps appearing, check that your payment wallet has USDC on Base or Solana and that the configured private key belongs to that wallet. USDC on another network won’t work. Never share your private key when troubleshooting.

Why are the Houdini tools missing?

In Claude Desktop, check that your configuration is valid JSON, Node.js and npx are available, and the Houdini entry is inside mcpServers. Fully quit and reopen Claude, then check Settings → Developer for server errors. In Claude Code, type /exit, restart Claude Code and run /mcp to check the connection.

What does 429 Too Many Requests mean?

Your requests have been rate limited. The x402 limit is 60 requests per minute per payment wallet address. Pause your requests, then retry; repeated retries without waiting can keep triggering the limit.

How do I change the payment wallet?

In Claude Desktop, replace HOUDINI_X402_PRIVATE_KEY in your local configuration with the new wallet’s private key, save and restart Claude. For the Claude Code plugin, run /plugin uninstall houdiniswap@houdiniswap, then reinstall and configure the new key. Make sure the new wallet holds USDC on Base or Solana, and enter its key only in the configuration, not in the chat.

Other privacy products