Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Local LLM does Claude's bulk work: reads logs and files, researches the web, writes test-gated code.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม 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": "ใส่ค่าของคุณ",
"LLW_MODEL": "ใส่ค่าของคุณ",
"LLW_SEARCH_URL": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add localize --env LLW_BASE_URL='ใส่ค่าของคุณ' --env LLW_MODEL='ใส่ค่าของคุณ' --env LLW_SEARCH_URL='ใส่ค่าของคุณ' -- npx -y localize-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"localize": {
"command": "npx",
"args": [
"-y",
"localize-mcp"
],
"env": {
"LLW_BASE_URL": "ใส่ค่าของคุณ",
"LLW_MODEL": "ใส่ค่าของคุณ",
"LLW_SEARCH_URL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"localize": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"localize-mcp"
],
"env": {
"LLW_BASE_URL": "ใส่ค่าของคุณ",
"LLW_MODEL": "ใส่ค่าของคุณ",
"LLW_SEARCH_URL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
LLW_BASE_URL envLLW_MODEL envLLW_SEARCH_URL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub JoblessJoe ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.6) เข้า registry 18 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
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.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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
ตัดมาแค่ช่วงต้น อ่านต่อใน repo