# apibase

One endpoint in front of 1386 tools from 401 providers. No signup and no API key to begin — you pay per call in USDC.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 10
- Author: whiteknightonhorse
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/whiteknightonhorse/APIbase
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/mcp/apibase

## What it does

The server hands your agent a tool list and routes each call through payment. Two rails are supported: x402 on Base and MPP on Tempo. Nothing to subscribe to up front; the meter runs on the individual call.

Under the hood sits a single Node.js/TypeScript API server, with PostgreSQL as the append-only record for money and Redis kept for cache and rate limiting. Calls share one pipeline: escrow first, idempotent execution, fail-closed on error, content moderation in the path. Self-hosting needs `POSTGRES_PASSWORD`, `X402_PAYMENT_ADDRESS` and provider keys in `.env` — the stack will not come up without them.

Wiring it in takes one URL, `https://apibase.pro/mcp`, or a local client launched with `npx`. Merchants get a separate deal: their own MCP storefront, a buyer agent that requests a quote and pays straight into the merchant wallet. Non-custodial, and the fee is 0% during the pilot.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://apibase.pro/mcp`

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http apibase https://apibase.pro/mcp
```

2. **Platform CLI**
```bash
claude mcp add apibase -- npx -y apibase-mcp-client
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add apibase --url https://apibase.pro/mcp
```

2. **Platform CLI**
```bash
codex mcp add apibase -- npx -y apibase-mcp-client
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "apibase": {
            "url": "https://apibase.pro/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "apibase": {
            "command": "npx",
            "args": [
                "-y",
                "apibase-mcp-client"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "apibase": {
            "type": "http",
            "url": "https://apibase.pro/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "apibase": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "apibase-mcp-client"
            ]
        }
    }
}
```

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http apibase https://apibase.pro/mcp
```

2. **Platform CLI**
```bash
gemini mcp add apibase npx -y apibase-mcp-client
```

## When to use it
- wire an external API catalog into an agent with one line
- call a third-party tool and settle the fee in USDC
- stand up a merchant-owned MCP storefront
- take payment from a buyer's agent without custody
- sync a catalog with WooCommerce and receive paid-order webhooks

## Example prompts
- Connect apibase and list the tools in the catalog
- Find a tool in the catalog that parses PDFs and call it
- What does this tool cost, and how does the USDC payment go through?

## Similar
- [agentcash](https://affpapa.org/en/nevibecode/skills/agentcash.md) — skill · 2000 installs
- [fetcher](https://affpapa.org/en/nevibecode/skills/fetcher.md) — skill · 3700 installs
- [basebalance.cloud — x402 RPC & MCP gateway](https://affpapa.org/en/nevibecode/mcp/basebalancecloud-x402-rpc-mcp-gateway.md) — MCP server · ★ 7548
- [Ausca](https://affpapa.org/en/nevibecode/mcp/ausca.md) — MCP server · ★ 40
- [x402 Wallet](https://affpapa.org/en/nevibecode/mcp/x402-wallet.md) — MCP server · ★ 250
- [mcp-x402](https://affpapa.org/en/nevibecode/mcp/mcp-x402.md) — MCP server · ★ 274

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
