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 56+ tools (flights, prediction markets, weather, and more) via the Model Context Protocol.
Quick Start
npx -y @apibase/mcp-clientUsage
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"apibase": {
"command": "npx",
"args": ["-y", "@apibase/mcp-client"]
}
}
}With API key:
{
"mcpServers": {
"apibase": {
"command": "npx",
"args": ["-y", "@apibase/mcp-client", "ak_live_YOUR_KEY"]
}
}
}Or via environment variable:
{
"mcpServers": {
"apibase": {
"command": "npx",
"args": ["-y", "@apibase/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"]
}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
Available Tools
56+ tools across categories:
- Flights: search, price, status (Amadeus, Sabre)
- Prediction Markets: Polymarket events, prices, orderbooks
- Trading: Hyperliquid, AsterDEX market data
- Weather: current, forecast, alerts (OpenWeatherMap)
- And more — new providers added regularly
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.