Unified MCP access to paid APIs with endpoint discovery, wallet management, USDC payments, and HTTP request execution.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by APIbase.
fetchHTTP fetch with automatic authentication and payment handling. Makes the request, retries with SIGN-IN-WITH-X when the route exposes a SIWX challenge, and only pays if the route still returns 402. Returns response data and the final response headers, including raw payment receipt proof when supplied by the server, along with payment details (price, tx hash) if a payment was made. For endpoints you haven't called before in this session, you MUST call check_endpoint_schema first to confirm the request body schema. Skipping this causes 400 errors from wrong field names.
get_balanceGet your total USDC balance across all supported networks. Auto-creates the wallet on first use (~/.agentcash/wallet.json). Use this before paid API calls to confirm you have funds available.
list_accountsList wallet accounts for each supported network. Returns the network, address, balance, and deposit link for every supported network so you can see where to fund the wallet. Auto-creates the wallet on first use (~/.agentcash/wallet.json). If onboardingCta is present, show its message to the user โ it means they haven't onboarded yet and need to either visit the onboard link or deposit directly.
check_endpoint_schemaGet the input/output schema and auth mode (paid or SIWX) for a single endpoint. Call this to see exactly what fields the request body expects and what the response contains. Returns the schema from the origin's OpenAPI spec. Optionally pass sample_input_body to probe the endpoint live (without payment) for an exact price quote โ do this when pricing is dynamic (range-based or variable), or when you're unsure about the input schema. Treat auth mode as advisory: fetch handles both SIWX and paid routes.
redeem_inviteRedeem an invite code for free USDC on Base. One-time use per code. Returns amount received and transaction hash. Use get_balance after to verify funds, or list_accounts if you need the per-network deposit links as well.
discover_api_endpointsList available endpoints at an API origin. Returns endpoint URLs with descriptions of what each does and the auth mode for each (paid or SIWX). Works with any origin, not just the registered ones. Call this when you need to see what routes are available at an origin โ whether it's one of the registered origins or any other origin you've identified as useful. Treat the auth mode as guidance for what the route may require; fetch handles both SIWX and payment. The response always indicates whether guidance is available. Guidance is documentation published by the API provider explaining how endpoints work together, edge cases, and usage tips. compact guidance is included automatically; set include_guidance=true to force-include full usage documentation when you need to compose two or more endpoints or need clarification on how the origin works.
whiteknightonhorse/APIbase MCP server presents a unified MCP interface for calling external API services. Its documented catalog covers 1,378 tools from 395 providers, while the supplied tool list describes the control layer used to discover endpoints, inspect schemas, execute requests, and manage payments. Example API areas mentioned in the listing include travel, prediction markets, crypto, and weather.
The central fetch tool sends HTTP requests with authentication and payment handling. It can retry a request after a SIGN-IN-WITH-X challenge and pays only when the route continues to return HTTP 402. Results include response data and final headers; when available, payment information includes the price, transaction hash, and raw receipt proof.
Before calling an endpoint for the first time in a session, use check_endpoint_schema. It returns the origin's input and output schema plus its stated authentication mode. A sample request body can optionally be used to probe an endpoint without payment and obtain a price quote, which is useful for variable or range-based pricing.
discover_api_endpoints lists routes available from an API origin, including descriptions and payment or SIWX guidance. search finds relevant paid services when the required origin is unknown; it should not replace direct discovery when a known registered origin already matches the task. The fetch tool handles both SIWX and paid routes regardless of the advisory auth mode.
Payments use USDC. The wallet is created automatically at ~/.agentcash/wallet.json when balance or account tools are first used. get_balance reports the combined balance across supported networks, while list_accounts provides per-network addresses, balances, and deposit links. bridge moves USDC between supported networks, and sessions_close finalizes an MPP payment channel when given the channel ID and original URL.
The hosted configuration is an MCP URL:
The README lists compatibility guidance for Claude Desktop, Cursor, Windsurf, OpenAI Agents SDK, LangChain, Google ADK, CrewAI, and Microsoft Copilot Studio. Self-hosting uses Docker Compose after cloning the repository, copying .env.example to .env, and setting POSTGRES_PASSWORD, X402_PAYMENT_ADDRESS, and provider keys. The documented production stack uses PostgreSQL, Redis, and a Node.js/TypeScript API server.
Payment calls require available USDC, and bridging can incur fees. report_error is intended only for critical MCP tool bugs, not ordinary balance, network, or HTTP 4xx errors. Endpoint auth guidance is advisory because fetch handles both SIWX and paid routes. For unfamiliar endpoints, skipping schema inspection can lead to HTTP 400 errors caused by incorrect field names. whiteknightonhorse/APIbase MCP server also persists wallet and settings data locally when using the documented default paths.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/whiteknightonhorse-apibase)<a href="https://allmcps.com/mcp/whiteknightonhorse-apibase"><img src="https://allmcps.com/api/badge/whiteknightonhorse-apibase?style=directory" alt="APIbase on AllMCPs" /></a>