Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@apibase11/mcp-client) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
APIbase MCP Client
MCP client for APIbase.pro — connect AI agents to 300+ tools across 84 providers via the Model Context Protocol. Dual-rail payments: x402 (USDC on Base) + MPP (USDC on Tempo/Stripe).
Available as two identical packages:
| Package | Install |
|---|---|
@apibase11/mcp-client |
npx -y @apibase11/mcp-client |
apibase-mcp-client |
npx -y apibase-mcp-client |
Quick Start
npx -y apibase-mcp-clientUsage
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"apibase": {
"command": "npx",
"args": ["-y", "@apibase11/mcp-client"]
}
}
}With API key:
{
"mcpServers": {
"apibase": {
"command": "npx",
"args": ["-y", "@apibase11/mcp-client", "ak_live_YOUR_KEY"]
}
}
}Or via environment variable:
{
"mcpServers": {
"apibase": {
"command": "npx",
"args": ["-y", "@apibase11/mcp-client"],
"env": {
"APIBASE_API_KEY": "ak_live_YOUR_KEY"
}
}
}
}Cursor / Windsurf / VS Code
Same config pattern — add to your MCP settings:
{
"command": "npx",
"args": ["-y", "apibase-mcp-client"]
}Streamable HTTP (no client needed)
Most modern MCP clients support remote servers directly:
{
"mcpServers": {
"apibase": {
"url": "https://apibase.pro/mcp"
}
}
}Authentication
Three modes (in priority order):
- CLI argument:
npx apibase-mcp-client ak_live_YOUR_KEY - Environment variable:
APIBASE_API_KEY=ak_live_YOUR_KEY - Auto-register: omit the key — APIbase creates one automatically on first request
Payment
APIbase supports dual-rail payments — agents can pay using either protocol:
| Protocol | Network | Token | How |
|---|---|---|---|
| x402 | Base | USDC | X-Payment header |
| MPP | Tempo (Stripe) | USDC | Authorization: Payment header |
Free tools work without payment. Paid tools return HTTP 402 with payment instructions for both protocols. Use mppx SDK or Tempo CLI for automatic payment handling.
# AgentCash — one-command setup
npx agentcash add https://apibase.proAvailable Tools
300+ tools across 30+ categories:
- Travel: flights, hotels, airports (Amadeus, Sabre, Aviasales)
- Finance: stocks, forex, economic data (Finnhub, ECB, FRED)
- Crypto: prices, markets, DEX, prediction markets (CoinGecko, Polymarket, Hyperliquid)
- Search: web, news, semantic, AI (Serper, Tavily, Exa)
- Health: nutrition, drugs, clinical trials (USDA, OpenFDA, ClinicalTrials.gov)
- Maps: geocoding, routing, walkability (Geoapify, Walk Score)
- Entertainment: movies, games, anime, music (TMDB, RAWG, IGDB, Jikan)
- Legal: regulations, court opinions, SEC filings (Regulations.gov, CourtListener, EDGAR)
- Infrastructure: DNS, domains, browser sessions (Cloudflare, NameSilo, Browserbase)
- And more — education, jobs, space, weather, messaging, AI tools
Use tools/list to discover all available tools.
How It Works
Stdio-to-HTTP bridge: translates MCP stdio transport (used by Claude Desktop, Cursor, etc.) to Streamable HTTP transport (used by APIbase server). No tool re-registration — pure transport proxy.