Kopachelli x402 API Fleet
MCP server giving AI clients pay-per-call weather, finance, geo and AI data APIs via USDC
Kopachelli x402 API Fleet is an open-source MCP server for mcp data access. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API
- Runs
- Locally
- Version
- 0.1.1
- Listing updated
Similar MCP servers
Install
You install MCP servers on a computer. Send yourself the link.
Add with the CLI
Run in a terminal
claude mcp add x402-fleet --env X402_PRIVATE_KEY='<X402_PRIVATE_KEY>' -- npx -y @kopachelli/x402-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"x402-fleet": {
"command": "npx",
"args": [
"-y",
"@kopachelli/x402-mcp"
],
"env": {
"X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
}
}
}
}Add to claude_desktop_config.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.
Add to ~/.cursor/mcp.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.
Add to ~/.copilot/mcp-config.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.
Add with the CLI
Run in a terminal
codex mcp add x402-fleet --env X402_PRIVATE_KEY='<X402_PRIVATE_KEY>' -- npx -y @kopachelli/x402-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.x402-fleet]
command = "npx"
args = ["-y", "@kopachelli/x402-mcp"]
env = { X402_PRIVATE_KEY = "<X402_PRIVATE_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"x402-fleet": {
"command": "npx",
"args": [
"-y",
"@kopachelli/x402-mcp"
],
"env": {
"X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.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
Antigravity
Add to ~/.gemini/config/mcp_config.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 (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.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
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "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.
Junie
Add to ~/.junie/mcp/mcp.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
Add to ~/.kiro/settings/mcp.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.
Using several servers? Build one config file with the MCP config generator.
Configuration
X402_PRIVATE_KEYx402 private key (0x...) used to pay for API calls in USDC. If unset, the server runs in discovery mode and only lists endpoints/prices.X402_NETWORKCAIP-2 network to pay on. One of eip155:8453 (Base), eip155:137 (Polygon), eip155:42161 (Arbitrum), eip155:480 (World Chain).
About Kopachelli x402 API Fleet
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.
Tools this server provides (1)
Taken from the project documentation; the running server may differ.
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.
What it does
- 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
Pricing
Open source
Server is open source; API calls are paid per request in USDC.
Kopachelli x402 API Fleet 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.