aa-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@aa-mcp List the top 5 LLMs by intelligence."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
aa-mcp
MCP server wrapping the Artificial Analysis public API. Enables AI agents to query LLM and multimodal model benchmarks, pricing, speed data, and track model updates via structured diffs.
The PyPI package is aa-mcp; it installs the aa-mcp console command.
Requirements
Python 3.10+
uv (for installation and running)
An Artificial Analysis API key (get one free)
Related MCP server: LLM Benchmark MCP Server
Installation & Running
Use uvx as the standard runtime path:
export ARTIFICIAL_ANALYSIS_API_KEY="aa_your_key_here"
uvx aa-mcpEnvironment Variables
Variable | Required | Default | Description |
| Yes | - | Your AA API key |
| No |
| Directory for update snapshots |
| No |
| Log level (DEBUG, INFO, WARNING, ERROR) |
Official API Coverage
This server wraps the current free Artificial Analysis API endpoints documented at https://artificialanalysis.ai/api-reference:
Artificial Analysis endpoint | MCP tool |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MCP Tools
aa_list_llms
List LLM models with filtering and sorting.
Filters:
creator,name,slug(substring match)Sort by:
intelligence(default),price,speed,ttft,coding,mathlimit: Max results (default 20)
aa_get_model
Get full details for a single model by id, slug, or name.
Returns candidates if multiple matches found
Supports partial/fuzzy matching
aa_compare_models
Side-by-side comparison of 2+ models.
Compares: intelligence, coding, math, pricing, speed, latency
Returns rankings across all metrics
Input: list of identifiers (ids, slugs, or names)
aa_list_recent_updates
Detect changes since the last local snapshot.
New models: present in current data but not in snapshot
Removed models: present in snapshot but gone from current data
Changed models: field-level diffs for pricing, speed, intelligence scores, etc.
First run creates a baseline snapshot
Float changes below 0.01 threshold are ignored (noise filtering)
aa_list_media_models
Query multimodal / media model rankings.
Modalities:
text-to-image,image-editing,text-to-speech,text-to-video,image-to-videotop_n: Limit results (default 10)include_categories: Per-category Elo breakdown where the upstream endpoint supports it
aa_evaluate_critpt
Submit a complete CritPt benchmark batch to the official evaluation endpoint.
Requires
submissionsfor the full public CritPt problem setValidates required fields before sending:
problem_id,generated_code,model,generation_configOptional
batch_metadataobject is passed through to Artificial AnalysisThe upstream endpoint is rate-limited separately and may take substantial time to complete
aa_healthcheck
Verify API key and upstream connectivity.
Returns masked key preview, model count, rate limit info
Reports specific error types (auth, rate limit, server error)
Snapshot / Update Tracking
The aa_list_recent_updates tool uses a local JSON snapshot mechanism:
First call: Fetches all LLM models, saves a normalized snapshot to disk, reports "baseline created"
Subsequent calls: Fetches fresh data, diffs against the latest snapshot, reports changes
Snapshot location:
~/.local/share/aa-mcp/snapshots/llm_models_YYYYMMDDTHHMMSSZ.jsonNoise filtering: Float fields use a 0.01 threshold to avoid reporting insignificant fluctuations
Tracked fields: name, slug, creator, all evaluation scores, all pricing fields, speed/latency
opencode Integration
Add to your opencode.json:
{
"mcp": {
"servers": {
"artificial-analysis": {
"command": "uvx",
"args": ["aa-mcp"],
"env": {
"ARTIFICIAL_ANALYSIS_API_KEY": "aa_your_key_here"
}
}
}
}
}For MCP client examples, see
docs/mcp-client-config.md.
Example Usage (via MCP client)
# List top 5 most intelligent LLMs
aa_list_llms(sort_by="intelligence", limit=5)
# Get details on Claude 3.5 Sonnet
aa_get_model("claude-3-5-sonnet")
# Compare GPT-4o vs Claude 3.5 Sonnet vs Gemini 1.5 Pro
aa_compare_models(["gpt-4o", "claude-3-5-sonnet", "gemini-1.5-pro"])
# Check for recent model changes
aa_list_recent_updates()
# Top 5 text-to-image models
aa_list_media_models(modality="text-to-image", top_n=5)
# Submit CritPt benchmark results
aa_evaluate_critpt(
submissions=[
{
"problem_id": "Challenge_1_main",
"generated_code": "def solution(): return 42",
"model": "example-model",
"generation_config": {"temperature": 0}
}
],
batch_metadata={"run_id": "local-test"}
)
# Verify API connectivity
aa_healthcheck()Development Checks
For development, run the release checks from a source checkout:
uv sync --dev
uv run pytest
uv run ruff check .
uv build
uv run twine check dist/*Known Limitations
Free API tier: 1000 requests/day rate limit
No explicit "updated_at" field: Update detection relies on snapshot diffs, not API metadata
LLM data only for snapshots: Media model snapshot tracking is not yet implemented
CritPt completeness: The upstream evaluation API requires submissions for the full public problem set; this server validates object shape but cannot verify set completeness locally
No pagination: The free API returns all models in a single response; no cursor/offset support
Snapshot storage: Local filesystem only; no cloud sync
Attribution
This project uses data and benchmark resources from Artificial Analysis.
Attribution is required for all use of the Artificial Analysis free API. If you publish outputs, dashboards, reports, or derivative analysis using data returned by this MCP server, include attribution to artificialanalysis.ai.
CritPt benchmark evaluation data should also include attribution to the CritPt project.
Available Tools
7 toolsaa_compare_modelsA
Compare multiple LLM models side by side on key metrics.
Args:
identifiers: List of model ids, slugs, or names (at least 2).
Returns:
JSON object with comparison table and per-model details.
Inputs: identifiers (required). Returns: result
aa_evaluate_critptA
Submit a complete CritPt benchmark batch for official evaluation.
The upstream endpoint requires submissions for all public CritPt problems in
one request. Each submission should include problem_id, generated_code,
model, and generation_config. This tool can take substantial time because
the upstream grading service runs benchmark evaluation jobs.
Args:
submissions: Complete list of CritPt submission objects.
batch_metadata: Optional metadata for the batch.
Returns:
JSON response with accuracy, timeout rate, and judge/server error counts.
Inputs: submissions (required), batch_metadata. Returns: result
aa_get_modelA
Get detailed information about a single LLM model by id, slug, or name.
Args:
identifier: Model id (UUID), slug, or name. Partial matching supported.
Returns:
JSON object with full model details, or candidates if multiple matches.
Inputs: identifier (required). Returns: result
aa_healthcheckA
Verify API key validity and upstream API reachability.
Returns:
JSON with connectivity status, model count, and any error details.
Inputs: no named parameters. Returns: result
aa_list_llmsA
List LLM models from Artificial Analysis with optional filtering and sorting.
Args:
creator: Filter by creator name (case-insensitive substring match)
name: Filter by model name (case-insensitive substring match)
slug: Filter by slug (case-insensitive substring match)
sort_by: Sort key - 'intelligence', 'price', 'speed', 'ttft', 'coding', 'math'
limit: Max models to return (default 20)
Returns:
JSON array of model summaries.
Inputs: creator, name, slug, sort_by, +1 more. Returns: result
aa_list_media_modelsA
List top-ranked multimodal / media models by Elo ratings.
Args:
modality: One of 'text-to-image', 'image-editing', 'text-to-speech',
'text-to-video', 'image-to-video'
top_n: Number of top models to return (default 10)
include_categories: Include per-category Elo breakdown (text-to-image, text-to-video only)
Returns:
JSON array of media model rankings.
Inputs: modality, top_n, include_categories. Returns: result
aa_list_recent_updatesA
Detect recent LLM model changes by comparing current data to the last local snapshot.
Identifies new models, removed models, and field-level changes (pricing, speed,
intelligence scores, etc.). On first run, saves a baseline snapshot and reports
the full model list as "initial baseline".
Args:
save_new_snapshot: If true (default), save the current data as the new snapshot
after diffing. Set false to preview-only.
Returns:
JSON with structured diff: added, removed, changed models with field-level deltas.
Inputs: save_new_snapshot. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct operation: healthcheck for connectivity, list_llms for listing models, get_model for details, compare_models for comparison, list_media_models for media models, list_recent_updates for tracking changes, and evaluate_critpt for benchmark submission. No overlap or ambiguity.
All tools use the 'aa_' prefix with consistent snake_case naming. Most follow a verb_noun pattern (list_llms, get_model, compare_models, evaluate_critpt, list_media_models, list_recent_updates), with only healthcheck being a single word, which is acceptable.
With 7 tools, the set is well-scoped for an LLM model comparison and evaluation API. It covers essential operations (listing, details, comparison, benchmark submission, updates tracking, healthcheck) without unnecessary bloat or missing core functionality.
The tool surface covers listing, detail, comparison, media models, updates, and evaluation submission. A minor gap is the lack of a tool to retrieve past evaluation results or browse problems, but the core workflow is supported.
Maintenance
Related MCP Connectors
Compare LLM API prices, search models and providers, and access reviewed benchmark results.
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
Source-backed AI model pricing, rankings, history, and benchmark data.
70+ pay-per-call tools for AI agents: web search, email verify, KYC, stocks, crypto, news, data
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides access to real-time LLM pricing, speed metrics, and performance benchmarks for over 300 models from Artificial Analysis. It enables users to list, filter, and compare models based on costs, tokens per second, and intelligence indices.239 npm9MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to compare LLM benchmarks, get pricing, and receive model recommendations for tasks and budgets.1MIT
- AlicenseAqualityBmaintenanceEnables coding agents to query AI model API prices, including historical point-in-time lookups with cited sources, using a bundled dated dataset and requiring no API keys.555 npmMIT

Modelmeterofficial
AlicenseNot gradedqualityDmaintenanceEnables AI agents to query model pricing, deprecations, and cost estimates via a machine-readable changelog of the AI stack.1MIT