# Super AI Bench (MCP) (`flamboyant_leaf/super-ai-bench-mcp`) Actor

- **URL**: https://apify.com/flamboyant\_leaf/super-ai-bench-mcp.md
- **Developed by:** [AIRabbit](https://apify.com/flamboyant_leaf) (community)
- **Categories:** AI, Agents, MCP servers
- **Stats:** 5 total users, 1 monthly users, 0.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Super AI Bench MCP Server

Tired of guessing which AI model works best for your task? Stop jumping between GPT, Claude, Gemini, and dozens of others wondering which one is actually faster, cheaper, or smarter for what you need to build.

Super AI Bench solves this. Compare real performance data across any AI model, instantly find the best fit for your use case, and run predictions without leaving your MCP client.

#### Use it for:

- **Regression Testing:** Assess new model versions against your current production prompts.
- **Vendor Comparison:** Run "shootouts" between GPT, Claude, and open-source alternatives.
- **Ensemble/Consensus:** Automate parallel requests to multiple models to reduce hallucinations.
- **Cost Optimization:** Find the cheapest model that meets your specific quality threshold.

**Typical flow:** Preview fields → filter with jq → find candidates on Replicate → run the prompt.

### Install

Add the server once, then use it from your MCP client. Claude Desktop example:

#### Option 1: Using URL Query Parameter

Use this if your MCP client **doesn't support custom headers**. The Replicate API key is passed in the URL:

```json
{
  "mcpServers": {
    "super-ai-bench": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://flamboyant-leaf--super-ai-bench-mcp.apify.actor/mcp?replicateApiKey=%3CREPLICATE_API_KEY%3E",
        "--header",
        "Authorization: Bearer <APIFY_API_TOKEN>"
      ]
    }
  }
}
```

#### Option 2: Using Headers

Use this if your MCP client supports custom headers:

```json
{
  "mcpServers": {
    "super-ai-bench": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://flamboyant-leaf--super-ai-bench-mcp.apify.actor/mcp",
        "--header",
        "Authorization: Bearer <APIFY_API_TOKEN>",
        "--header",
        "X-Replicate-API-Key: <REPLICATE_API_KEY>"
      ]
    }
  }
}
```

**Note:** The Authorization header is still required for Apify authentication. Only the Replicate API key can be passed via query parameter. Supported query parameter names: `replicateApiKey` or `replicate_api_key`.

**Note:** You only need a Replicate API key if you want to run predictions. For benchmarks only, you don't need it.

### MCP Client Timeout

Some MCP clients have short default timeouts. This can happen especially when running predictions across multiple models, which can take longer. If you see timeouts during benchmark or Replicate calls, increase your MCP client timeout (e.g., to 120 seconds).

### How It Works

**Important:** Start every chat prompt with **"READ THE DOC"** so the model reads the protocol and uses the MCP tools correctly.

This server exposes benchmark and Replicate tools. A typical flow is:

1. **Preview fields** with `benchmark_get_*_preview`.
2. **Filter with jq** using the benchmark tool.
3. **Find models on Replicate** with `search_replicate_models_bulk`.
4. **Run the prompt** with `run_replicate_predictions_bulk_prompt`.

Full tutorial: https://dev.to/theairabbit/the-end-of-ai-monogamy-let-ai-find-the-best-model-for-your-task-23p7

### Supported Benchmarks & Data

We currently support:

- **LLM benchmarks:** intelligence, coding, math, speed, and pricing metrics.
- **Text‑to‑image benchmarks:** ELO ratings and ranks.

**Note:** Benchmark tools require jq. If the jq is invalid, too large, or returns empty/null fields, the tool returns an error plus a preview (`sample` + `fields`) to help you build a correct query.

### Real Use Cases

#### Example 1: Ensemble Verification (Quality Assurance)

**Goal:** Reduce hallucinations by getting multiple opinions.

> **User:** "Analyze this legal contract clause for loopholes. Get opinions from 4 different models. If they disagree, highlight the contradictions."
> **What happens:**
>
> - **Benchmark:** Filter models with high reasoning scores (e.g., GPQA/HLE).
> - **Replicate:** Run the prompt across multiple models.
> - **Result:** Compare and aggregate the answers.

#### Example 2: Regression Testing (New vs. Old Version)

**Goal:** Verify if a new model version breaks existing functionality.

> **User:** "Run my standard 'JSON extraction' prompt on Llama-2-70b and the new Llama-3-70b. Display the outputs side-by-side."
> **What happens:** Use Replicate tools to run the same prompt on both models and compare outputs side‑by‑side.

#### Example 3: Optimization & Parallelization

**Goal:** Maximize speed and throughput.

> **User:** "Run this classification task on the 5 fastest models simultaneously. I need a valid result in under 200ms."
> **What happens:** Filter by throughput (tokens/sec), then run the prompt across the fastest models and compare results.

#### Example 4: Image Comparison (Text-to-Image)

**Goal:** Compare image quality side‑by‑side from top models.

> **User:** "Generate a cinematic product shot for a matte‑black water bottle. Compare the top 2 text‑to‑image models."
> **What happens:** Use the text‑to‑image benchmark to pick top models, run the same prompt on Replicate, and compare the outputs.

#### Example 5: Multi-Vendor "Shootout" (Coding)

**Goal:** Compare performance across different providers for a specific task.

> **User:** "I need to fix a complex React bug. Fix it using the top 3 best coding models available right now."
> **What happens:**
>
> - **Benchmark:** Filter top coding models using benchmark metrics.
> - **Replicate:** Search and run the prompt across those models.
> - **Result:** Compare outputs and choose the best.

### MCP Tools

- **Benchmarks:** `benchmark_get_llm_models`, `benchmark_get_llm_models_preview`, `benchmark_get_text_to_image_models`, `benchmark_get_text_to_image_models_preview`
- **Replicate:** `search_replicate_models_bulk`, `run_replicate_predictions_bulk_prompt`
- **Meta:** `actor_get_version`, `get_protocol_documentation`, `get_readme_documentation`

> **Disclaimer**: The tools and workflows presented in this article provide a preliminary glimpse into the performance of various AI models, but these results should not be taken for granted. Automated comparisons are illustrative and may not reflect performance across all scenarios. To fully understand the specific strengths and weaknesses of candidate models, you must independently verify the results against your own data and requirements.

# Actor input Schema

## `operation` (type: `string`):

Which API operation to perform

## Actor input object example

```json
{
  "operation": "actor_get_version"
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("flamboyant_leaf/super-ai-bench-mcp").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("flamboyant_leaf/super-ai-bench-mcp").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call flamboyant_leaf/super-ai-bench-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,flamboyant_leaf/super-ai-bench-mcp"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/1hdn3N9PtIi5z4ePY/builds/fQEWiqDRpMJBL3kS3/openapi.json
