apexapi-mcp
v0.5.0
Published
MCP server for ApexApi — call 120+ AI models and live web context (scrape/crawl/extract) from any MCP client with one ak- API key
Maintainers
Readme
apexapi-mcp
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.
Tools
chat, list_models, get_balance, scrape_page, crawl_site, extract_structured, check_job, generate_image, generate_speech, generate_video, list_generations, list_uploads, create_upload_url
generate_imageends its output with acost_usd: Xline: the exact amount charged.check_jobpollscrawl,extract,video,studioandimage(asyncPOST /v1/images/jobs) jobs.create_upload_urlreturns a presigned URL: PUT the file bytes to it (for example withcurl), then use the returnedpublic_urlas a reference. It works on the remote server too. The stdio server additionally hasupload_reference, which takes a local file path.
Marketing Studio (turn a product into a video ad): browse the curated preset, hook and setting catalog, reuse or register a product and avatar, see the exact prompt and price for free, then render. The server fills the prompt and routes to the right video model with transparent predicted and actual USD.
studio_catalog: presets, hooks, settings (free)studio_list_assets: your products plus stock and own avatars (free), orstudio_register_product/studio_register_avatarstudio_preview: composed prompt, model, duration andpredicted_usd(free, nothing rendered)- optional
studio_expand_prompt: a shot-by-shot director script (one small billed chat call), to edit and pass asfinal_prompt studio_generate: render (acceptsreference_images,final_prompt,project_id), then pollcheck_job { kind: "studio", id }
Local (stdio)
Get a key at https://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 --scope user apexapi -e APEXAPI_API_KEY=ak-... -- npx -y apexapi-mcp
(--scope user registers the server for your whole machine. Without it Claude Code uses local scope, which only applies to the current directory.)
Remote (Streamable HTTP)
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 --scope user apexapi https://api.apexapi.dev/mcp --header "Authorization: Bearer ak-..."
Docs
https://apexapi.dev/docs/mcp
