Artificial Analysis MCP Server

MCP server for Artificial Analysis API - get LLM model pricing, speed, and benchmarks

Local serverstdio

What is the Artificial Analysis MCP MCP server?

MCP server for Artificial Analysis API - get LLM model pricing, speed, and benchmarks. Exposed over MCP by the artificial analysis mcp mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

An MCP (Model Context Protocol) server that provides LLM model pricing, speed metrics, and benchmark scores from Artificial Analysis.

  • Get real-time pricing for 300+ LLM models (input/output/blended rates)
  • Compare speed metrics (tokens/sec, time to first token)
  • Access benchmark scores (Intelligence Index, Coding Index, MMLU-Pro, GPQA, and more)
  • Filter by provider (OpenAI, Anthropic, Google, etc.)
  • Sort by any metric

Its toolset

Everything the assistant can do here goes through one of these:

  • list_models — List all available LLM models with optional filtering and sorting
  • get_model — The get_model tool exposed by this server

Configuration

You will need one environment variable: AA_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Adding it to your client

Installation goes through your MCP client rather than a global install: point it at artificial-analysis-mcp on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

When to reach for it

Among the AI and media services options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Artificial Analysis MCP's toolset — list_models, get_model — is a fair guide to whether it matches your workflow. It is maintained by davidhariri; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Artificial Analysis MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the artificial analysis mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
list_modelsList all available LLM models with optional filtering and sorting.
get_modelThe get_model tool exposed by this server.

How to install the Artificial Analysis MCP MCP server

{
  "mcpServers": {
    "artificial-analysis": {
      "command": "npx",
      "args": ["-y", "artificial-analysis-mcp"],
      "env": {
        "AA_API_KEY": "your-api-key"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
AA_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Artificial Analysis MCP to list models.
  • Use Artificial Analysis MCP to get model.

Frequently asked questions

It connects Artificial Analysis MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (list_models, get_model) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Artificial Analysis MCP directly.