Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HF_TOKENNoAPI token for Hugging Face
GROQ_API_KEYNoAPI key for Groq
GOOGLE_API_KEYNoAPI key for Google AI
NVIDIA_API_KEYNoAPI key for NVIDIA NIM
CEREBRAS_API_KEYNoAPI key for Cerebras
SCALEWAY_API_KEYNoAPI key for Scaleway
TOGETHER_API_KEYNoAPI key for Together AI
CODESTRAL_API_KEYNoAPI key for Codestral
DEEPINFRA_API_KEYNoAPI key for DeepInfra
FIREWORKS_API_KEYNoAPI key for Fireworks
SAMBANOVA_API_KEYNoAPI key for SambaNova
HYPERBOLIC_API_KEYNoAPI key for Hyperbolic
OPENROUTER_API_KEYNoAPI key for OpenRouter
PERPLEXITY_API_KEYNoAPI key for Perplexity
REPLICATE_API_TOKENNoAPI token for Replicate
SILICONFLOW_API_KEYNoAPI key for SiliconFlow
CLOUDFLARE_API_TOKENNoAPI token for Cloudflare
MODEL_RADAR_ALLOW_RESTARTNoSet to '1' to allow the restart_server() MCP tool to exit the process for automatic restart

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

model-radar: Free coding model discovery and execution for AI agents.

Pings free coding LLM models across HTTPS providers and subscription CLIs (claude, grok, agy/gemini, codex) and ranks HTTPS models by real-time latency. Run prompts on the fastest model, verify answers across multiple models, or pin subscriptions for a parallel review — all through MCP tools.

Quick start

  1. Call list_providers() to see which providers have API keys configured.

  2. Call get_fastest() for a quick recommendation of the best model right now.

  3. Call run(prompt) to execute a prompt on the fastest available model.

How to answer common user requests

  • "What models are available?" → list_models() or list_models(min_tier="A")

  • "Give me 5 fast free models" or "free and fast" → get_fastest(free_only=True, min_tier="A", count=5)

  • "Only free models" / "list free models" → list_models(free_only=True) or get_fastest(free_only=True, count=10)

  • "Run this on a free model" → run(prompt, free_only=True)

  • "Best model for coding" / "fastest model" → get_fastest(min_tier="A", count=5)

  • "Compare answers from several models" → ask(prompt, count=3)

  • "Review this on Claude + Grok + Gemini" → ask(prompt, providers=["claude","grok","gemini"])

  • "What should I use for translation / rewrite / code review?" → recommend(job="translate"|"rewrite"|"review")

  • "Time and score a few models on a translation / prose rewrite / code review" → quality_probe(job=…)

  • "Refresh the model list from the internet" → refresh_models()

  • "Run these prompts in batch" → batch_run(prompts=[{"prompt": "..."}, ...])

  • "Check which models actually work" → scan(verify=True) or get_fastest(verified=True)

  • "Give me N models from different providers" → get_workers(count=N, verified=True)

  • "Evaluate this translation" → backtranslate_eval(text, translation, source_lang, target_lang)

Tool guide — Discovery

  • list_providers() — See all providers, API-key status, and which subscription CLIs are installed. Call first when unsure.

  • list_models(tier?, provider?, min_tier?, free_only?) — Browse catalog without pinging. model_id = code name to use when inserting/configuring (API, Cursor, run()); label = display only. min_tier="A" means A or better. free_only=true for free only. Response includes is_free when known and cost_class (zero|free_tier|subscription|local|paid|unknown).

  • scan(..., verify?) — Ping models in parallel, get ranked by latency. Use when you need live speed data. Set verify=true to also check models produce non-empty output (catches "ghost" models that ping UP but return empty content).

  • get_fastest(min_tier?, provider?, count?, free_only?, verified?) — Best N models right now. Example: get_fastest(free_only=True, min_tier="A", count=5) for "5 free A-or-better models". Set verified=true to exclude models that return empty responses.

  • provider_status() — Per-provider health check.

Tool guide — Execution

  • run(prompt, free_only?, model_id?, provider?, min_tier?, ...) — Run a prompt on the fastest model. Use free_only=true when the user wants a free model. Retries on next fastest if one fails.

  • ask(prompt, count=3, model_ids?, providers?, ...) — Run the same prompt on N models in parallel. Pin subscriptions with providers=["claude","grok","gemini"] or model_ids=["sonnet","grok-4.6"]. Default ask never spends a monthly plan.

  • batch_run(prompts, ...) — Run multiple prompts with bounded concurrency. For translation pipelines, data extraction, classification. Auto-retries failed items on alternate models. Set results_file for incremental JSONL output and resume support.

Tool guide — Evaluation (LLM-as-judge)

  • judge(prompt, rubric, scale?, count?) — Rate a single item using N diverse judge models. Returns aggregate scores, per-judge details, and inter-rater agreement.

  • compare(item_a, item_b, context?, dimensions?, judge_count?) — Blind A/B comparison by N judges. Randomizes item order per judge to prevent position bias.

  • batch_judge(items, rubric, scale?, judge_count?, concurrency?, results_file?) — Run evaluations at scale. Processes items with bounded concurrency and returns summary statistics. Set results_file for incremental JSONL output and automatic resume on interruption.

  • evaluate(state, questions, model_id?) — Typed judgments from TypeSafe Jev via Vercel AI Gateway: P(yes), choice + probabilities, or score on ordered levels. No text generation. Needs the vercel key.

Tool guide — Pipeline utilities

  • recommend(job, count?, include_subscriptions?, free_only?) — Short diverse lineup for a job (translate|rewrite|review|code). Chat models only, one per provider. CLIs opt-in. Use refs with ask(model_ids=…) or quality_probe(model_ids=…).

  • quality_probe(job, model_ids?, providers?, count?) — Timed pass/fail on a fixed prompt (EN→ZH, a prose rewrite, a bare-return code bug, or five dictionary headwords).

  • get_workers(count?, min_tier?, free_only?, verified?) — Get N verified-alive models across N distinct providers, tier >= min_tier, ranked by latency. The single most common call pattern for translation pipelines. Returns model_ids ready to use with run() or batch_run().

  • backtranslate_eval(text, translation, source_lang, target_lang, back_model_id?) — Translate back to source language using a different model, compute gloss overlap. The most powerful non-circular quality metric for translation: translate→back-translate→overlap.

Tool guide — Quality & Setup

  • refresh_models(provider?, run_ping?, ping_limit?) — Fetch latest model lists from APIs; use periodically so free/paid and model list stay current.

  • benchmark(...) — Quality-test models; results show in later scan/get_fastest.

  • setup_guide(provider?) — Signup instructions for unconfigured providers.

  • configure_key(provider, api_key, key_id?) — Add/update a named key (does not delete others).

  • credits(provider?) — Leftover USD/quota where a public API exists (OpenRouter, Vercel, SiliconFlow, Groq headers).

  • still_free(ping?, speed?) — Which never-invoicing hosts still answer; up to 3 chat models per host. Call before a long batch or judging run. speed=fast prefers small/flash ids.

  • setup_workflow(step, provider_selection?) — Step-by-step setup (Playwright, providers, keys).

  • host_swap_instructions(model_id?, provider?, min_tier?) — Where to set base_url + model_id on the host.

  • restart_server() — (SSE only) Exit so process manager can restart. Allowed by default; set MODEL_RADAR_ALLOW_RESTART=0 to disable.

  • server_stats() — Server start time and uptime.

Tier scale (SWE-bench Verified)

Better → worse: S+ (70%+) > S (60-70%) > A+ (50-60%) > A (40-50%) > A- (35-40%) > B+ (30-35%) > B (20-30%) > C (<20%). min_tier="A" means "A or better" (includes A+, S, S+).

Notes for agents

  • Always give the user the model_id when you list or recommend models (scan, get_fastest, ask results, etc.). Show both label and model_id (e.g. "Kimi K2 Instruct — moonshotai/kimi-k2-instruct") so the user can copy it for run(model_id=...), Cursor config, or host_swap_instructions.

  • model_id is the model code name — use it when inserting or configuring (API calls, Cursor, run(prompt, model_id="..."), host_swap_instructions). label is display-only.

  • is_free in responses: true = free, false = paid, field missing = unknown. Use free_only=true to filter to Lane A (never invoices).

  • cost_class: zero ($0/token), free_tier (NIM/Groq rate limits), subscription (CLI plan), local (Ollama), paid, unknown.

  • Lanes: A never invoices (default), B subscription CLI (include_subscriptions), C can charge (include_paid and funded=true). profile() / set_profile() edit local spend_ok and funded. spend_ok is unprompted permission; funded means a paid call would work.

  • quality_score: prefer 4/5 or 5/5; avoid below 3/5 when shown.

  • If only one provider is configured, suggest setup_guide() for more coverage.

  • run() retries on failure automatically; no need to implement retry yourself.

Instructions for host agents

  • SSE and Cursor: The server must be started in a separate terminal and already listening before Cursor connects. If Cursor tries to connect before the server is up, it will timeout ("fetch failed", "Connect Timeout"). On this host the unit is model-radar.service on port 8743. Restart with ./scripts/restart-mcp.sh or systemctl --user restart model-radar.service. Do not kill+nohup a second copy.

  • Web dashboard: model-radar serve --transport sse --port 8743 --web → http://127.0.0.1:8743/ The server binds to 127.0.0.1 only; keys never leave the machine.

  • Restarting the server: Call restart_server() so systemd can respawn, or run ./scripts/restart-mcp.sh.

  • Starting the server: systemctl --user start model-radar.service (port 8743). Manual: model-radar serve --transport sse --port 8743 --web.

  • Privacy: Do not log, echo, or send API keys off-host. list_providers and API responses show only "configured" or "missing"; never the actual key. Keys are stored only in one config file (0o600): ~/.model-radar/config.json, or the file named by MODEL_RADAR_CONFIG. list_providers() reports its path and a config error if it did not load.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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.

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)

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")

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)

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.

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.

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).

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.

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.

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.

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).

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)

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)

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)

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)

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)

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)

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

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

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

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

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)

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

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.

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.

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).

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.

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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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

ActivityMaintained
ResponsivenessNo recent community issues