
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 分