# Kopachelli x402 API Fleet

> Kopachelli x402 API Fleet is an open-source MCP server for mcp data access. MCP server giving AI clients pay-per-call weather, finance, geo and AI data APIs via USDC. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API
- **Repository:** https://github.com/kopachelli/x402-mcp
- **MCP Registry name:** io.github.Kopachelli/x402-fleet
- **Categories:** [mcp data access](https://ai-powered.com/categories/mcp-data-access)
- **Listing updated:** 2026-11-27

## About

Kopachelli x402 Fleet connects an MCP-compatible assistant to a catalog of paid data endpoints covering weather, finance, geolocation and AI services. The server reads its tool list live from the provider's catalog, so new endpoints appear as tools without a package update, and each call is settled in USDC using the x402 payment flow.

Without a private key the server runs in catalog mode: it lists endpoints and prices, and paid calls return payment-required details for out-of-band settlement. Setting a wallet key enables auto-pay, where each request is signed, paid through a facilitator and returned with the settlement transaction. Supported networks are Base, Polygon, Arbitrum and World Chain, and the default is a testnet with no real funds.

A durable operation ledger in version 0.2.0 records spending calls in a local SQLite database, so repeated identical calls return the stored result instead of paying again, and concurrent duplicates run once. Developers building agents that buy data on their own will find the most value here.

## Features

- **Live tool generation:** Paid endpoints are exposed as individual MCP tools pulled from a catalog with a short cache.
- **Catalog-only mode:** Without a wallet key the server lists endpoints and prices and makes no payments.
- **USDC auto-pay:** With a private key set, each call is signed, paid through a facilitator and returned with the settlement transaction.
- **Multi-network settlement:** Payments can be made on Base, Polygon, Arbitrum or World Chain, with a testnet default.
- **Replay and deduplication ledger:** A local SQLite record prevents repeat payments for identical or concurrent calls.
- **Unknown-state safeguards:** Calls whose payment may have settled but lost a response are flagged so they are not retried blindly.

## Good for

- Giving an AI assistant access to pay-per-call weather or financial data
- Testing x402 paid API flows against a testnet before using mainnet
- Letting an autonomous agent buy geo or AI API results with USDC under a job identifier
- Browsing endpoint prices across the fleet from an MCP client without spending funds

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add x402-fleet --env X402_PRIVATE_KEY='<X402_PRIVATE_KEY>' -- npx -y @kopachelli/x402-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "x402-fleet": {
      "command": "npx",
      "args": [
        "-y",
        "@kopachelli/x402-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "x402-fleet": {
      "command": "npx",
      "args": [
        "-y",
        "@kopachelli/x402-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "x402-fleet": {
      "command": "npx",
      "args": [
        "-y",
        "@kopachelli/x402-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "x402-fleet": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@kopachelli/x402-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add x402-fleet --env X402_PRIVATE_KEY='<X402_PRIVATE_KEY>' -- npx -y @kopachelli/x402-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.x402-fleet]
command = "npx"
args = ["-y", "@kopachelli/x402-mcp"]
env = { X402_PRIVATE_KEY = "<X402_PRIVATE_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "x402-fleet": {
      "command": "npx",
      "args": [
        "-y",
        "@kopachelli/x402-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e X402_PRIVATE_KEY='<X402_PRIVATE_KEY>' x402-fleet npx -- -y @kopachelli/x402-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "x402-fleet": {
      "command": "npx",
      "args": [
        "-y",
        "@kopachelli/x402-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "x402-fleet": {
      "command": "npx",
      "args": [
        "-y",
        "@kopachelli/x402-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "x402-fleet": {
      "command": "npx",
      "args": [
        "-y",
        "@kopachelli/x402-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "x402-fleet": {
      "command": "npx",
      "args": [
        "-y",
        "@kopachelli/x402-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "x402-fleet": {
      "command": "npx",
      "args": [
        "-y",
        "@kopachelli/x402-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "x402-fleet": {
      "command": "npx",
      "args": [
        "-y",
        "@kopachelli/x402-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "x402-fleet": {
      "command": "npx",
      "args": [
        "-y",
        "@kopachelli/x402-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "x402-fleet": {
      "command": "npx",
      "args": [
        "-y",
        "@kopachelli/x402-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `x402_catalog`: List all products, prices and endpoints.

## FAQ

### Does Kopachelli x402 API Fleet cost anything to run the server?

The server itself is open source. Each paid API call is charged in USDC only when a wallet key is set and auto-pay is enabled.

### Which networks can payments use?

Base, Polygon, Arbitrum and World Chain, selected with the X402_NETWORK variable. The default is a Base Sepolia testnet.

### What happens if I run Kopachelli x402 API Fleet without a private key?

It runs in catalog mode, listing endpoints and prices, and paid calls return payment-required details instead of settling.

### Can a retried call pay twice?

Identical calls return the recorded result instead of paying again, and a repeat of an unknown-status call is blocked until the user decides.

### How do I add Kopachelli x402 API Fleet to Claude Code?

Run this command in your terminal: claude mcp add x402-fleet --env X402_PRIVATE_KEY='<X402_PRIVATE_KEY>' -- npx -y @kopachelli/x402-mcp

### What are the best alternatives to Kopachelli x402 API Fleet?

The closest alternatives to Kopachelli x402 API Fleet are Navi X402 MCP, 2s.io, x402 Data for Agents, Fiatdock Audit MCP and Webbersites X402 MCP.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Navi X402 MCP](https://ai-powered.com/mcp/navi-x402-mcp): Navi X402 MCP is a paid MCP server for mcp data access.
- [2s.io](https://ai-powered.com/mcp/2s-io): 2s.io is a paid MCP server for mcp data access.
- [x402 Data for Agents](https://ai-powered.com/mcp/x402-data-for-agents): x402 Data for Agents is a free MCP server for mcp data access.
- [Fiatdock Audit MCP](https://ai-powered.com/mcp/fiatdock-audit-mcp): Fiatdock Audit MCP is a paid MCP server for mcp data access.
- [Webbersites X402 MCP](https://ai-powered.com/mcp/webbersites-x402-mcp): Webbersites X402 MCP is an open-source MCP server for finance and payments.
- [X402 MCP Server](https://ai-powered.com/mcp/x402-mcp-server): X402 MCP Server is a paid MCP server for mcp data access.
- [x402 Seller](https://ai-powered.com/mcp/x402-seller): x402 Seller is an open-source MCP server for finance and payments.
- [Spraay X402 MCP](https://ai-powered.com/mcp/spraay-x402-mcp): Spraay X402 MCP is a freemium MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/kopachelli-x402-api-fleet
