Skip to main content
Glama

model-radar

MCP server that discovers live model catalogs across HTTPS providers (free and paid) and subscription CLIs (Claude Code, Grok, Antigravity/agy, Codex), ranks models by measured latency, and lets AI agents run a prompt on the fastest one, compare answers across several, or judge output with a panel of models.

Inspired by free-coding-models.

Install

pip install model-radar-mcp

Related MCP server: OpenRouter Model Selector MCP

Quick Start

1. Configure an API key

# Option A: Save to ~/.model-radar/config.json
model-radar configure nvidia nvapi-xxx

# Option B: Environment variable
export NVIDIA_API_KEY=nvapi-xxx

Or copy the template: cp config.example.json ~/.model-radar/config.json and edit it.

Keeping keys somewhere else. Set MODEL_RADAR_CONFIG to the full path of the config file, for example one on an encrypted or removable volume:

export MODEL_RADAR_CONFIG=/path/to/secure-volume/model-radar.json

Only that file is then read and written. If it is missing (say, the volume is not mounted), model-radar loads no keys from disk, says so in list_providers() and /healthz (config_ok: false), and refuses to save rather than create the path. It never falls back to the home directory, and a config.json in the working directory is never read. Provider env vars such as GROQ_API_KEY still override the file.

See Keys and security for what model-radar does with keys.

2. Add to your MCP client

Claude Code (~/.claude/settings.json):

{
  "mcpServers": {
    "model-radar": {
      "command": "model-radar",
      "args": ["serve"]
    }
  }
}

Cursor (~/.cursor/mcp.json):

Stdio (Cursor starts the server):

{
  "mcpServers": {
    "model-radar": {
      "command": "/path/to/your/.venv/bin/model-radar",
      "args": ["serve"]
    }
  }
}

Streamable HTTP (persistent server — recommended):

{
  "mcpServers": {
    "model-radar": {
      "url": "http://127.0.0.1:8743/mcp",
      "transportType": "streamable-http"
    }
  }
}

Start the server first:

model-radar serve --transport sse --port 8743

OpenClaw (~/.openclaw/config/mcporter.json):

{
  "mcpServers": {
    "model-radar": {
      "type": "http",
      "url": "http://127.0.0.1:8743/mcp"
    }
  }
}

Web dashboard: Add --web for a localhost UI at http://127.0.0.1:8743/ for status, config, discovery, and running prompts. The server binds to 127.0.0.1 only; keys never leave your machine.

model-radar serve --transport sse --port 8743 --web

Auto-restart wrapper:

while true; do model-radar serve --transport sse --port 8743; sleep 1; done

Then call restart_server() from any MCP client to reload with updated code.

3. CLI usage

# Scan models
model-radar scan --min-tier S --limit 10

# List providers
model-radar providers

# Save a key
model-radar configure nvidia nvapi-xxx

Keys and security

  • One file holds the keys. It is ~/.model-radar/config.json, or the file named by MODEL_RADAR_CONFIG, created with mode 0600. Provider env vars override it. Nothing else is read.

  • Keys are never returned. list_providers(), profile() and /healthz report configured or missing, the names of stored keys, and the config path. They never include a key value.

  • Keys go only to their own provider. A key is sent to that provider's API endpoint and nowhere else. There is no telemetry.

  • The HTTP server binds to 127.0.0.1. The dashboard and its REST routes are off unless you pass --web.

  • Do not commit a config file. config.json is in .gitignore; config.example.json is the template.

Environment variable

Purpose

MODEL_RADAR_CONFIG

Full path of the config file to use in place of ~/.model-radar/config.json

MODEL_RADAR_CLI_TIMEOUT

Seconds to wait for a subscription CLI to answer (default 300)

MODEL_RADAR_ALLOW_RESTART

Set to 0 to disable the restart_server() tool

<PROVIDER>_API_KEY

A provider key; see the Providers table for each name

MCP argument validation

Unknown tool arguments are refused, not silently dropped — a mistyped filter is rejected with an error, never answered as if it were applied. Every tool advertises additionalProperties: false. The guard comes from ironmcp (strict_server), and tests/test_conformance.py checks that every tool enforces what it advertises.

AI agents: an unknown argument(s): … running older code … reconnect error means the running server predates the argument you sent — nothing ran; reconnect the MCP rather than retrying the same call.

Catalogs are live

Model ids are not a hardcoded list. On startup, once an hour, and after a completion 404, model-radar fetches each provider’s /v1/models (Ollama /api/tags, grok models / agy models) and replaces that provider’s catalog — new ids in, retired ids gone. GET /v1/models is free; completions are what you pay for.

Seed tuples in the package are a fallback plus SWE-bench overlays for known ids. See Catalog playbook.

model-radar db refresh              # force live replace
python scripts/catalog-report.py    # seed vs live vs missing keys (no secrets)

Providers

HTTPS providers take an API key (configure_key or env). Call list_providers() for the current count and key status.

Provider

Env Var

Notes

NVIDIA NIM

NVIDIA_API_KEY

Rate-limited, no expiry

Groq

GROQ_API_KEY

Free tier

Cerebras

CEREBRAS_API_KEY

Small, fast; catalog rotates often

SambaNova

SAMBANOVA_API_KEY

$5 credits / 3 months

OpenRouter

OPENROUTER_API_KEY

:free ids change frequently

Hugging Face

HF_TOKEN / HUGGINGFACE_API_KEY

Free monthly credits

Replicate

REPLICATE_API_TOKEN

Dev quota

DeepInfra

DEEPINFRA_API_KEY

Free dev tier

Fireworks

FIREWORKS_API_KEY

$1 free credits

Codestral/Mistral

CODESTRAL_API_KEY

30 req/min, 2000/day

Hyperbolic

HYPERBOLIC_API_KEY

$1 free trial

Scaleway

SCALEWAY_API_KEY

1M free tokens

Google AI

GOOGLE_API_KEY

14.4K req/day

SiliconFlow

SILICONFLOW_API_KEY

Free model quotas

Together AI

TOGETHER_API_KEY

Credits vary

Cloudflare

CLOUDFLARE_API_TOKEN

10K neurons/day

Perplexity

PERPLEXITY_API_KEY

Tiered limits

xAI

XAI_API_KEY

Or use the grok CLI instead

Inference.net

INFERENCE_NET_API_KEY

Free tier

SEA-LION

SEALION_API_KEY

Free tier

Vercel AI Gateway

AI_GATEWAY_API_KEY

List price; free monthly credit needs a card on file. Also serves typesafe-ai/jev via evaluate

MiniMax

MINIMAX_API_KEY

api.minimax.io (M3). Same token works on /anthropic — do not set ANTHROPIC_AUTH_TOKEN globally

Ollama

none (local daemon)

Models already pulled on 127.0.0.1:11434

CLI subscriptions

If you already pay for a monthly plan, model-radar can ride that subscription — no API key. The official CLI is auto-detected from $PATH at startup.

CLI

Rides

Login

claude

Claude Pro / Max

claude auth login

grok

SuperGrok

grok login

agy (provider key gemini)

Google AI Pro/Ultra / Gemini

run agy once to sign in

codex

ChatGPT Plus / Pro

codex login

The old gemini CLI was deprecated (June 2026) in favor of Antigravity CLI (agy). Install: curl -fsSL https://antigravity.google/cli/install.sh | bash. agy models may also list Claude and GPT-OSS on the same login. Codex-in-agy is a conversation mode; for model-radar use the standalone codex CLI.

These never join get_fastest() / default ask() — that would spend quota by accident. Pin them:

ask(prompt="Review this paragraph…", providers=["claude", "grok", "gemini"])
ask(prompt="…", model_ids=["sonnet", "grok-4.6"])

MCP Tools

Discovery

  • list_providers() — See all providers, API-key status, and installed subscription CLIs

  • list_models(tier?, provider?, min_tier?, free_only?) — Browse the catalog (refreshes a provider if its list is older than an hour)

  • scan(verify?) — Ping models in parallel, ranked by latency. verify=True checks for non-empty output.

  • get_fastest(min_tier?, count?, free_only?, verified?) — Best N models right now

  • get_workers(count?, min_tier?, verified?) — N verified-alive models from N distinct providers

  • provider_status() — Per-provider health check

Execution

  • run(prompt, model_id?, free_only?) — Execute on fastest model with auto-fallback

  • ask(prompt, count=3, model_ids?, providers?) — Same prompt on N models (Ollama sequential, remotes parallel)

  • recommend(job) — Short diverse lineup for translate / rewrite / review / code / dict

  • quality_probe(job) — Time + pass/fail on a fixed prompt (translate, rewrite, review, or dict: five dictionary headwords)

  • still_free(speed?) — Which Lane A hosts still answer; up to 3 chat models each in parallel (speed=fast prefers small/flash ids)

  • batch_run(prompts, results_file?) — Batch execution with incremental JSONL, resume support, adaptive concurrency

Evaluation (LLM-as-Judge)

  • judge(prompt, rubric, count=3, exclude_providers?) — Rate a single item with N diverse judges (pass the producer to exclude)

  • compare(item_a, item_b, blind=True) — Blind A/B comparison, randomized order per judge

  • batch_judge(items, rubric, results_file?) — Evaluate at scale with incremental results

  • backtranslate_eval(..., exclude_providers?) — Back-translation quality metric; do not use the producer

  • evaluate(state, questions, model_id?) — Typed judgments from TypeSafe Jev (typesafe-ai/jev) through Vercel AI Gateway: boolean P(yes), choice, or score. Needs AI_GATEWAY_API_KEY

Quality & Setup

  • benchmark(model_id?) — Quality-test with 5 coding challenges

  • refresh_models() — Fetch live lists and replace each provider’s catalog (purge retired ids)

  • setup_guide(provider?) — Setup instructions for unconfigured providers

  • setup_workflow(step, provider_selection?) — Step-by-step setup for an agent guiding a user through provider signups

  • configure_key(provider, api_key, key_id?, make_active?) — Save a named API key; other keys on the provider are kept

  • host_swap_instructions(model_id?, provider?, min_tier?) — Base URL and model id to set in a host app (Cursor, Claude Code, and others), and where each app keeps its settings

  • restart_server() — Restart for code updates (SSE mode)

  • server_stats() — Uptime and start time

Spend control

  • profile() — Spend lane of each provider (A never invoices, B is a monthly CLI, C can charge) with your funded and spend_ok flags. No secrets

  • set_profile(provider, spend_ok?, funded?, login?) — Set those flags. A provider that can charge is never picked unprompted unless it is funded and spend_ok is true

  • credits(provider?) — Remaining prepaid balance or quota where the provider has an API for it (OpenRouter, Vercel AI Gateway, SiliconFlow, Groq)

Tier Scale (SWE-bench Verified)

Tier

Score

Meaning

S+

70%+

Elite frontier coders

S

60-70%

Excellent

A+

50-60%

Great

A

40-50%

Good

A-

35-40%

Decent

B+

30-35%

Average

B

20-30%

Below average

C

<20%

Lightweight/edge

Documentation

License

MIT

Available Tools

28 tools
askA

Run the same prompt on multiple models in parallel and return all responses.

Use this for verification, consensus, and writing reviews. Pin subscription CLIs (claude, grok, gemini, codex) with model_ids or providers — they are never auto-picked, so a monthly plan is not spent by accident.

Args: prompt: The question or task to send to all models system_prompt: Optional system prompt applied to all models count: How many models to query in parallel (default 3) min_tier: Minimum quality tier for model selection (default "A") provider: Limit auto-pick to one provider (nvidia, groq, claude, …) providers: Explicit provider list, e.g. ["claude", "grok", "gemini"] model_ids: Explicit models, e.g. ["sonnet", "grok-4.6"] or "claude/sonnet" max_tokens: Max response tokens per model (default 4096) temperature: Sampling temperature (default 0.0 for deterministic)

Inputs: prompt (required), count, min_tier, provider, +5 more. Returns: result

backtranslate_evalA

Evaluate a translation via back-translation and gloss overlap.

Translates the output back to the source language using a different model, then computes word-level gloss overlap with the original text. This is the most powerful non-circular quality metric for translation: original → translate → back-translate → overlap.

Returns the back-translation, overlap score (0.0-1.0), matching/missing/extra glosses, and the model used for back-translation.

Args: text: Original source-language text (e.g. "father, head of household") translation: The translated text to evaluate (e.g. "Vater, Haupt eines Haushalts") source_lang: Source language name (e.g. "English") target_lang: Target language name (e.g. "German") back_model_id: Specific model for back-translation (default: auto-select different model) min_tier: Minimum quality tier for auto-selection (default "A") free_only: Only use free models (default false) max_tokens: Max response tokens (default 512) exclude_providers: Do not back-translate on these hosts (the producer) exclude_model_ids: Do not use these model ids

Inputs: text (required), source_lang (required), target_lang (required), translation (required), +6 more. Returns: result

batch_judgeA

Run judge evaluations at scale on a list of items.

Processes items with bounded concurrency using a shared pool of diverse judges. Returns per-item scores, summary statistics (mean, stdev, min, max per dimension), and error counts.

Each item in the list should have a "prompt" key with the evaluation prompt, and an optional "metadata" key for tracking (e.g. language, entry ID).

When results_file is set, each scored item is appended as a JSON line immediately after scoring. On interruption, the file contains all completed items. On resume (same results_file), already-scored indices are skipped automatically.

Args: items: List of {"prompt": "...", "metadata": {...}} dicts rubric: List of scoring dimensions (e.g. ["accuracy", "naturalness"]) scale: Rating scale as "min-max" (default "1-5") judge_count: Judges per item (default 3) min_tier: Minimum quality tier for judge selection (default "A") free_only: If true, only use free models as judges output_format: How judges format scores — "csv" (default) or "json" concurrency: Max items evaluated in parallel (default 5) max_tokens: Max response tokens per judge (default 256) temperature: Sampling temperature (default 0.0) results_file: Path to JSONL file for incremental writes and resume support exclude_providers: Skip these hosts (the producer) exclude_model_ids: Skip these model ids

Inputs: items (required), rubric (required), scale, min_tier, +9 more. Returns: result

batch_runA

Run multiple prompts in parallel with bounded concurrency and auto-retry.

For batch workloads: translation pipelines, data extraction, classification, content generation. Picks the fastest model and runs all prompts through it. Failed items are automatically retried on alternate models.

Each prompt dict should have a "prompt" key and optional "system_prompt" (overrides the top-level system_prompt) and "metadata" keys for tracking.

When results_file is set, each completed item is appended as a JSON line immediately. If interrupted, the file contains all completed items and can be resumed (already-completed indices are skipped).

Args: prompts: List of {"prompt": "...", "system_prompt": "...", "metadata": {...}} system_prompt: Default system prompt for all items (per-item overrides) model_id: Specific model to use (skips scanning). Use list_models() to browse. provider: Limit to a specific provider min_tier: Minimum quality tier when auto-selecting (default "A") free_only: If true, only use free models max_tokens: Max response tokens per item (default 4096) temperature: Sampling temperature (default 0.0) concurrency: Max parallel requests (default 5) retry_on_fail: Auto-retry failed items on alternate models (default true) results_file: Path to JSONL file for incremental writes and resume support

Inputs: prompts (required), min_tier, model_id, provider, +7 more. Returns: result

benchmarkA

Quality-test models with 5 coding challenges and return pass/fail scores.

Runs arithmetic, instruction following, code generation, code reasoning, and JSON output challenges. Catches models that are fast but hallucinate, ignore instructions, or produce garbled output.

Without model_id, scans for the fastest models and benchmarks the top N.

Args: model_id: Specific model to benchmark (optional) provider: Limit to a specific provider (nvidia, groq, etc.) min_tier: Minimum quality tier when auto-selecting (default "A") count: How many models to benchmark when auto-selecting (default 3)

Inputs: count, min_tier, model_id, provider. Returns: result

compareA

Blind A/B comparison of two items judged by N models.

When blind=True (default), randomizes which item is shown as A vs B to each judge independently, then de-randomizes scores. This prevents position bias where judges consistently favor the first item shown.

Use for comparing translations, code solutions, summaries, or any pair of outputs where you want an objective preference.

Args: item_a: First item to compare item_b: Second item to compare context: Optional context for the comparison (e.g. the original task) dimensions: Scoring dimensions (default ["quality"]) scale: Rating scale as "min-max" (default "1-5") judge_count: Number of judge models (default 3) blind: Randomize A/B order per judge to prevent position bias (default true) min_tier: Minimum quality tier for judge selection (default "A") free_only: If true, only use free models as judges max_tokens: Max response tokens per judge (default 512) temperature: Sampling temperature (default 0.0) exclude_providers: Skip these hosts (the producer) exclude_model_ids: Skip these model ids

Inputs: item_a (required), item_b (required), blind, scale, +9 more. Returns: result

configure_keyB

Add or update a named API key. Does not delete other keys on this provider.

Args: provider: Provider key (nvidia, groq, cerebras, minimax, …) api_key: The API key value key_id: Name for this key (e.g. coding-plan, paygo, work). Default 'default'. make_active: If true, this key is the one radar uses. If omitted, the first key stays active.

Inputs: api_key (required), provider (required), key_id, make_active. Returns: result

creditsA

Read leftover credits or quota where a public API exists.

OpenRouter and Vercel AI Gateway: prepaid USD remaining. SiliconFlow: prepaid balance. Groq: remaining daily/minute rate limits (not dollars). Most other hosts have no credit API — those are omitted, not guessed.

Inputs: provider. Returns: result

evaluateA

Ask a typed evaluation model (TypeSafe Jev) questions about some state.

Jev never writes text. It returns P(yes) for boolean questions, a chosen option plus probabilities for choice questions, and a position on ordered levels for score questions. Several questions run in one request. Billed through Vercel AI Gateway (input tokens only); needs the vercel key.

Question shapes (criteria describe options or levels): {"refunded": {"type": "boolean", "instructions": "Was a refund issued?"}} {"tone": {"type": "choice", "instructions": "Tone?", "criteria": {"calm": "...", "angry": "..."}}} {"clarity": {"type": "score", "instructions": "How clear?", "criteria": ["unclear", "partly", "clear"]}}

A probability near 0.5 means uncertain, not medium. Option wording, labels and order move the result, so vary them in calibration work.

Args: state: Text, JSON object or array to evaluate. questions: Map of question name to question object (see shapes above). model_id: Gateway evaluation model id (default typesafe-ai/jev).

Inputs: state (required), questions (required), model_id. Returns: result

get_fastestA

Get the N fastest available models right now. Use when the user wants recommendations or "best/fastest/free" models.

Pings configured providers and returns top N by latency. Use model_id from results as the code name when inserting or configuring (e.g. run(prompt, model_id=..., provider=...)). Example: get_fastest(free_only=True, min_tier="A", count=5) for "5 free A-or-better models".

When verified=True, also sends a real prompt to each model to confirm it produces non-empty output. Models that ping as UP but return empty content are excluded.

Args: min_tier: Minimum quality tier (default "A" — shows S+, S, A+, A) provider: Limit to specific provider count: How many results (default 5) free_only: If true, only Lane A (never invoices) include_paid: Include funded Lane C hosts verified: If true, verify models produce non-empty output (default false)

Inputs: count, min_tier, provider, verified, +2 more. Returns: result

get_workersA

Get N verified-alive models across N distinct providers, ranked by tier then latency.

The single most common pattern for translation pipelines and batch evaluation: "give me N working models from N different providers". Returns model_ids ready to use with run(model_id=...) or batch_run(model_id=...).

Provider diversity is enforced: at most 1 model per provider. Models are verified alive by default (sends a real prompt to confirm non-empty output).

Args: count: Number of workers to return (default 5) min_tier: Minimum quality tier (default "A") free_only: Only include free models (default false) verified: Verify models produce non-empty output (default true)

Inputs: count, min_tier, verified, free_only. Returns: result

host_swap_instructionsA

Tell the host agent where to search the machine to swap in a model-radar model.

Returns: (1) Where model-radar stores API keys. (2) OpenAI-compatible base_url and model_id for the given model (or a recommended min_tier model). (3) Per-app search locations for Cursor, Claude Code, Open Interpreter, OpenClaw — with paths for Linux, Mac, Windows, and WSL (e.g. ~/.cursor, /mnt/c/Users//.cursor). The host can search these paths and set base_url + model_id + API key so the app uses a free model from model-radar.

Args: model_id: Specific model_id (e.g. llama-3.3-70b-versatile). Omit to get a recommended model at min_tier. provider: Limit to this provider when choosing a recommended model. min_tier: When model_id is omitted, recommend a model at this tier or better (default A).

Inputs: min_tier, model_id, provider. Returns: result

judgeA

Rate a single item using N diverse judge models and return aggregate scores.

Auto-selects judges spread across different providers for independence. Enforces structured output (CSV or JSON scores), retries on malformed responses, and computes inter-rater agreement metrics.

Use this for evaluation tasks: rating translations, code quality, content accuracy, or any rubric-based assessment.

Args: prompt: The evaluation prompt (describe what to rate and provide the content) rubric: List of scoring dimensions (e.g. ["accuracy", "naturalness", "completeness"]) scale: Rating scale as "min-max" (default "1-5", also supports "1-10") count: Number of judge models to use (default 3) min_tier: Minimum quality tier for judge selection (default "A") free_only: If true, only use free models as judges output_format: How judges format scores — "csv" (default) or "json" max_tokens: Max response tokens per judge (default 256) temperature: Sampling temperature (default 0.0) exclude_providers: Do not use these hosts (pass the producer, e.g. ["minimax"]) exclude_model_ids: Do not use these model ids

Inputs: prompt (required), rubric (required), count, scale, +7 more. Returns: result

list_modelsA

List models in the catalog without pinging. Use when the user asks what models are available or to browse by tier/provider/free.

Response includes model_id (the code name to use when inserting/configuring, e.g. run(prompt, model_id=...) or Cursor settings) and label (display only).

Args: tier: Filter to exact tier (S+, S, A+, A, A-, B+, B, C) provider: Filter to provider key (nvidia, groq, cerebras, etc.) min_tier: Show this tier and above (e.g. "A" = A, A+, S, S+) free_only: If true, only list models marked as free (from API or :free/-free in id)

Inputs: tier, min_tier, provider, free_only. Returns: result

list_providersA

List all providers with status (configured/unconfigured, kind, model count).

Call this first to see which providers you have API keys for, and which subscription CLIs (claude, grok, gemini, codex) are installed on PATH. No network requests — instant response.

Inputs: no named parameters. Returns: result

profileA

Show spend lanes and local funded/spend_ok flags. No secrets.

Lane A = never invoices. B = subscription CLI. C = can charge. Default picks use Lane A only. Lane C needs funded=true and (spend_ok or include_paid).

Inputs: no named parameters. Returns: result

provider_statusA

Check health of all configured providers by pinging one model from each.

Returns per-provider latency and status. Useful for diagnosing which providers are currently responsive vs overloaded.

Inputs: no named parameters. Returns: result

quality_probeA

Time and score a few models on a fixed probe for a job.

translate — EN→ZH one sentence (CJK present, no prompt echo) rewrite — one scholarly sentence (keep the sense of δικαιόω, 'declare righteous') review — spot a bare return in first_even() dict — five dictionary headwords (geography + covid, no echo)

Omit model_ids to use recommend() for this job.

Args: job: translate | rewrite | review | dict model_ids: Explicit models (provider/id or id) providers: One best model per named provider count: How many to pick when model_ids omitted (default 3) include_subscriptions: Allow CLI models in auto-pick (default false)

Inputs: job, count, model_ids, providers, +1 more. Returns: result

recommendA

Recommend a short diverse lineup for a job (no ping).

Jobs: translate (EN/ZH and review), rewrite (scholarly prose), review (code implementations), code (general coding).

Returns chat models only, at most one per provider. Subscription CLIs are omitted unless include_subscriptions=True (they spend a monthly plan).

Args: job: translate | rewrite | review | code | dict count: How many models (default 6, max 12) include_subscriptions: Include claude/grok/agy/codex (default false) free_only: Only Lane A (never invoices) include_paid: Include funded Lane C hosts (still skipped if funded is not true)

Inputs: job, count, free_only, include_paid, +1 more. Returns: result

refresh_modelsA

Fetch latest model lists and replace each provider's catalog (add new ids, purge retired ones).

Catalog GETs are free. A successful fetch discards that provider's previous list. An empty/failed fetch keeps the last snapshot. Use this to get the current catalog, then call scan() or get_fastest(). list_models() also refreshes any catalog older than an hour.

Args: provider: Optional provider to refresh only (minimax, cerebras, ollama, …) run_ping: If true, run a ping test on up to ping_limit models after refreshing ping_limit: Max models to ping when run_ping is true (default 20)

Inputs: provider, run_ping, ping_limit. Returns: result

restart_serverA

Request the server to exit so a process manager can restart it (SSE only).

When running model-radar with SSE, a process manager or wrapper can restart the server on exit. This tool exits the process with code 0 so the manager starts a fresh process (and loads any updated code/tools). The client must reconnect after the restart. Restart is allowed by default; set MODEL_RADAR_ALLOW_RESTART=0 to disable.

Inputs: no named parameters. Returns: result

runA

Run a prompt on the fastest available model and return the response.

Use when the user wants to execute a prompt. Picks the fastest responding model automatically (with optional fallback). Set free_only=True when the user asks for a free model only.

Args: prompt: The user message to send system_prompt: Optional system prompt (e.g. "You are a Python expert") model_id: Specific model to use (skips scanning). Use list_models() to browse. provider: Limit to a specific provider (nvidia, groq, etc.) min_tier: Minimum quality tier when auto-selecting (default "A") free_only: If true, only consider models marked as free (default false) max_tokens: Max response tokens (default 4096) temperature: Sampling temperature (default 0.0 for deterministic)

Inputs: prompt (required), min_tier, model_id, provider, +4 more. Returns: result

scanA

Ping models in parallel and return ranked results by latency. Use when you need live speed data or a ranked list.

Pings all matching models, returns sorted fastest-first. Takes 2-10 seconds depending on filters.

When verify=True, sends a real prompt to each "up" model and checks for non-empty content. Models that return empty/garbage are marked as BROKEN (distinct from ERROR or OVERLOADED). This catches models that ping as UP but are functionally dead. Verification results are cached across scans within the session.

Args: tier: Filter to exact tier (S+, S, A+, A, A-, B+, B, C) provider: Filter to provider key (nvidia, groq, cerebras, etc.) min_tier: Show this tier and above (e.g. "S" shows only S+ and S) configured_only: Only ping models whose provider has an API key free_only: Only include models marked as free (from API or :free/-free in id) limit: Max results (default 20, 0 = all) verify: Send a real prompt to validate non-empty content (default false) verify_prompt: Custom verification prompt (default "Reply with exactly: OK")

Inputs: tier, limit, verify, min_tier, +4 more. Returns: result

server_statsA

Return when this server process started and how long it has been running.

Use to answer questions like 'how fast did model-radar come up' or 'how long has the server been running'. started_at is set when the server process began (create_server was called); uptime_seconds is seconds since then.

Inputs: no named parameters. Returns: result

set_profileA

Set local spend_ok / funded / login for a provider. Saved to the config file.

spend_ok: allow unprompted paid picks (default false). funded: a paid call would work (card or credits). Not permission. login: how you signed up, e.g. github:youruser or google:you@example.com.

Inputs: provider (required), login, funded, spend_ok. Returns: result

setup_guideA

Get setup instructions for adding free model providers.

Without arguments, returns a prioritized list of all unconfigured providers with signup URLs, free tier details, and setup steps. With a provider argument, returns detailed instructions for that specific provider.

Use this to help your user expand their model coverage. More providers means better fallback options and more models to choose from.

Args: provider: Specific provider key to get instructions for (optional). Omit to see all unconfigured providers.

Inputs: provider. Returns: result

setup_workflowA

Deterministic setup workflow: guide the host to get API keys installed.

Run steps in order. Step 1: check/install Playwright (optional). Step 2: get list of remaining (unconfigured) providers — then prompt the user to choose which to set up. Step 3: pass that selection as provider_selection to get login instructions and where to save each key. Step 4: summary of where keys are stored (config path, configure_key tool, env vars).

Many providers support GitHub SSO; the response marks them so the host can tell the user they may only need to click "Sign in with GitHub" and allow.

Args: step: 1 (Playwright), 2 (remaining providers), 3 (login + save), 4 (where to save). provider_selection: For step 3 only. List of provider keys (e.g. groq, openrouter) the user chose from step 2. If omitted at step 3, response tells you to prompt the user and call again with selection.

Inputs: step (required), provider_selection. Returns: result

still_freeA

Lane A sweep: identify which default-pool hosts still answer.

Use this before a long batch or judging run. Pings up to 3 chat models per host in parallel so you get a small live set. speed=quality ranks by tier; speed=fast prefers small / flash / lite ids (Cloudflare 20B before a 120B that needs >10s). OpenRouter only pings :free ids. Cooled hosts are listed, not pinged. Returns completion_calls so you can see the quota cost.

Args: ping: If false, list candidates only (zero completions). speed: Probe class — quality (default) or fast.

Inputs: ping, speed. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 28 tools

    Disambiguation3/5

    Core execution tools like run, ask, and batch_run are distinguishable, but the discovery/health surface is crowded: scan, get_fastest, get_workers, still_free, provider_status, and recommend all answer variations of 'which models are live/fast/free.' Setup_workflow vs setup_guide and benchmark vs quality_probe also create avoidable selection ambiguity.

    Naming Consistency3/5

    Many tools use a clear verb_noun pattern (list_models, get_fastest, configure_key, batch_judge, refresh_models), but roughly half are bare verbs or nouns (run, scan, judge, compare, credits, profile, still_free). Ordering and style vary across compound names like provider_status, quality_probe, and host_swap_instructions, though the set remains readable.

    Tool Count2/5

    At 28 tools, the surface is heavier than the practical 3-15 range and includes several niche variants for model discovery, verification, evaluation, setup, and host integration. The breadth matches a platform-like server, but the tool-selection burden is high for an agent.

    Completeness4/5

    The server covers provider discovery, key setup, catalog refresh, scanning/verification, single and batch runs, judging/comparison, translation evaluation, diagnostics, and host integration. Minor lifecycle gaps remain, such as no API key deletion/removal and limited spend history or batch cancellation control, but core workflows are well supported.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers