Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
A repository wiki of Markdown pages anchored to real code: read, search, and verified writes.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"livewiki": {
"command": "npx",
"args": [
"-y",
"@livewiki/mcp",
"--repo",
"ใส่ค่าของคุณ"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add livewiki -- npx -y @livewiki/mcp --repo 'ใส่ค่าของคุณ'ตัวนี้ต้องใส่ค่าในคำสั่งเปิดเอง ให้คัดลอกค่าตั้งแล้วเติมค่า
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"livewiki": {
"command": "npx",
"args": [
"-y",
"@livewiki/mcp",
"--repo",
"ใส่ค่าของคุณ"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้ต้องใส่ค่าในคำสั่งเปิดเอง ให้คัดลอกค่าตั้งแล้วเติมค่า
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"livewiki": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@livewiki/mcp",
"--repo",
"ใส่ค่าของคุณ"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub eduardoabreu81 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.4) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Code-anchored documentation that knows when it is stale.
livewiki turns a repository into a Markdown wiki whose every code reference is *anchored* to a real indexed symbol. An LLM writes the prose; livewiki does the deterministic work — planning the pages, running structural anti-hallucination checks on what the model wrote, tracking which anchored symbols changed, and preserving your edits.
The wiki is exposed to any coding agent by [`@livewiki/mcp`](packages/mcp) — an MCP (Model Context Protocol) server with eight tools for reading, searching, and safely writing the wiki.
livewiki view builds a self-contained offline site from the wiki — grouped sidebar, offline search, diagrams, and dark mode:
*Example wiki generated by livewiki for MoneyPrinterTurbo-Plus, an external Python repository.*
Technical docs go stale the moment the code changes. livewiki makes that visible and cheap to fix instead of silent:
livewiki verify reads the wiki fresh from disk and fails on invented symbols, broken anchors, and signatures that no longer match — including references the LLM wrote seconds ago, without running index first, and without spending a token. Structural, not semantic; the section below draws the line.owner: human are never rewritten, and lw:manual blocks are preserved byte-for-byte.livewiki status ranks what drifted; a GitHub Action can gate every merge on zero documentation debt, without spending tokens.verify checks — and what it doesn'tThe anti-hallucination layer is deterministic and structural. livewiki verify reads the wiki fresh from disk — so a page an LLM wrote seconds ago is checked without running index first — and fails on:
That removes whole classes of fabricated content — the invented function, the API that never existed, the reference that quietly rotted — before a reader ever sees it, at zero token cost. Anything that fails is rejected and rolled back rather than merged.
It does not prove that a sentence is true. A plausible but wrong explanation of code that really does exist passes every check above, because every check above is about structure and identity, not meaning. Read "anti-hallucination" here as a layer that mechanically eliminates a large class of fabrication and tells you the moment code moves under the prose — not as a guarantee of factual accuracy. Reviewing the explanation itself is still your job.
Requires Node.js 24 or newer.
npm install -g @livewiki/cli
(npx @livewiki/cli works too, without installing globally.)
From the root of the repository you want documented:
livewiki init
Indexes the code and creates the wiki skeleton under livewiki/, plus a derived cache under .livewiki/ (added to .gitignore). Deterministic — no LLM call, no tokens.
You have two routes — pick one.
Route A — through your coding agent (no API key needed):
livewiki install
The installer detects your agent, wires the MCP server, the document-as-you-go skill, and git hooks. Then ask the agent to bootstrap the wiki; it pulls tasks from livewiki_next_task and submits pages with livewiki_write_doc using the model it already has.
Route B — a configured LLM API (unattended):
livewiki config
The wizard lists the providers, asks for your API key (typed without echo), and saves it. Bare livewiki on an unconfigured repo starts the same wizard. Then:
livewiki init --batch
The resumable pipeline plans real page units and writes one page per source file and folder, plus flows, concept topics, diagrams, and an understanding.md synthesis. Interrupt it and resume with livewiki batch resume .
livewiki verify # validate code references, internal links, and artifacts
livewiki view # build an offline site with search, Mermaid, and dark mode
livewiki install auto-detects and wires 13 agents over MCP (with skills and hooks where the agent supports them):
Claude Code · Codex · Cursor · Kimi · Gemini CLI · OpenCode · OpenClaw · Cline · Kiro · Qwen · Warp · Zed · Hermes
Prefer manual wiring? Any stdio MCP client works:
{
"mcpServers": { "livewiki": { "command": "npx", "args": ["-y", "@livewiki/mcp", "--repo", "/path/to/repo"] } } }
The server is also published to the official MCP Registry as io.github.eduardoabreu81/livewiki, so a client that resolves servers from the registry can find it by name instead of using the snippet above.
| Language | Anchored docs (symbols extracted) |
|---|---|
| TypeScript | ✅ .ts |
| JavaScript | ✅ .js .mjs .cjs |
| TSX / JSX | ✅ .tsx .jsx |
| Python | ✅ .py |
| Go | ✅ .go |
| Rust | ✅ .rs |
| Java | ✅ .java |
| Everything else | Prose floor — every text file is walked and documented as prose, no symbols |
Anchored pages cite real symbols; the prose floor still gives every file a place in the wiki. Tier-1 language support grows as the pattern is proven (Go, Rust, and Java each landed this way).
livewiki config lists these 17 presets. Each reads its own API-key environment variable; livewiki config show prints the one your preset expects without ever showing the value.
| Provider | Preset | Env var |
|---|---|---|
| Anthropic | anthropic | ANTHROPIC_API_KEY |
| OpenAI | openai | OPENAI_API_KEY |
| OpenRouter | openrouter | OPENROUTER_API_KEY |
| DeepSeek | deepseek | DEEPSEEK_API_KEY |
| Kimi (Moonshot) | kimi | MOONSHOT_API_KEY |
| MiniMax | minimax | MiniMax_API_KEY |
| Google Gemini | gemini | GEMINI_API_KEY |
| NVIDIA | nvidia | NVIDIA_API_KEY |
| Ollama *(local)* | ollama | OLLAMA_API_KEY *(optional)* |
| LM Studio *(local)* | lmstudio | LMSTUDIO_API_KEY *(optional)* |
| Fireworks | fireworks | FIREWORKS_API_KEY |
| Novita | novita | NOVITA_API_KEY |
| GMI | gmi | GMI_API_KEY |
| StepFun | stepfun | STEPFUN_API_KEY |
| Hugging Face | huggingface | HF_TOKEN |
| xAI | xai | XAI_API_KEY |
| Alibaba (DashScope) | alibaba | DASHSCOPE_API_KEY |
ollama and lmstudio need no key for a local server. For CI and headless automation, set the env var directly — it takes precedence over the saved key.
Excerpt from this repository's own livewiki/core-src/verify.md:
## Discovery: walking the wiki from disk
The verifier never trusts the index for which pages exist — a doc freshly written by an LLM must be caught without first running index. Two walkers enumerate the livewiki/ directory from disk; both skip hidden directories but keep dot-prefixed files.
async function collectWikiPages(absRoot: string): Promise<{ relPath: string }[]>
The prose explains the implementation; the lw:anchors marker ties the section to real indexed symbols, so staleness and invalid references are detected mechanically.
owner: human pages are never rewritten; lw:manual blocks are preserved byte-for-byte.livewiki/.baseline.json, so debt is enforced against a real baseline and the wiki survives a deleted local cache.Documentation debt can gate every merge in CI, without LLM calls or tokens — see the GitHub Actions template.
Historical comparison methodology and dated results are archived in Benchmarks.
| Package | Purpose |
|---|---|
@livewiki/cli | The livewiki command |
@livewiki/mcp | MCP server for stdio-capable MCP clients |
@livewiki/core | Library: indexer, anchors, ledger, pipeline |
MIT — see LICENSE.
[☕ Ko-fi](https://ko-fi.com/eduardoabreu81)