|
| 1 | +# APIbase MCP Client |
| 2 | + |
| 3 | +MCP client for [APIbase.pro](https://apibase.pro) — connect AI agents to 56+ tools (flights, prediction markets, weather, and more) via the Model Context Protocol. |
| 4 | + |
| 5 | +Available as two identical packages: |
| 6 | + |
| 7 | +| Package | Install | |
| 8 | +|---------|---------| |
| 9 | +| `@apibase11/mcp-client` | `npx -y @apibase11/mcp-client` | |
| 10 | +| `apibase-mcp-client` | `npx -y apibase-mcp-client` | |
| 11 | + |
| 12 | +## Quick Start |
| 13 | + |
| 14 | +```bash |
| 15 | +npx -y apibase-mcp-client |
| 16 | +``` |
| 17 | + |
| 18 | +## Usage |
| 19 | + |
| 20 | +### Claude Desktop |
| 21 | + |
| 22 | +Add to `claude_desktop_config.json`: |
| 23 | + |
| 24 | +```json |
| 25 | +{ |
| 26 | + "mcpServers": { |
| 27 | + "apibase": { |
| 28 | + "command": "npx", |
| 29 | + "args": ["-y", "@apibase11/mcp-client"] |
| 30 | + } |
| 31 | + } |
| 32 | +} |
| 33 | +``` |
| 34 | + |
| 35 | +With API key: |
| 36 | + |
| 37 | +```json |
| 38 | +{ |
| 39 | + "mcpServers": { |
| 40 | + "apibase": { |
| 41 | + "command": "npx", |
| 42 | + "args": ["-y", "@apibase11/mcp-client", "ak_live_YOUR_KEY"] |
| 43 | + } |
| 44 | + } |
| 45 | +} |
| 46 | +``` |
| 47 | + |
| 48 | +Or via environment variable: |
| 49 | + |
| 50 | +```json |
| 51 | +{ |
| 52 | + "mcpServers": { |
| 53 | + "apibase": { |
| 54 | + "command": "npx", |
| 55 | + "args": ["-y", "@apibase11/mcp-client"], |
| 56 | + "env": { |
| 57 | + "APIBASE_API_KEY": "ak_live_YOUR_KEY" |
| 58 | + } |
| 59 | + } |
| 60 | + } |
| 61 | +} |
| 62 | +``` |
| 63 | + |
| 64 | +### Cursor / Windsurf / VS Code |
| 65 | + |
| 66 | +Same config pattern — add to your MCP settings: |
| 67 | + |
| 68 | +```json |
| 69 | +{ |
| 70 | + "command": "npx", |
| 71 | + "args": ["-y", "apibase-mcp-client"] |
| 72 | +} |
| 73 | +``` |
| 74 | + |
| 75 | +## Authentication |
| 76 | + |
| 77 | +Three modes (in priority order): |
| 78 | + |
| 79 | +1. **CLI argument**: `npx apibase-mcp-client ak_live_YOUR_KEY` |
| 80 | +2. **Environment variable**: `APIBASE_API_KEY=ak_live_YOUR_KEY` |
| 81 | +3. **Auto-register**: omit the key — APIbase creates one automatically on first request |
| 82 | + |
| 83 | +## Available Tools |
| 84 | + |
| 85 | +56+ tools across categories: |
| 86 | + |
| 87 | +- **Flights**: search, price, status (Amadeus, Sabre) |
| 88 | +- **Prediction Markets**: Polymarket events, prices, orderbooks |
| 89 | +- **Trading**: Hyperliquid, AsterDEX market data |
| 90 | +- **Weather**: current, forecast, alerts (OpenWeatherMap) |
| 91 | +- **And more** — new providers added regularly |
| 92 | + |
| 93 | +Use `tools/list` to discover all available tools. |
| 94 | + |
| 95 | +## How It Works |
| 96 | + |
| 97 | +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. |
| 98 | + |
| 99 | +## Links |
| 100 | + |
| 101 | +- [APIbase.pro](https://apibase.pro) |
| 102 | +- [GitHub](https://github.com/whiteknightonhorse/APIbase) |
| 103 | +- [MCP Protocol](https://modelcontextprotocol.io) |
0 commit comments