Search shipping
source-available · byok · any model
Tool calls are the new tokens.
Routes every tool call to the cheapest provider that returns a result. Free / local first. Paid as fallback. Your keys. No account.
Capabilities
Every tool call, routed.
Eight capabilities. Three tiers each. Walked left to right — free first, paid as fallback.
Extract shipping
Page → clean text.
Browse partial
Headless rendering.
Code exec planned
Run untrusted code.
Embeddings planned
Vector encode.
Transcribe planned
Audio → text.
Chat (small) planned
Fast model call.
Chat (large) planned
Reasoning model.
The rack-rate gap
The cheapest tools for AI.
Tool prices haven't fallen the way model prices have. You.com is 5× Serper. A Firecrawl scrape costs as much as the gpt-4o-mini call that consumes it. SearXNG, on your machine, is free. Frugal takes the cheapest result.
| Capability | free / local | cheap paid | premium paid |
|---|---|---|---|
| Search | SearXNG (self-host) | Serper · $0.001/call | You.com · $0.005/call |
| Extract | Trafilatura, readability.js, Mercury (self-host) | — | Firecrawl $0.001–0.005/page |
| Browse | Playwright + Chromium (local) | Browserless ~$0.002/unit (30s) | Browserbase $0.10/hr (~$0.002/min) |
| Code exec | local Docker | E2B ~$0.10/hr (2 vCPU) | Modal ~$0.14/hr (+GPU) |
| Embeddings | nomic-embed-text, bge-large (local) | text-embedding-3-small · $0.02/1M tok | 3-large, Voyage-3, Cohere |
| Transcription | whisper.cpp (local) | Deepgram Nova · $0.0043/min | OpenAI Whisper $0.006/min, Speechmatics |
| Chat (small) | Ollama / LM Studio (local OSS) | gpt-4o-mini, haiku, gemini-flash | gpt-4o, claude-sonnet |
| Chat (large) | Kimi K2, Qwen 72B (serious local HW) | — | gpt-4o, claude-opus, gemini-pro |
Every call prints the decision — capability, provider, cost — in the agent's trace.
The product
One MCP server. That's it.
Agents talk to Frugal via MCP. Two commands. No other surface.
$ frugal mcp install
detected: Claude Desktop, Cursor, Claude Code
✓ wrote all three configs.
$ frugal mcp serve
mcp ready on stdio. tools: frugal__search
Get started
Install
One Go binary, ~10 MB. No SaaS. No account.
Reads OPENAI_API_KEY,
ANTHROPIC_API_KEY,
SERPER_API_KEY from your env and forwards calls
upstream. Releases are cosign-signed; the installer verifies
the checksum before moving the binary into place.
$ curl -fsSL https://frugal.sh/install | bash
From source
$ git clone https://github.com/brainsparker/frugal.git && cd frugal && make build
Add Frugal to your agent
$ frugal mcp install
# auto-detects Claude Desktop, Cursor, Claude Code.
# merges 'frugal' into each detected config. idempotent.
Trust
Built to self-host.
- Your keys stay local
- API keys never leave your machine. No control plane. No data retention by architecture.
- BUSL 1.1 → Apache 2.0
- Source-available today. Self-hosting and internal commercial use are permitted. Each release converts to Apache 2.0 four years after publication. License FAQ →