cheap-llm
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cheap-llm このページの要点を引用つきで要約して: https://example.com/article"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
cheap-llm-mcp
日本語 | English
Claude Code の使用量を減らすための MCP サーバー。Web ページ・ファイル・画像を読む仕事や、要約・言い換えなどの簡単な仕事を、無料の LLM API(Groq / Gemini / NVIDIA)に任せて、Claude には短い結果だけを返す。
Claude Code ──(道具を呼ぶ)──> cheap-llm-mcp ──> Groq / Gemini / NVIDIA(無料枠)
<──(短い結果だけ)──Claude がページや画像を丸ごと読むと使用量が大きい。そこを無料のモデルに読ませ、Claude は結果だけを読んで判断する。
使用量は llm-usage-watch(デスクトップの小窓)で、Claude のプランの使用量と一緒に見られる。
道具
名前 | すること | 先に試す順 |
| 要約・言い換え・分類・翻訳・JSON の整形 | Groq → Gemini → NVIDIA(長い文章は Gemini から) |
| Web ページを取ってきて、知りたいことだけを、根拠の原文の引用つきで返す。Shift_JIS などの古い日本語のページも読める | Gemini → NVIDIA → Groq |
| 画像(ファイルか URL)に何が写っているかを返す。グラフの崩れの確認にも使える | Gemini → NVIDIA |
| PC のファイル(文章・Markdown・PDF・ログ・CSV など)を読ませて、知りたいことだけを引用つきで返す | Gemini → NVIDIA → Groq |
失敗したら(混雑・回数の上限など)、次の API・モデルに自動で移る
答えの最後に
[via 使った API / モデル]が付く1回ごとに
usage.jsonlに記録する(Groq は返事に付いてくる上限と残り回数も)
Related MCP server: io.github.bdbais/routeai
使っているモデル(2026-12 時点)
API | モデル | 無料枠(目安) |
Groq |
| 1日1000回。とても速い。1分あたりのトークンが小さいので、長い文章は渡さない |
Gemini |
| 1日に数百〜千回。長いページ・画像が得意 |
NVIDIA |
| 1分あたりの回数で決まる(目安40回)。文章も画像も読める |
モデルは server.mjs の PROVIDERS で変えられる。使わない API はキーを空にしておけば飛ばされる。
必要なもの
Node.js 20.12 以上
Claude Code(ほかの MCP に対応したアプリでも動く)
使う API のキー(1つ以上)
PDF を読むときだけ:pdftotext(Git for Windows に入っている。なければ Poppler を入れて
PDFTOTEXTに場所を書く)
インストール
git clone https://github.com/Takuyuki-Hasegawa/cheap-llm-mcp.git
cd cheap-llm-mcp
npm install
copy .env.example .env.env にキーを書く(使わないものは空でよい)。
GROQ_API_KEY=gsk_...
GEMINI_API_KEY=AIza...
NVIDIA_API_KEY=nvapi-...Claude Code に登録する(どのフォルダで開いても使えるように user スコープで。パスは自分の置き場所に合わせる)。
claude mcp add cheap-llm --scope user -- node C:/path/to/cheap-llm-mcp/server.mjs
claude mcp listcheap-llm: ... ✔ Connected と出ればよい。新しく開いた Claude Code のセッションから使える。
動作確認:npm test(4つの道具を1回ずつ呼ぶ)
使い方
ふつうに頼めば、Claude が道具の説明を読んで選ぶ。確実に使わせたいときは「cheap-llm で」と言う。
「このページから、開業した年を調べて(cheap-llm で)」
「この PDF の結論だけ教えて」
「このグラフ、文字が重なったり切れたりしていない?」
Claude に毎回使わせたいときは、~/.claude/CLAUDE.md に書いておく。
- Web ページの読み取り・画像の説明・要約や言い換え・長い文章や PDF から探すことは、まず MCP の cheap-llm を使う
- 事実が正しいかの判断は自分でする。cheap-llm が返した引用は、必要なら元のページで確かめる気をつけること
無料枠の API は、送った内容が学習に使われることがある。 個人情報・外に出せない資料・自分の計測データなどは送らない
正しさの判断は任せない。 無料のモデルは事実や数字をまちがえやすい。ページやファイルの読み取りは、返ってきた引用を元で確かめる
数字の集計・計算は、AI ではなくスクリプトでやる
License
MIT
Available Tools
4 toolscheap_askA
無料の LLM に簡単な仕事(要約・言い換え・分類・翻訳・JSON 整形など)を頼む。正しさの判断が要る仕事には使わない。無料枠の API に送るので、個人情報・外に出せない内容は送らないこと。
Inputs: task (required), text, model, provider, +1 more.
cheap_fetch_summarizeA
Web ページを取ってきて、無料の LLM に読ませ、知りたいことだけを短く返す。Claude がページ全体を読まずに済む。出典の確認など正確さが要るときは、返ってきた引用を元のページで確かめること。無料枠の API に送るので、個人情報・外に出せない内容は送らないこと。
Inputs: url (required), question (required), quote, provider, +1 more.
cheap_image_describeA
画像(ローカルのファイルか URL)に何が写っているかを、無料の LLM に答えさせる。無料枠の API に送るので、個人情報・外に出せない内容は送らないこと。
Inputs: image (required), provider, question, max_tokens.
cheap_read_fileA
PC のファイル(文章・Markdown・PDF・ログ・CSV など)を無料の LLM に読ませ、知りたいことだけを根拠の引用つきで返す。Claude がファイルを丸ごと読まずに済む。数字の集計・計算はスクリプトでやり、これには任せない。無料枠の API に送るので、個人情報・外に出せない内容は送らないこと。 自分の計測データ・未公開の資料も送らない。
Inputs: path (required), question (required), quote, provider, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool is anchored to a distinct input source: raw text (cheap_ask), URL (cheap_fetch_summarize), image (cheap_image_describe), and local file (cheap_read_file), so selection is mostly obvious. The only mild overlap is between cheap_ask and cheap_read_file/cheap_fetch_summarize, since a user could paste text instead of pointing at a file, but the descriptions clarify input type and framing.
All four tools share a clear cheap_ prefix in snake_case, following a predictable pattern (cheap_<verb>_<noun> or cheap_<noun>_<verb>). The internal ordering varies slightly (fetch_summarize, image_describe, read_file), but this is a minor deviation and names remain easy to read and predict.
Four tools is well-scoped for a narrow delegation server covering text, web, image, and file inputs, with no redundant or filler entries. Each tool earns its place and covers a distinct input type.
The toolset covers the core offload modes (free-form text tasks, web content, images, and local documents) and matches its stated purpose well. Minor gaps exist, such as audio/transcription or a batch/multi-input mode, but these are reasonable omissions for a lightweight server.
Maintenance
Related MCP Connectors
Agent personas for Claude. 16 tools, 13 personas, 3 workflows. Zero extra API cost. Free.
Give Claude, Cursor, or another AI assistant direct access to your QuickSnip library.
Live SEO workflow tools for Claude Code, Codex, and AI agents.
Shared memory and context across ChatGPT, Claude, Claude Code, Codex, Cursor and 20+ AI tools
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceLets Claude Code offload cheap, mechanical tasks to opencode's free models for codebase summaries, exploration, web research, and bulk edits, saving paid tokens.-
- AlicenseAqualityCmaintenanceEnables Claude Code to offload small coding tasks to local Ollama machines and free or paid AI providers, choosing the cheapest available option while enforcing quotas, budgets, and Claude's final review.11MIT
- AlicenseAqualityBmaintenanceEnables Claude to delegate web search, page reading, text drafting, and parallel multi-model image generation to cheaper helper models on any OpenAI-compatible backend. Claude stays in charge of planning and final decisions while consuming fewer of its own tokens.5MIT
- AlicenseBqualityBmaintenanceEnables Claude Code to offload mechanical development work—tests, git operations, pull requests, summaries, project search, code review, and browser or screen control—to local Ollama models with optional free cloud fallbacks. It returns concise results to reduce token usage while keeping execution on the user's own machine.37MIT