
Leanfare
io.github.pouriaetab由 GitHub 帳號 pouriaetab 發布v0.15.3更新於 Nov 6, 2026
Makes your Claude plan last longer: hands reading and drafting to cheaper or free models.
概覽
Leanfare 是本地 MCP 伺服器,會把任務拆成幾個部分,將閱讀、起草等簡單工作交給更便宜或免費的模型,讓 Claude 方案用得更久。
- 可以做什麼
- 規劃並執行任務:把提示拆成多個部分、為每部分挑選模型,並啟動、查看狀態與停止執行
- 委派工作:把部分工作交給外部模型,取回答案並附上回執
- 提問、評分與估算:向模型提問、為答案評分,並在花費前估算成本
- 調整行為:設定委派等級、選擇每個提示要啟動多少助手,以及允許工作流向哪些供應商
- 查看用量:查看每個提示用了什麼、省下多少的報告,以及花費與可用模型
- 管理本機模型與助手:設定本機模型與 Claude 助手模型
- 適用情境
- 適合在 Claude Desktop、Cowork 或 Claude Code 中工作、常碰到方案上限,並希望把日常的閱讀、搜尋與起草交給免費或較便宜的模型、把困難部分留給 Claude 的人。
- 執行需求
- 以桌面應用形式透過 stdio 在本機執行(macOS、Windows 或 Linux),可透過 shell 或 PowerShell 安裝腳本、Claude Code 外掛或 .mcpb 檔案安裝。至少需要一個可委派工作的模型:電腦上既有的 API 金鑰或 Ollama 模型,或在設定中一鍵連接 ChatGPT、Gemini、Groq、OpenRouter、Mistral、Cloudflare 等免費帳號。本機小網頁應用執行於 127.0.0.1:4747。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Leanfare,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Leanfare
[Latest release] [Tests] [License]
Leanfare makes your Claude plan last longer. Claude keeps the hard parts of a task and hands the simple ones, like reading files, searching and drafting, to free or cheaper models. You keep working in Claude as before.
Leanfare is early and changes every week. If something breaks, report a bug; Settings, Report a problem, fills in your version. Questions and ideas go to Discussions.
How it works
- You ask Claude for something, in Claude Desktop, Cowork or Claude Code.
- Claude asks Leanfare for a plan. Leanfare splits the task into parts and picks a model for each: free or cheap models for reading and drafting, Claude's own models for the hard parts.
- Leanfare sends its parts to those models and hands the answers back. Claude does the rest, checks every answer, and answers you.
- Leanfare's report shows what each prompt used and what it saved.
Get started
On macOS or Linux, paste this in Terminal:
On Windows, paste this in PowerShell:
Then type leanfare in the same window. In the page that opens, press Turn on Leanfare, then restart Claude. That's all.
Leanfare needs at least one model to hand work to. It uses the API keys and Ollama models already on your computer, and Settings connects free ones with one press each: ChatGPT (a free account works), Gemini, Groq, OpenRouter, Mistral and Cloudflare.
Other ways in: the Claude Code plugin (/plugin marketplace add pouriaetab/leanfare, then /plugin install leanfare@leanfare), or a one click .mcpb file for Claude Desktop from the latest release.
What you see
The report. Every prompt with its main model, Claude's helpers and the outside models, and what was saved. By prompt or by model, over any days.
Claude's own models. Leanfare picks the Claude model for each helper Claude starts, from llmledger's ratings and prices. As the ratings stand: Fable 5.1 for the hardest parts, Opus 5.5 for high effort, Sonnet 5.5 for medium and Haiku 5.5 for light code. Cowork can ask you to approve each helper, so you choose how many a prompt starts: one per part, one per prompt, or none.
[Settings, Claude's own models: the order, each kind's pick, and how many helpers]
Three settings
- Level, from 1 (Off) to 5 (All it can): how much Claude hands to Leanfare first.
- Helpers: one per part, one per prompt (the default), or none.
- Where work may go: only this computer, or the providers you ticked.
Leanfare picks the rest for you. The guide explains every part.
What's inside
Leanfare is an MCP server with a small web app, both on your computer. Claude connects to it over stdio, like any MCP server. It is TypeScript on Bun, with no runtime dependencies.
The MCP tools: plan, plan_run, plan_status, plan_stop, delegate, ask, grade, level, report, spend, models, estimate, trial, local_model, live and helper.
To build and run it from source:
Privacy
Leanfare reads usage numbers, never your words, unless you choose in Settings to keep a hand off's words on your computer to read later. Your keys stay on your computer, and requests go from your computer straight to the AI company you use. No telemetry. The guide has the details.
Update, stop or take it out
- Update: run the install line again. Leanfare says when a new version is out.
- Stop: type
leanfare stop. - Off for a while: the switch at the top of the app.
- Take it out of an app: Settings, In your apps, then Remove next to the app.
Data and credits
Prices come from llmledger (MIT), built from LiteLLM's public price list (MIT). Quality ratings come from the Arena leaderboard (CC BY 4.0). The guide lists the rest. Leanfare is not affiliated with any AI provider.
Licence
MIT
來源:README.md,提交 2ac2c99
工具
0版本歷史
10- v0.15.3最新Nov 6, 2026
- v0.15.1Nov 5, 2026
- v0.15.0Nov 5, 2026
- v0.14.2Nov 5, 2026
- v0.14.0Nov 4, 2026
- v0.13.12Nov 4, 2026
- v0.13.11Nov 4, 2026
- v0.13.10Nov 3, 2026
- v0.13.9Nov 3, 2026
- v0.12.1Nov 1, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分