Observed since 20 Oct, 16:58 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
MCP server wrapping the Artificial Analysis API for LLM and multimodal model data queries
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.
Use uvx as the standard runtime path:
export ARTIFICIAL_ANALYSIS_API_KEY="aa_your_key_here"
uvx aa-mcp
| Variable | Required | Default | Description |
|---|---|---|---|
ARTIFICIAL_ANALYSIS_API_KEY | Yes | - | Your AA API key |
AA_MCP_SNAPSHOT_DIR | No | ~/.local/share/aa-mcp/snapshots/ | Directory for update snapshots |
AA_MCP_LOG_LEVEL | No | INFO | Log level (DEBUG, INFO, WARNING, ERROR) |
This server wraps the current free Artificial Analysis API endpoints documented at https://artificialanalysis.ai/api-reference:
| Artificial Analysis endpoint | MCP tool |
|---|---|
GET /api/v2/data/llms/models | aa_list_llms, aa_get_model, aa_compare_models, aa_list_recent_updates, aa_healthcheck |
GET /api/v2/data/media/text-to-image | aa_list_media_models(modality="text-to-image") |
GET /api/v2/data/media/image-editing | aa_list_media_models(modality="image-editing") |
GET /api/v2/data/media/text-to-speech | aa_list_media_models(modality="text-to-speech") |
GET /api/v2/data/media/text-to-video | aa_list_media_models(modality="text-to-video") |
GET /api/v2/data/media/image-to-video | aa_list_media_models(modality="image-to-video") |
POST /api/v2/critpt/evaluate | aa_evaluate_critpt |
aa_list_llmsList LLM models with filtering and sorting.
creator, name, slug (substring match)intelligence (default), price, speed, ttft, coding, mathlimit: Max results (default 20)aa_get_modelGet full details for a single model by id, slug, or name.
aa_compare_modelsSide-by-side comparison of 2+ models.
aa_list_recent_updatesDetect changes since the last local snapshot.
aa_list_media_modelsQuery multimodal / media model rankings.
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 itaa_evaluate_critptSubmit a complete CritPt benchmark batch to the official evaluation endpoint.
submissions for the full public CritPt problem setproblem_id, generated_code, model, generation_configbatch_metadata object is passed through to Artificial Analysisaa_healthcheckVerify API key and upstream connectivity.
The aa_list_recent_updates tool uses a local JSON snapshot mechanism:
~/.local/share/aa-mcp/snapshots/llm_models_YYYYMMDDTHHMMSSZ.jsonAdd 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.
# 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()
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/*
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.
pypistats · 68 observations shown. Missing days are unknown. Source category: overall: without mirrors.
| Date / source period | Value | Observed at |
|---|---|---|
| 2026-10-20 – 2026-10-20 | 7 | 2026-10-21T10:36:05.8050684Z |
| 2026-10-19 – 2026-10-19 | 2 | 2026-10-21T10:36:05.8050684Z |
| 2026-10-18 – 2026-10-18 | 2 | 2026-10-21T10:36:05.8050684Z |
| 2026-10-17 – 2026-10-17 | 6 | 2026-10-21T10:36:05.8050684Z |
| 2026-10-16 – 2026-10-16 | 12 | 2026-10-21T10:36:05.8050684Z |
| 2026-10-15 – 2026-10-15 | 2 | 2026-10-21T10:36:05.8050684Z |
| 2026-10-14 – 2026-10-14 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-10-13 – 2026-10-13 | 3 | 2026-10-21T10:36:05.8050684Z |
| 2026-10-12 – 2026-10-12 | 3 | 2026-10-21T10:36:05.8050684Z |
| 2026-10-11 – 2026-10-11 | 8 | 2026-10-21T10:36:05.8050684Z |
| 2026-10-10 – 2026-10-10 | 4 | 2026-10-21T10:36:05.8050684Z |
| 2026-10-09 – 2026-10-09 | 2 | 2026-10-21T10:36:05.8050684Z |
| 2026-10-08 – 2026-10-08 | 6 | 2026-10-21T10:36:05.8050684Z |
| 2026-10-07 – 2026-10-07 | 3 | 2026-10-21T10:36:05.8050684Z |
| 2026-10-06 – 2026-10-06 | 2 | 2026-10-21T10:36:05.8050684Z |
| 2026-10-03 – 2026-10-03 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-10-01 – 2026-10-01 | 3 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-30 – 2026-09-30 | 3 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-29 – 2026-09-29 | 4 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-28 – 2026-09-28 | 2 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-27 – 2026-09-27 | 2 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-26 – 2026-09-26 | 6 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-25 – 2026-09-25 | 5 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-24 – 2026-09-24 | 5 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-23 – 2026-09-23 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-20 – 2026-09-20 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-19 – 2026-09-19 | 3 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-18 – 2026-09-18 | 10 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-17 – 2026-09-17 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-14 – 2026-09-14 | 2 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-12 – 2026-09-12 | 8 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-11 – 2026-09-11 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-10 – 2026-09-10 | 2 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-09 – 2026-09-09 | 5 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-08 – 2026-09-08 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-07 – 2026-09-07 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-06 – 2026-09-06 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-05 – 2026-09-05 | 8 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-04 – 2026-09-04 | 2 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-03 – 2026-09-03 | 2 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-02 – 2026-09-02 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-09-01 – 2026-09-01 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-31 – 2026-08-31 | 5 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-30 – 2026-08-30 | 2 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-29 – 2026-08-29 | 2 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-28 – 2026-08-28 | 2 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-24 – 2026-08-24 | 14 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-23 – 2026-08-23 | 3 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-22 – 2026-08-22 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-21 – 2026-08-21 | 6 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-20 – 2026-08-20 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-19 – 2026-08-19 | 2 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-18 – 2026-08-18 | 54 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-17 – 2026-08-17 | 8 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-14 – 2026-08-14 | 10 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-13 – 2026-08-13 | 2 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-11 – 2026-08-11 | 5 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-09 – 2026-08-09 | 5 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-08 – 2026-08-08 | 4 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-06 – 2026-08-06 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-04 – 2026-08-04 | 7 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-03 – 2026-08-03 | 16 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-02 – 2026-08-02 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-08-01 – 2026-08-01 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-07-29 – 2026-07-29 | 12 | 2026-10-21T10:36:05.8050684Z |
| 2026-07-27 – 2026-07-27 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-07-24 – 2026-07-24 | 1 | 2026-10-21T10:36:05.8050684Z |
| 2026-07-23 – 2026-07-23 | 2 | 2026-10-21T10:36:05.8050684Z |
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.2 | 21 May 2026 | 2 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Public sponsor counts have not been collected. These signals belong to the repository owner.
github · 1 observations shown. Missing days are unknown.
| Date / source period | Value | Observed at |
|---|---|---|
| 2026-10-22 | 2 | 2026-10-22T16:49:50.8510140Z |
Observed since 20 Oct, 16:58 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:283d28583cdd43966f314dc7c9604203667ccfe0dbe8d3510048da10d7ce46f0