Aa Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Aa Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
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, mathaa_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-videoaa_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/*<p> <img src="https://raw.githubusercontent.com/Leev1s/aa-mcp/main/assets/artificial-analysis-logo.svg" alt="Artificial Analysis" width="260"> </p>
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.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.