MCP server
MCP server for ApexApi — call 120+ AI models (OpenAI, Anthropic, Google, DeepSeek, Qwen…) and read the live web (scrape / crawl / structured extract) from any MCP client, with one ak- API key and one prepaid balance.
Local (stdio)
Get a key at apexapi.dev/keys, then add to your MCP client config:
{
"mcpServers": {
"apexapi": {
"command": "npx",
"args": ["-y", "apexapi-mcp"],
"env": { "APEXAPI_API_KEY": "ak-..." }
}
}
}Claude Code: claude mcp add apexapi -e APEXAPI_API_KEY=ak-... -- npx -y apexapi-mcp
Remote endpoint
Endpoint: https://api.apexapi.dev/mcp with header Authorization: Bearer ak-....
Responses use MCP Streamable HTTP framing (SSE) — clients like Claude Code handle this natively; it is not a plain-JSON REST endpoint.
Claude Code: claude mcp add --transport http apexapi https://api.apexapi.dev/mcp --header "Authorization: Bearer ak-..."
Available tools
| Tool | Description |
|---|---|
| chat | Send a prompt to any of the 120+ models on ApexApi (OpenAI, Anthropic, Google, DeepSeek, Qwen, Mistral…). Use list_models to discover model slugs. Billed per token from the credit balance. |
| list_models | Live catalog of all ApexApi models with type, context window, and USD pricing (per 1M tokens for chat). Filter by type to keep the list short. |
| get_balance | Current prepaid credit balance in USD. Balance is the only usage limit on ApexApi. |
| scrape_page | Fetch any URL as clean, LLM-ready markdown (or html/text). Anti-bot handling is automatic. Billed per successful page ($0.002 standard, $0.008 stealth); failures are free. |
| crawl_site | Crawl same-domain pages from a seed URL into markdown. Waits up to 60s; if still running, returns a job id for check_job. Billed $0.005 per page, capped by limit. Full page set is at result_url. |
| extract_structured | Ready-made structured JSON from Amazon, Walmart, Crunchbase, G2, Google Maps, or Zillow product/company/listing URLs. Billed $0.01 per record; failures free. Scrapers: amazon-product, walmart-product, crunchbase-company, g2-product, google-maps-business, zillow-property. |
| check_job | Poll a crawl_site or extract_structured job by id. |
| generate_image | Generate an image from a text prompt. Returns a URL. Use list_models with type=image for available models and prices. |
| generate_speech | Text-to-speech via ElevenLabs. Returns an MP3 URL. Billed per 1,000 characters. |
Notes
- Costs come from the same credit balance as the REST API and playground.
- Guardrails and per-key limits apply, same as any other call on your
ak-key. - claude.ai custom connectors (OAuth) are not yet supported — use Claude Code, or any MCP client that takes a bearer key, for the remote endpoint.