Artificial Analysis MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Artificial Analysis MCP or direct API to compare AI models, analyze provider pricing, benchmark latency, and rank models by intelligence, coding, math, image, video, speech, and music performance through natural language.

Artificial Analysis logoArtificial Analysis
Api Key

Artificial Analysis is an independent benchmarking platform for AI models and API providers. Use it to compare model intelligence, coding, math, pricing, latency, throughput, and arena rankings.

12 Tools

Try Artificial Analysis now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Artificial Analysis
Try asking
TOOLS

Supported Tools

Every Artificial Analysis action and event your agent gets out of the box.

List Image-Editing Models (Arena)

List image-editing models ranked by the Artificial Analysis arena, with Elo score and 95% confidence interval.

List Image-to-Video-with-Audio Models (Arena)

List image-to-video-with-audio models ranked by the Artificial Analysis arena, with Elo score and 95% confidence interval.

List Image-to-Video Models (Arena)

List image-to-video models ranked by the Artificial Analysis image-to-video arena, with Elo score and 95% confidence interval.

List Language Models (Intelligence & Pricing)

List LLMs from the Artificial Analysis leaderboard with intelligence, coding and agentic indices, pricing, and performance (speed and latency).

List Instrumental Music Models (Arena)

List instrumental music-generation models ranked by the Artificial Analysis arena, with Elo score and 95% confidence interval.

List Music-with-Vocals Models (Arena)

List music-with-vocals generation models ranked by the Artificial Analysis arena, with Elo score and 95% confidence interval.

List Speech-to-Speech Models

List speech-to-speech models with Big Bench Audio (bba_score), Full Duplex Bench (fdb_score), and Tau-Voice (tau_voice_score) quality scores.

List Speech-to-Text Models (WER)

List speech-to-text (transcription) models with the Artificial Analysis overall word-error-rate index (aa_wer_index).

List Text-to-Image Models (Arena)

List text-to-image models ranked by the Artificial Analysis image arena, with Elo score and 95% confidence interval.

List Text-to-Speech Models (Arena)

List text-to-speech (TTS) models ranked by the Artificial Analysis arena, with Elo score and 95% confidence interval.

List Text-to-Video-with-Audio Models (Arena)

List text-to-video-with-audio models ranked by the Artificial Analysis arena, with Elo score and 95% confidence interval.

List Text-to-Video Models (Arena)

List text-to-video models ranked by the Artificial Analysis arena, with Elo score and 95% confidence interval.

SETUP GUIDE

Connect Artificial Analysis MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK for Python or TypeScript
2

Initialize Client and Create Tool Router Session

typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
Import and initialize the Composio client, then create a Tool Router session for Artificial Analysis
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'List the top language models by coding index and include their pricing and latency.'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent (Anthropic Claude or Mastra)
SETUP GUIDE

Connect Artificial Analysis API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute Artificial Analysis Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'Compare GPT-4o, Claude 3.5 Sonnet, and Gemini 1.5 Pro by intelligence score, pricing, and latency.'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Artificial Analysis actions with your Agent

Why Use Composio?

AI Native Artificial Analysis Integration

  • Supports both Artificial Analysis MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable benchmark and provider queries
  • Rich coverage for comparing AI model scores, pricing, latency, throughput, and arena rankings

Managed Auth

  • Secure API key handling without hard-coding Artificial Analysis credentials in your agent code
  • Central place to manage, scope, and revoke Artificial Analysis access
  • Per user and per environment credentials so your benchmark workflows stay clean and safe

Agent Optimized Design

  • Tools are tuned so agents can ask clear questions like which model is fastest, cheapest, or strongest for coding
  • Comprehensive execution logs so you always know what benchmark data was queried, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Artificial Analysis
  • Scoped, least privilege access to Artificial Analysis benchmark and provider data
  • Full audit trail of agent actions to support review and compliance
FAQ

Frequently asked questions

Yes, Artificial Analysis requires you to configure your own API key. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Start with Artificial Analysis.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Artificial Analysis tool your agent needs.Free to start.

Start building