AIML API README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the AIML API listing page.

AI/ML API MCP server

Search, compare and call 10,000+ AI models and tools from your coding agent: chat, embeddings, image, video and audio generation, OCR, and Agent Tools such as web search and page extraction.

This repository holds install manifests only. The server is hosted by AI/ML API; there is no server code here and nothing to build or run locally.

Endpointhttps://mcp.aimlapi.com/mcp
TransportStreamable HTTP
AuthOAuth sign-in, or Authorization: Bearer <API key>
Official MCP Registrycom.aimlapi/mcp
Docshttps://docs.aimlapi.com/quickstart/mcp
API keyshttps://aimlapi.com/app/keys
Privacy policyhttps://aimlapi.com/privacy-policy
Terms of servicehttps://aimlapi.com/terms-and-conditions
Supporthelp@aimlapi.com

Authentication

Pick one.

OAuth (default, no key in any file). The manifests in this repo add the server by URL only. On first use the client gets a 401 that points to the server's OAuth metadata, registers itself (dynamic client registration), and opens a browser sign-in to your AI/ML API account (PKCE). Scopes: openid email offline_access mcp:invoke.

API key. Create a key at https://aimlapi.com/app/keys and add the server with an Authorization header (commands below). Replace YOUR_AIMLAPI_API_KEY with your key, and do not commit a config file that contains it. When the header is set, no OAuth sign-in happens.

Claude Code

Plugin (OAuth):

Terminal
claude plugin marketplace add aimlapi/mcp
claude plugin install aimlapi@aimlapi

Then run /mcp in Claude Code, select plugin:aimlapi:aimlapi and choose Authenticate.

API key instead of the plugin:

Terminal
claude mcp add-json -s user aimlapi '{"type":"http","url":"https://mcp.aimlapi.com/mcp","headers":{"Authorization":"Bearer YOUR_AIMLAPI_API_KEY"}}'

Use one or the other. When a server with the same URL is configured by hand, Claude Code hides the plugin's copy.

Gemini CLI

Extension (OAuth):

bash
gemini extensions install https://github.com/aimlapi/mcp

Then run /mcp auth aimlapi in Gemini CLI.

API key:

bash
gemini mcp add -s user -t http -H 'Authorization: Bearer YOUR_AIMLAPI_API_KEY' aimlapi https://mcp.aimlapi.com/mcp

Qwen Code

Extension (OAuth):

bash
qwen extensions install aimlapi/mcp:aimlapi

Then run /mcp in Qwen Code and authenticate aimlapi. Installing with the plain repo URL also works; Qwen Code then asks you to pick the aimlapi plugin.

API key:

bash
qwen mcp add -s user --transport http -H 'Authorization: Bearer YOUR_AIMLAPI_API_KEY' aimlapi https://mcp.aimlapi.com/mcp

Qoder CLI

Plugin (OAuth):

bash
qoder plugins marketplace add aimlapi/mcp
qoder plugins install aimlapi@aimlapi

API key:

bash
qoder mcp add -s user --transport http aimlapi https://mcp.aimlapi.com/mcp -H 'Authorization: Bearer YOUR_AIMLAPI_API_KEY'

Cline and other clients

Cline: see llms-install.md. Any client that supports remote Streamable HTTP MCP servers can use the URL above with either auth option.

Check the connection

Ask the agent to call ping (returns pong), then account_balance. Both are free.

Tools

25 tools. Catalog, account and job-status tools are free. Model calls, tools_run and the two ranked searches are billed to your AI/ML API balance at the listed price; check prices with model_get or tools_inspect first.

Free (13)

ToolWhat it does
pingconnectivity check
account_balanceaccount balance
account_usagespending and key limit
models_listbrowse the model catalog
models_searchsearch models by keyword
model_getone model: capabilities, prices, metrics
models_comparecompare 2 to 10 models
models_find_bestcheapest or fastest model for a modality
tools_searchsearch the Agent Tools catalog
tools_inspectone Agent Tool: input schema, price, health
tools_run_statusstatus of an Agent Tool run
job_statusstatus of a generation job
job_resultoutput of a generation job

Billed to your AI/ML API balance (12)

ToolWhat it does
jev_model_searchAI-ranked model search (about $0.002 per search)
jev_tool_searchAI-ranked Agent Tools search (about $0.002 per search)
llm_chatchat completion with any language model
embeddings_createtext embeddings
image_generateimage generation
image_editimage editing
video_generatevideo generation
audio_generatemusic generation
speech_generatetext to speech
speech_transcribespeech to text
document_ocrdocument OCR
tools_runrun an Agent Tool, such as web search or page extraction

What is in this repository

FileUsed by
.claude-plugin/plugin.json, .claude-plugin/marketplace.jsonClaude Code plugin and marketplace
.qoder-plugin/plugin.json, .mcp.jsonQoder plugin (Claude Code also reads .mcp.json)
gemini-extension.jsonGemini CLI extension
qwen-extension.jsonQwen Code extension
llms-install.mdinstall steps for Cline and other agents

License

Apache-2.0. See LICENSE.