Give your AI agent every model
Connect Claude Code, Codex, Cursor, VS Code or any MCP client to APISea. Your agent can browse 250+ models, read their parameters, chat, and generate images, video and music, all billed to one APISea balance.
Remote MCP server
MCP- Server URL
https://api.apisea.ai/mcp- Transport
- Streamable HTTP
- Authentication
- Bearer API key
- Tools
- 8 tools, 4 free
Three ways to connect your agent
MCP server
A remote server with ready-made tools for models, chat, images, video, music and tasks. Nothing to install.
Set up MCP FastestAI docs
Paste one prompt. The agent reads our llms.txt and calls the OpenAI-compatible API by itself.
Copy the prompt LocalAgent Skill
A SKILL.md file that teaches Claude Code and other agents to call APISea with curl.
Install the skillConnect through MCP
APISea runs a remote MCP server over Streamable HTTP. Add it once and your agent gets tools for browsing models and running them. Calls use your own API key, so your balance, spending limits and model allow-list apply exactly as they do for the API.
- 1
Create a dedicated key
Open the console and create a key just for your agent. Add a spending limit and, if you like, a model allow-list so a runaway agent cannot overspend.
- 2
Store the key in an environment variable
Save it as APISEA_API_KEY in your shell profile or secrets manager. Keep keys out of commands and config files you commit.
- 3
Add the server to your client
Pick your client below and copy the snippet. Every client uses the same URL and the same Bearer header.
- 4
Verify with a free query
Ask the agent to list a few models. Listing models costs nothing, so you can confirm the connection before anything is billed.
export APISEA_API_KEY="sk-sea-..." # add this line to ~/.zshrc or ~/.bashrcIf your key lives in a different environment variable, change the name in the snippet. Never paste a real key into a repository.
claude mcp add --transport http apisea https://api.apisea.ai/mcp \
--header "Authorization: Bearer $APISEA_API_KEY"
# or commit a project .mcp.json that reads the key from your environment:
# { "mcpServers": { "apisea": { "type": "http", "url": "https://api.apisea.ai/mcp",
# "headers": { "Authorization": "Bearer ${APISEA_API_KEY}" } } } }Check the connection
Ask your agent:
Use the apisea MCP server to list five image models and show their prices.Tools your agent gets
Read-only tools are free. Tools that run a model are billed at the same per-model prices as the API.
list_modelsFreeBrowse and search models by category, developer or keyword, with prices.
get_modelFreeRead a model's endpoints, parameters, pricing and a ready-to-use example request.
chatBilledSend a prompt to any text model and get the reply, token usage and cost.
generate_imageBilledCreate or edit images. Waits for the result and returns the image links.
generate_videoBilledStart a video job from text or reference images and collect the result.
generate_musicBilledCreate songs or instrumentals from a text prompt.
get_taskFreeCheck or wait for an image, video or music job and fetch its links.
get_balanceFreeSee your balance and the limits set on the key.
Prompts to try
- Which image models can edit a reference image? Show the three cheapest.
- Estimate the cost of a 5-second video with a dry run before generating anything.
- Generate a 16:9 product photo of a glass water bottle with the cheapest image model and tell me what it cost.
- Ask two different chat models to review this function and compare their answers.
Let the agent read the docs
Prefer no server at all? Paste this prompt into any coding agent. It points the agent at our llms.txt, a compact map of every model and endpoint, and tells it how to call the API safely.
Read https://apisea.ai/llms.txt to learn the APISea API, then use it for this task.
- Base URL: https://api.apisea.ai/v1 (OpenAI-compatible).
- Read the key from the environment variable APISEA_API_KEY and send it as "Authorization: Bearer $APISEA_API_KEY". Never print, hard-code or commit the key.
- Open a model's page (linked from llms.txt) to check its parameters and price before the first call.
- Image, video and music calls are billed. Tell me the model and the expected cost and wait for my go-ahead before generating.llms.txt and the API reference always match the models currently on APISea.
Install the APISea skill
A skill is a single SKILL.md file your agent loads when you ask for AI models. It explains the base URL, authentication, chat, image and video calls, and when to ask you before spending money.
mkdir -p ~/.claude/skills/apisea
curl -fsSL https://apisea.ai/skills/apisea/SKILL.md -o ~/.claude/skills/apisea/SKILL.mdOther agents
Save the file in your agent's skills folder, or paste its contents into AGENTS.md or your project instructions.
View SKILL.mdBilling and safety
- Read-only tools are free. chat and the generate tools are billed per request at the prices on the pricing page, and failed media jobs are refunded automatically.
- Every call runs as your API key, so the key's spending limit, expiry, model allow-list and IP allow-list are enforced.
- Use dry_run with generate_image, generate_video and generate_music to see the estimated cost without calling the model.
- Create a separate key for each agent and revoke it from the console at any time.
Agent tools FAQ
What is MCP?
The Model Context Protocol is an open standard that lets AI agents such as Claude Code, Codex and Cursor call external tools. APISea exposes its models as MCP tools, so your agent can pick a model and run it without custom code.
Do I need a separate plan for MCP?
No. The MCP server uses your normal APISea API key and prepaid balance. There is no extra fee, and prices are the same as for direct API calls.
Which tools are billed?
list_models, get_model, get_task and get_balance are free. chat, generate_image, generate_video and generate_music are billed per request, and failed image, video and music jobs are refunded.
Which clients are supported?
Any client that supports remote MCP servers over HTTP with a custom header, including Claude Code, Codex, Cursor and VS Code. Claude Desktop connects through the mcp-remote bridge.
Why does a video call return a task id?
Video and music jobs take minutes, so the tool returns a task id after a short wait. Ask the agent to call get_task, which can wait up to 80 seconds per call, until the job is complete.
How do I keep my key safe?
Store it in an environment variable, create a separate key for each agent, set a spending limit and rotate or revoke the key in the console whenever you like.
One key. Every model. Start shipping today.
Create an account, top up from $50, and point your existing OpenAI, Anthropic or Gemini SDK at APISea. No subscriptions, no seat fees, no idle charges.
