
Localize
io.github.JoblessJoe由 GitHub 账号 JoblessJoe 发布v0.1.6更新于 Nov 2, 2026
Local LLM does Claude's bulk work: reads logs and files, researches the web, writes test-gated code.
发布方自己的服务:Localize.io
概览
把批量阅读、网页调研和受测试约束的写文件工作交给本地大模型,只把简短答案返回给助手的 MCP 服务器。
- 可以做什么
- 在本地运行嘈杂命令或读取大文件,只返回简短结论
- 在本地搜索网页并通读全文,返回带引用的答案
- 把写单个文件的工作交给本地模型,在隔离的 git worktree 中反复重试直到测试通过
- 通过 configure 工具查看和修改设置、后端与模型选择
- 把每次运行记录到本地 JSONL 文件,便于统计 token 与开销
- 适用场景
- 适合已经运行本地模型服务、希望避免把冗长的测试日志、大文件或网页塞进前沿模型上下文的场景。也适合把有测试把关、规格明确的小函数交给本地模型编写。
- 运行要求
- 以本地 stdio 进程运行,npm 包为 localize-mcp;需要 Node 18 及以上、git,以及正在运行的本地模型服务(Ollama、llama.cpp、LM Studio、vLLM、LocalAI 或任意 OpenAI 兼容端点)。通过 LLW_BASE_URL 和 LLW_MODEL 配置;可选 LLW_SEARCH_URL 指向 SearXNG 实例以支持网页调研。默认无需账号或 API 密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 Localize,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
localize
Let Claude hand the bulk reading to your local LLM: test logs, big files, web pages. Claude only gets the answer.
[test] [License: MIT] [Node ≥ 18] [Zero dependencies] [Claude Code plugin] [MCP server] [Website]
Formerly local-llm-worker. npm: localize-mcp
Works with Ollama · llama.cpp · LM Studio · vLLM · LocalAI · any OpenAI-compatible endpoint
Reading a 5,000-line test log or three docs pages costs the same frontier-model tokens as hard architectural work. localize is an MCP server and Claude Code plugin that moves that bulk work onto the GPU (or CPU) you already own:
offload: your local model runs the noisy command or reads the big file. Claude gets the answer.research: your local model searches the web, reads the pages in full and returns a cited answer. Claude never sees the pages.delegate(opt-in): your local model writes one file in an isolated git worktree and retries until a test Claude wrote first passes. Claude gets a one-line verdict, not the code.
Why
- Any model, any hardware. No hardcoded models, no GPU assumptions. CPU-only works, just slower.
- Parallel by default. Several calls in one turn, or from several subagents, run at once. The concurrency limit is a config value, not a hardcoded lock.
- Fits the context automatically. Material is sized to the model's context window per text (number-heavy logs need more tokens than prose). Anything cut is reported.
- Zero dependencies. Plain Node ≥ 18. Installing from git needs no
npm install. - Agent-configurable. One
configurecall shows the config, the backend and its models, and changes any setting. It takes effect on the next call, with no restart.
Install
Prerequisites: Node ≥ 18, git, and a running local model server (e.g.
ollama pull qwen3-coder:30b).
Claude Code plugin
Then just ask: "set up localize for my machine". Claude finds your backend, picks a
model, and asks which tools it should use on its own (auto_use). By default that's offload
and research; delegate is opt-in. Every tool also works whenever you ask for it.
Make Claude use it every time
A session-start reminder nudges Claude toward the tools you chose. For dependable use, add
this to your CLAUDE.md; setup offers to do it for you:
With this in place, Claude ran a noisy failing test suite through offload every time we
tried. That session cost 40 % less than one that read the output itself.
Use it in any MCP client
Claude Desktop, Cursor, Windsurf, and others:
Claude Code without the plugin:
claude mcp add localize -- node /path/to/localize/src/index.js
How delegate works
- Isolated. Each call gets its own
git worktreewith your uncommitted changes mirrored in, plus symlinkednode_modules/.venv, so parallel calls never collide. - Locked scope. Exactly one target file, jailed to the repo, and never one of the
test_filesyou name. - Useful feedback. Retries get the parsed failing assertions (TAP, pytest, jest, vitest, go, cargo), not a stack-trace tail.
- Safe apply. If you or another delegate touched the target meanwhile, nothing is overwritten.
- Honest failure. After N attempts you get the last failure and the kept worktree. Transport errors are reported as errors, never as a model FAIL.
- Self-cleaning. Each delegate prunes
llw-*worktrees left behind by a crashed server, and kept ones older than 24 h. Untracked files over 10 MB are not copied into the worktree (the verdict says how many were skipped).
The bundled skill teaches Claude how to write specs that
pass: one invariant per test, exact API surface in context, properties instead of examples, and
never delegating auth or money code.
Results
On one 24 GB GPU (Tesla P40) with qwen3-coder:30b-a3b-q4_K_M on Ollama:
Several calls run in parallel: three in one turn took as long as the slowest one.
Which model?
From a reproducible benchmark (bench/) of 120 delegate runs across six task
types:
Retries matter: with failure feedback, qwen3-coder's pass rate rose by half from the first
attempt to the third. offload and research work well with any of these. Every run is logged
(see Stats), so you can measure your own setup.
Configuration
Agents should use configure. Humans can edit JSON. Layers (later wins):
- built-in defaults
- user:
~/.config/localize/config.json(respects$XDG_CONFIG_HOME) - project:
<git root>/.localize.json - env:
LLW_<KEY>, e.g.LLW_BASE_URL,LLW_MODEL. Integers are digits only, booleanstrue/false/1/0/yes/no,link_dirsa comma list or JSON array,headersa JSON object. An invalid value is ignored andconfigurelists it underwarnings.
A config file with invalid JSON is an error that names the file.
With no model set, it uses the backend's only model, or fails with the list. It never guesses, because the guess could be an embedding model.
Backends
Verified end-to-end on Ollama (GPU) and llama.cpp llama-server (CPU only). <think> blocks
from reasoning models are stripped. If a backend reads less of the prompt than was sent, the
result says so.
Tool reference
offload: read locally, answer briefly
Material that doesn't fit next to the answer is cut in the middle (head and tail kept, sized per text), and the cut is reported.
research: search and read the web locally, answer with citations
Page URLs that resolve to loopback, link-local or private addresses are refused, on every
redirect hop too, unless allow_private_urls is true. Fetches pages in parallel and walks further down the results when a page fails (404, PDF,
JavaScript-only). Each page is reduced to readable text, with <main>/<article> preferred and
nav, footer and scripts dropped, then the pages share the num_ctx budget. Searching needs a
SearXNG instance:
docker run -d -p 8888:8080 searxng/searxng, add json under search.formats in its
settings.yml, then set search_url to http://localhost:8888.
delegate: write one file until the test passes
configure: inspect and change settings
No args returns the report. { "set": {...}, "scope": "user" | "project" } validates and writes.
Unknown keys are rejected with the list of valid ones.
Stats
Every run appends one line to log_path:
FAQ
Does Claude ever see the generated code?
Only if it asks (show_code: true) or reads the file. Review before merging anything that
matters. A passing test is a gate, not a code review.
What should I not delegate? Auth, money, permissions, security, and anything whose spec has no single right answer. The skill tells Claude this too.
Can the local model cheat the test?
It never sees the test source. It can write only the one target file, and that file can't be
one of the test_files you list.
A long delegate or research call was cut off.
The server sends MCP progress notifications every 15 s when the client asks for them
(progressToken), but whether that helps depends on the client:
Does it send my code anywhere?
Only to the base_url you configure, which is localhost by default. research sends your
search query to your own SearXNG and downloads public pages. It never sends your files.
Development
src/index.js is the stdio JSON-RPC server. src/worker.js holds the config, backend client,
tools and failure extractor.
Releases are automatic: every push to main runs the tests, bumps the patch version everywhere
it appears (npm run bump does the same locally; pass minor, major or x.y.z for more),
tags it and creates a GitHub Release.
Roadmap
- more search backends (Brave, Tavily) alongside SearXNG
- multi-file delegates
- per-task model routing
- an async job API for clients with a 60 s tool limit (Claude Desktop, Cursor)
License
MIT © Johannes Tebbert
The JoblessJoe logo (.claude-plugin/icon.png) is not covered by this license. All rights reserved.
来源:README.md,提交 867540c
工具
0版本历史
1- v0.1.6最新Oct 19, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
