Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Frugal

by brainsparkerversion 0.2.0i★ 2iRuns on your computerRepository ↗
Registry nameio.github.brainsparker/frugal

How to install

What it does

The open routing layer for AI tools: tool calls routed per policy, decision on every result.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Other

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity6/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score18/100

Quality: Passed 2/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Frugal. Follow https://mcp.popnx.com/i/brainsparker-frugal.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 2/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Frugal for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "frugal": { "command": "npx", "args": [ "-y", "frugal-mcp", "mcp", "serve" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Frugal tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "frugal": {
          "command": "npx",
          "args": [
            "-y",
            "frugal-mcp",
            "mcp",
            "serve"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Frugal and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Frugal or shows a Frugal tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Frugal yet

Frugal runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Frugal

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Other that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Frugal for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user frugal -- npx -y frugal-mcp mcp serve 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Frugal tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user frugal -- npx -y frugal-mcp mcp serve
  4. Type /mcp in Claude Code

    You should see Frugal listed as connected

  5. Try it

    Use Frugal and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Frugal or shows a Frugal tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Frugal for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "frugal": { "command": "npx", "args": [ "-y", "frugal-mcp", "mcp", "serve" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Frugal tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Frugal and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Frugal or shows a Frugal tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Frugal for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "frugal": { "type": "stdio", "command": "npx", "args": [ "-y", "frugal-mcp", "mcp", "serve" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Frugal tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Frugal and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Frugal or shows a Frugal tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Frugal💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user frugal -- npx -y frugal-mcp mcp serve

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "frugal": {
      "command": "npx",
      "args": [
        "-y",
        "frugal-mcp",
        "mcp",
        "serve"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "frugal": {
      "command": "npx",
      "args": [
        "-y",
        "frugal-mcp",
        "mcp",
        "serve"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "frugal": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "frugal-mcp",
        "mcp",
        "serve"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
71/wk
Licencei
No licence stated
Connection
Runs on your computer
Latest versioni
0.2.0
Categoryi
Other
Published to registryi
Oct 22, 2026
Code last changedi
Nov 6, 2026
Maker
brainsparker
Packages
npm: frugal-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account brainsparker, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 13 days ago

  • ! Caution

    Has a licence

    GitHub could not identify the licence type; open the file to check

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for frugal-mcp@0.2.0

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/brainsparker-frugal.svg)](https://mcp.popnx.com/en/servers/brainsparker-frugal)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Otheri

  • More stars than 91% of the other 20749 servers in this category
  • Published to the registry more recently than 60% of the other 20749 servers in this category
  • Basic checks equal to or better than 46% of the other 20749 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Frugal safe?

It passed 2 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 13 days ago, and the latest version (0.2.0) reached the registry 28 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

by koala73Widely used★ 90.9KUpdated 3 days ago

Runs in the cloud✓ service owner · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

by openstatusHQWidely used★ 9.3KUpdated 2 months ago

Runs in the cloud✓ service owner · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

by JanDeDobbeleerWidely used★ 23.8K Stars for the whole repoUpdated 30 days ago

Runs in the cloud✓ service owner · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

by Klavis-AIGrowing★ 5.8KUpdated 14 months ago

Runs in the cloudRepo archived✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

by jitsucomWidely used★ 5.1KUpdated 4 months ago

Runs in the cloud✓ service owner · jitsu.com
Compared with similar ones
This one
Frugal
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks2/34/44/44/41/44/4
LicenseNOASSERTIONAGPL-3.0AGPL-3.0MITApache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

frugal

The open routing layer for AI tools.

Frugal is an MCP server that sits between your agent and its tool providers. You describe the job — a search, an extraction, a render, or just an intent — and Frugal decides how to complete it, routing each call per policy: cheapest capable provider by default, fastest or premium when you say so, pinned or denied when compliance says so, with automatic failover when a provider errors or comes up empty. Every response carries the decision — provider_used, cost_usd, and (via frugal__execute) a one-line reason — so you can audit why each call went where it did.

Works with any model. One Go binary. Your keys. No account. Self-host everything, no lock-in. Source-available (BUSL 1.1 → Apache 2.0).

Install to first intelligently routed tool call: under five minutes.

frugal.sh

Install

curl -fsSL https://frugal.sh/install | bash

frugal mcp install

The first command drops the binary in your $PATH. The second auto-detects Claude Desktop, Cursor, AnythingLLM, and Claude Code and merges frugal into each configured MCP server list.

AnythingLLM

frugal mcp install finds AnythingLLM Desktop on its own and merges frugal into /plugins/anythingllm_mcp_servers.json. For a self-hosted or Docker AnythingLLM, point the installer at that instance's storage directory (the same path its own STORAGE_DIR uses):

ANYTHINGLLM_STORAGE_DIR=/path/to/anythingllm/storage frugal mcp install --client anythingllm

Restart AnythingLLM, then look for frugal under Agent Skills → MCP Servers. The tools load for agent sessions, so call them from an @agent chat. In Docker, the command path must resolve *inside* the container — mount the frugal binary in, or run frugal mcp serve --http on the host and register it as a streamable server instead.

Streamable HTTP and MCP 2026-07-28

frugal mcp serve --http ADDR serves Streamable HTTP for remote clients and Docker setups. It speaks the current MCP revision, 2026-07-28, which removed protocol-level sessions and the initialize handshake, as well as the session-based revisions before it. Both kinds of client connect to the same endpoint:

  • A client speaking 2026-07-28 or newer is served statelessly: no Mcp-Session-Id, every POST self-contained, server/discover answered with the supported versions and capabilities.
  • An older client (2025-11-25 and earlier) keeps its session and optional GET event stream, so nothing changes for the hosts you already run.

Pass --stateless to drop sessions for every client, which is what you want when several frugal replicas sit behind a plain load balancer: any replica can answer any request. Older clients still work in that mode; they only lose the optional GET stream (declined with 405, as the spec allows).

Catalog results (tools/list, server/discover) carry a one-hour ttlMs hint with cacheScope: public, so spec-current clients stop re-fetching the tool list on every turn. The catalog is fixed for the life of the process, so a restart with a new config is the only thing that changes it.

FRUGAL_AUTH_TOKEN=... frugal mcp serve --http 0.0.0.0:8765 --stateless

Try it now (no keys)

Search and extract work out of the box: You.com free tier (youcom-free: the same major web index as the keyed You.com provider, reached through You.com's hosted MCP endpoint with no key and no account, about 100 queries per day), Marginalia (free index of the indie / non-commercial web), Wikipedia (free Wikimedia REST search), go-readability (free, pure-Go local extractor), and Jina Reader (free hosted render for pages that paint their content with JavaScript) ship enabled with zero configuration. This is the default cheap policy at work — free and local rungs first, failover when a provider comes up empty. Captured from a live zero-key run:

frugal__search {"query": "AI agent framework comparison", "max_results": 3}

result › { "provider_used": "youcom-free", "cost_usd": 0, "latency_ms": 177, "results": [ {"title": "Top 12 AI Agent Frameworks Comparison", "url": "https://www.nimbleway.com/blog/top-ai-agent-frameworks-comparison", ...}, {"title": "AI Agent Frameworks Compared: LangGraph, CrewAI, AutoGen", "url": "https://pecollective.com/blog/ai-agent-frameworks-compared/", ...}, {"title": "Comparing Open-Source AI Agent Frameworks - Langfuse", "url": "https://langfuse.com/blog/2025-03-19-ai-agent-comparison", ...} ] }

Once the free tier's daily allowance is spent it rate-limits, the router cools it down, and the chain keeps serving from the narrower free indexes. The same query on that fallback path, also captured live:

frugal__search {"query": "AI agent framework comparison", "max_results": 3}

stderr › search zero hits; falling back provider=marginalia latency_ms=529 result › { "provider_used": "wikipedia", "cost_usd": 0, "latency_ms": 954, "results": [ {"title": "Gemini Enterprise Agent Platform", "url": "https://en.wikipedia.org/wiki/Gemini_Enterprise_Agent_Platform", ...}, {"title": "Perplexity AI", "url": "https://en.wikipedia.org/wiki/Perplexity_AI", ...}, {"title": "Agentic commerce", "url": "https://en.wikipedia.org/wiki/Agentic_commerce", ...} ] }

Honest limits: youcom-free is a general web index but is capped at roughly 100 queries a day per IP; Marginalia is genuinely good for essays, docs, blogs, and niche technical writing, and weak on mainstream news and product pages; Wikipedia covers entities and reference topics. Zero-key mode is a real workflow for research and local extraction, but it is not unlimited. One env var changes that: SEARXNG_URL (free, self-hosted), SERPER_API_KEY ($0.001/call), or YDC_API_KEY (the keyed You.com tier, no daily cap) gives the chain a stronger rung to fall to. Prefer to keep queries off You.com entirely? Add youcom-free: {enabled: false} under search_providers and the chain is Marginalia and Wikipedia again.

Routing policies

Declare per capability how the provider chain is ordered, in ~/.frugal/config/models.yaml:

routing:

search: strategy: fast # cheap (default) | fast | premium deny: [youcom] # never called — not by fallback, not even pinned extract: order: [firecrawl, goreadability] # explicit preference; unlisted providers still fall back

  • cheap (default) — effective cost ascending, quota-aware; automatic failover up the ladder.
  • fast — ordered by your machine's own observed latency (from the local usage ledger, successful calls only). Falls back to cost order until enough history exists. Not a live probe.
  • premium — prefers your premium-priced providers, list price descending.
  • order — an explicit preference list. It's a prefix, not a whitelist: unlisted providers still serve as fallback.
  • deny — providers that must never be called. Enforced on pinned calls too; this is the honest privacy knob (e.g. deny every paid provider and nothing leaves your free/local rungs).

Every call chain logs which policy ran, and frugal__execute returns it in the response.

Spend caps and rate-limit cooldown

Two guardrails cap what a provider can cost you, enforced in the routing layer alongside the policy above:

search_providers:

youcom: api_key_env: YDC_API_KEY cost_per_call: 0.005 daily_budget_usd: 2.50 # skip youcom once it has spent $2.50 today

routing: cooldown: 90s # after a 429, skip that provider for 90s (default 60s)

  • daily_budget_usd (per provider, any of the three tables) — once a provider's spend for the current UTC day reaches this cap, the router skips it and falls through to the next provider in the chain; a call that pins it by name errors. Counters reset at UTC midnight. Zero or absent means no cap. The same provider name under two capability tables gets an independent budget.
  • cooldown (top level under routing:) — when a provider returns a rate limit (HTTP 429), it is fenced off for this long so the chain stops hammering it. A Go duration string like 90s or 2m; an invalid value warns at startup and falls back to the 60s default. Applies to every provider, capped or not.

When a guardrail skips a provider it is noted in the routing trace (; budget: skipped youcom (...)) and logged at Warn. If every provider in a chain is over budget or cooling down, the call fails with a clear message rather than silently doing nothing.

Per-call deadline: call_timeout

Each provider client has its own request timeout (15–90s), but a chain that walks several slow providers could still block an agent for minutes. Every routed tool call (frugal__search, frugal__extract, frugal__browse, frugal__execute including its extract-to-browse fall-forward) therefore runs under one overall deadline, 60s by default. Each attempt gets only the budget that remains; once it runs out, failover stops (no further provider is called or paid) and the call fails with frugal: call deadline exceeded; failover stopped after N attempt(s): ..., naming every attempt's error.

limits:

call_timeout: 45s # "0s" disables the overall deadline

frugal mcp serve --call-timeout 30s overrides the config. Over --http, the shorter of this and --request-timeout (30s by default) wins.

Retries on transient errors: retries (free providers only)

Free providers (cost_per_call: 0 in your config) retry a transient error (429, 408, 5xx, timeout, connection reset) 2 times by default before failing over, with short jittered backoff (about 200ms, then 800ms). Paid providers (cost_per_call > 0: by default Serper, You.com, Brave, Firecrawl, Browserless) are never retried: a request that timed out or 5xx'd may still have been billed, so Frugal fails over to the next provider immediately instead of risking a double charge. Paid-ness comes from the configured price, so setting a provider's cost_per_call to 0 makes it retryable and vice versa.

Permanent errors (401, 402, 403, other 4xx) and errors no provider can fix are never retried. A Retry-After header is honored: the retry waits at least that long if it is 5s or less; a longer hint skips the retry and fails over instead. A retry never sleeps past the remaining call_timeout. A 429 also opens the provider's rate-limit cooldown for the configured window, extended to the Retry-After hint (capped at 10 minutes); that applies to paid and free providers alike.

limits:

retries: 1 # free providers only; 0 disables (fail over immediately); max 5

Multi-attempt receipts: attempts[] and total_cost_usd

cost_usd remains the price of the answer you got. Every successful routed result also carries attempts[] (each provider call in order, with provider, outcome = won / empty / error, error_kind, error, latency_ms, cost_usd) and total_cost_usd (their sum), so a call that failed over shows every rung it touched. A failed attempt is recorded at $0: Frugal assumes a provider does not bill a request that errored (no driver reports a charge on failure). A paid provider's zero-hit answer is billed and shows its list price. In-driver retries of one provider count as one attempt. Cache hits have no attempts.

Result size caps and the token receipt

Dollars are one cost of a tool call. The other is the tokens its result occupies in your model's context for the rest of the session, and MCP clients enforce that ceiling blind: Claude Code rejects MCP results over 25,000 tokens by default and spills anything past 50,000 characters to a file with a 2 KB preview, so a long page either fails the call or arrives cut off with nothing telling the model the tail is missing.

Frugal moves that decision server

Only the beginning is shown; read the rest in the repo