# AIML API [Verified owner] [Health: Active]

**Category:** 🔗 Aggregators  
**Repository:** https://github.com/aimlapi/mcp  
**GitHub Stars:** 0  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ai-ml-api

## Description
Official AI/ML API MCP server: 10,000+ AI tools and models with 0% markup. Chat, image, video, speech, embeddings, web search, GitHub trending, LLM leaderboards, SEO and social data.

## Tools
Capabilities this server exposes over MCP:

- **ping** — connectivity check
- **account_balance** — account balance
- **account_usage** — spending and key limit
- **models_list** — browse the model catalog
- **models_search** — search models by keyword
- **model_get** — one model: capabilities, prices, metrics
- **models_compare** — compare 2 to 10 models
- **models_find_best** — cheapest or fastest model for a modality
- **tools_search** — search the Agent Tools catalog
- **tools_inspect** — one Agent Tool: input schema, price, health
- **tools_run_status** — status of an Agent Tool run
- **job_status** — status of a generation job
- **job_result** — output of a generation job
- **jev_model_search** — AI-ranked model search (about $0.002 per search)
- **jev_tool_search** — AI-ranked Agent Tools search (about $0.002 per search)
- **llm_chat** — chat completion with any language model
- **embeddings_create** — text embeddings
- **image_generate** — image generation
- **image_edit** — image editing
- **video_generate** — video generation
- **audio_generate** — music generation
- **speech_generate** — text to speech
- **speech_transcribe** — speech to text
- **document_ocr** — document OCR
- **tools_run** — run an Agent Tool, such as web search or page extraction

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "aiml-api": {
    "url": "https://mcp.aimlapi.com/mcp"
  }
}
```

## Documentation

## What AIML API MCP server does

AIML API MCP server exposes AI/ML API’s model and Agent Tools catalogs through MCP. Agents can browse available models, search by keyword, inspect capabilities and pricing, compare between two and ten models, or find the cheapest or fastest option for a modality. The catalog also includes Agent Tools such as web search and page extraction.

Generation and processing tools cover language, embeddings, images, video, music, speech, and documents. An agent can call a language model, create embeddings, generate or edit an image, generate video or music, convert text to speech, transcribe speech, or run document OCR. `tools_run` executes an Agent Tool, while job and run status tools help retrieve asynchronous results.

## How it works

The server is hosted by AI/ML API at `https://mcp.aimlapi.com/mcp` and communicates over Streamable HTTP. The repository contains installation manifests and configuration files rather than server implementation; there is no local build step or local process to start.

Authentication supports two paths. OAuth opens a browser sign-in flow for an AI/ML API account and uses PKCE with the `openid`, `email`, `offline_access`, and `mcp:invoke` scopes. Alternatively, clients can send an `Authorization: Bearer <API key>` header using a key created in the AI/ML API account.

A connection can be checked with `ping`, which returns `pong`, followed by `account_balance`. Catalog, account, and job-status operations are free. Model calls, `tools_run`, and the two AI-ranked search tools draw from the AI/ML API balance; inspect model or tool pricing before invoking billed operations.

## Setup and configuration

Claude Code can install the OAuth plugin from the `aimlapi/mcp` marketplace, or add the hosted URL manually with a bearer token. Gemini CLI provides an extension installation path and supports adding the same endpoint with an authorization header. Qwen Code and Qoder CLI also provide OAuth and API-key installation commands. Cline and other MCP clients can connect directly if they support remote Streamable HTTP servers.

For API-key authentication, keep the key out of committed configuration files. OAuth avoids placing a key in client configuration. The official MCP Registry identifier is `com.aimlapi/mcp`.

## Tools and capabilities

The 25 exposed tools fall into these groups:

- Connectivity and account checks: `ping`, `account_balance`, and `account_usage`.
- Model discovery: `models_list`, `models_search`, `model_get`, `models_compare`, and `models_find_best`.
- Agent Tool discovery and execution: `tools_search`, `tools_inspect`, `tools_run`, and `tools_run_status`.
- Generation jobs: `job_status` and `job_result`.
- AI-ranked catalog search: `jev_model_search` and `jev_tool_search`, each priced at about $0.002 per search.
- AI operations: `llm_chat`, `embeddings_create`, `image_generate`, `image_edit`, `video_generate`, `audio_generate`, `speech_generate`, `speech_transcribe`, and `document_ocr`.

Use `model_get` or `tools_inspect` to check prices, capabilities, schemas, and health before making paid calls.

## Limitations and notes

Usage-based operations are charged to the AI/ML API balance, while catalog, account, and job-status tools are free. The server is hosted rather than locally runnable from this repository, so connectivity depends on access to the remote endpoint. API-key users are responsible for protecting the bearer token in client configuration.

_Full upstream README: https://allmcps.com/mcp/ai-ml-api/readme_

