Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Local LLM does Claude's bulk work: reads logs and files, researches the web, writes test-gated code.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
LLW_BASE_URL, LLW_MODEL, LLW_SEARCH_URL你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"localize": {
"command": "npx",
"args": [
"-y",
"localize-mcp"
],
"env": {
"LLW_BASE_URL": "your-value",
"LLW_MODEL": "your-value",
"LLW_SEARCH_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add localize --env LLW_BASE_URL=your-value --env LLW_MODEL=your-value --env LLW_SEARCH_URL=your-value -- npx -y localize-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"localize": {
"command": "npx",
"args": [
"-y",
"localize-mcp"
],
"env": {
"LLW_BASE_URL": "your-value",
"LLW_MODEL": "your-value",
"LLW_SEARCH_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"localize": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"localize-mcp"
],
"env": {
"LLW_BASE_URL": "your-value",
"LLW_MODEL": "your-value",
"LLW_SEARCH_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
LLW_BASE_URL envLLW_MODEL envLLW_SEARCH_URL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 JoblessJoe 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.6)于18天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Let Claude hand the bulk reading to your local LLM: test logs, big files, web pages. Claude only gets the answer.
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 npm test 2>&1 "Which test fails, and why?"
fixed coupon never goes below zero (test/cart.test.js:404): applyCoupon(5, {type:'fixed', value:10}) returns -5, expected 0. — qwen3-coder:30b-a3b-q4_K_M · 19,132 input tokens read locally
| Claude does it | Claude delegates it | |
|---|---|---|
| Find one failure in a 50 KB test log | ~19,000 tokens of log in context | a ~130-token answer |
| Answer from three docs pages | the pages, or a summary of them | a cited paragraph + source list, from the full pages |
| Write a helper that tests can pin down | output tokens for the code, then re-reading it | writes the test, reads PASS |
| Several independent helpers | sequential edits | parallel delegates, each in its own worktree |
npm install.configure call shows the config, the backend and its models, and changes any setting. It takes effect on the next call, with no restart.Prerequisites: Node ≥ 18, git, and a running local model server (e.g. ollama pull qwen3-coder:30b).
/plugin marketplace add JoblessJoe/localize
/plugin install localize@localize
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.
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:
## Local LLM (localize)
offload (command), and read logs or files over ~300 lines through it, instead of reading the output yourself.research for web lookups instead of WebSearch/WebFetch.
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.
Claude Desktop, Cursor, Windsurf, and others:
{
"mcpServers": { "localize": { "command": "node", "args": ["/path/to/localize/src/index.js"], "env": { "LLW_MODEL": "qwen3-coder:30b" } } } }
Claude Code without the plugin: claude mcp add localize -- node /path/to/localize/src/index.js
delegate worksflowchart LR
A[Claude writes the test
target file] D --> E{run test} E -- fail --> F[parse failures test source stays hidden] F --> D E -- pass --> G[copy file into checkout unless it changed meanwhile] G --> H[Claude gets a one-line verdict]
git worktree with your uncommitted changes mirrored in, plus symlinked node_modules / .venv, so parallel calls never collide.test_files you name.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.
On one 24 GB GPU (Tesla P40) with qwen3-coder:30b-a3b-q4_K_M on Ollama:
| Task | Read locally | Claude received |
|---|---|---|
offload: find the failing test in a 50 KB test log | ~19,100 tokens | ~130 tokens |
offload: find one ERROR line in a 90 KB log | ~30,400 tokens | the line, quoted |
research: "Latest Node.js LTS and its end of life?" (3 pages) | 7,025 tokens | a cited answer, ~250 tokens |
Several calls run in parallel: three in one turn took as long as the slowest one.
From a reproducible benchmark (bench/) of 120 delegate runs across six task types:
| Model | Good for | Speed per call |
|---|---|---|
qwen3-coder:30b-a3b | the best default: parsers, pure functions, Python | 15–55 s |
devstral-small-2:24b | edits to existing files, parsers | 2–9 min |
granite4.1:8b | small, well-specified functions on modest hardware | 25–90 s |
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.
Agents should use configure. Humans can edit JSON. Layers (later wins):
~/.config/localize/config.json (respects $XDG_CONFIG_HOME) /.localize.jsonLLW_ , e.g. LLW_BASE_URL, LLW_MODEL. Integers are digits only, booleans true/false/1/0/yes/no, link_dirs a comma list or JSON array, headers a JSON object. An invalid value is ignored and configure lists it under warnings.A config file with invalid JSON is an error that names the file.
| Key | Default | Meaning |
|---|---|---|
base_url | http://localhost:11434 | Backend root. A trailing /v1 is stripped. |
api | auto | auto · ollama · openai. Auto probes /api/version. |
api_key | "" | Sent as Authorization: Bearer. Shown as (set), never printed. Plugin users can set it under the plugin's settings instead, which keeps it in the OS keychain. |
headers | {} | Extra HTTP headers for a gateway, e.g. {"X-Api-Key": "..."}. Values shown as (set). |
model | "" | Default model for both tools. |
offload_model | "" | Override for offload (e.g. long-context). |
delegate_model | "" | Override for delegate (e.g. a coder). |
research_model | "" | Override for research (e.g. long-context). |
search_url | "" | SearXNG instance for research (JSON output enabled). |
research_sources | 3 | Pages research reads per search (max 10). |
page_timeout_ms | 30000 | Per page download and per search. |
allow_private_urls | false | Let research read pages on loopback, link-local or private addresses (the search_url itself is always allowed). |
num_ctx | 32768 | Context window (Ollama). |
max_tokens | 8192 | Output limit per answer, sent on both APIs (num_predict on Ollama). A cut-off answer is reported, not tested. |
keep_alive | "" | Ollama only: how long the model stays loaded, e.g. "30m" or -1 (forever). "" keeps the server default (5 min). |
concurrency | 4 | Max in-flight LLM requests per server process. |
timeout_ms | 600000 | Per LLM request, counted from slot acquisition. |
test_timeout_ms | 600000 | Per test / command run. |
max_attempts | 3 | Delegate rounds (cap 10). |
link_dirs | node_modules, .venv, venv, vendor | Symlinked into each worktree. |
log_path | ~/.localize/runs.jsonl | Run log; "" disables. |
auto_use | offload, research | Tools Claude uses on its own, via a short session-start reminder. delegate is opt-in. Every tool still works when you ask for it; [] turns the reminder off. |
// configure — no args: effective config, value sources, backend, model list
// configure — change settings (null removes a key): { "set": { "model": "qwen3-coder:30b", "num_ctx": 65536 }, "scope": "user" }
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.
| Backend | base_url | API |
|---|---|---|
| Ollama | http://localhost:11434 | native /api/chat. Its OpenAI endpoint ignores num_ctx and silently truncates long prompts. |
llama.cpp llama-server | http://localhost:8080 | /v1/chat/completions |
| LM Studio | http://localhost:1234 | /v1/chat/completions |
| vLLM | http://localhost:8000 | /v1/chat/completions |
| LocalAI, others | your endpoint | /v1/chat/completions |
Verified end-to-end on Ollama (GPU) and llama.cpp llama-server (CPU only). blocks from reasoning models are stripped. If a backend reads less of the prompt than was sent, the result says so.
offload : read locally, answer briefly
| Arg | |
|---|---|
task | required. The question. |
files | Paths relative to the git root; must stay inside it. |
command | Shell command whose stdout + stderr is the material, e.g. npm test 2>&1. |
model | Override. |
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
| Arg | |
|---|---|
question | required. The research question. |
query | Search query, if it should differ from the question. |
urls | Read these pages instead of searching (no search_url needed). |
max_sources | Pages to read when searching (1–10). |
| model
只显示了开头部分;其余内容请在仓库中阅读