Skip to main content
ClaudeWave

MCP server + CLI for agent-first living documentation: verifiable Markdown wikis anchored to real code, with deterministic staleness detection. @livewiki/mcp exposes the wiki to any MCP-capable agent.

MCP ServersOfficial Registry0 stars0 forksTypeScriptMITUpdated today
ClaudeWave Trust Score
95/100
Verified
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 8/27/2026
Install in Claude Code / Claude Desktop
Method: NPX · @livewiki/cli
Claude Code CLI
claude mcp add livewiki -- npx -y @livewiki/cli
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "livewiki": {
      "command": "npx",
      "args": ["-y", "@livewiki/cli"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Use cases

MCP Servers overview

# livewiki

**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.

[![npm @livewiki/cli](https://img.shields.io/npm/v/@livewiki/cli?label=cli)](https://www.npmjs.com/package/@livewiki/cli)
[![npm @livewiki/mcp](https://img.shields.io/npm/v/@livewiki/mcp?label=mcp)](https://www.npmjs.com/package/@livewiki/mcp)
[![CI](https://github.com/eduardoabreu81/livewiki/actions/workflows/cross-platform-ci.yml/badge.svg)](https://github.com/eduardoabreu81/livewiki/actions/workflows/cross-platform-ci.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

`livewiki view` builds a self-contained offline site from the wiki — grouped
sidebar, offline search, diagrams, and dark mode:

![livewiki viewer showing a generated quickstart page](docs/assets/viewer-quickstart.jpg)

*Example wiki generated by livewiki for MoneyPrinterTurbo-Plus, an external
Python repository.*

---

## Why

Technical docs go stale the moment the code changes. livewiki makes that
visible and cheap to fix instead of silent:

- **Deterministic anti-hallucination checks.** Every code reference must point
  at a real indexed symbol. `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.
- **Your edits win.** Pages you mark `owner: human` are never rewritten, and
  `lw:manual` blocks are preserved byte-for-byte.
- **Debt is tracked, not discovered.** `livewiki status` ranks what drifted;
  a GitHub Action can gate every merge on zero documentation debt, without
  spending tokens.
- **Works where you already work.** Bootstrap and maintain through the coding
  agent you use, or run a fully automated batch.

### What `verify` checks — and what it doesn't

The 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:

- a cited symbol that does not exist in the code;
- an anchor that broke because the symbol moved, was renamed, or was deleted;
- a cited signature that no longer matches the indexed one;
- an internal link that does not resolve;
- a referenced artifact that is missing from disk;
- frontmatter or page structure that violates the format contract.

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.

## Quick start

Requires **Node.js 24 or newer**.

### 1. Install

```bash
npm install -g @livewiki/cli
```

(`npx @livewiki/cli` works too, without installing globally.)

### 2. Initialize

From the root of the repository you want documented:

```bash
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.

### 3. Bootstrap the wiki once

You have two routes — pick one.

**Route A — through your coding agent (no API key needed):**

```bash
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):**

```bash
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:

```bash
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 <runId>`.

### 4. Verify and browse

```bash
livewiki verify   # validate code references, internal links, and artifacts
livewiki view     # build an offline site with search, Mermaid, and dark mode
```

## Works with your coding agent

`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:

```json
{
  "mcpServers": {
    "livewiki": {
      "command": "npx",
      "args": ["-y", "@livewiki/mcp", "--repo", "/path/to/repo"]
    }
  }
}
```

The server is also published to the [official MCP
Registry](https://registry.modelcontextprotocol.io) 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.

## Languages

| 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).

## Providers

`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.

## What a generated page looks like

Excerpt from this repository's own
[`livewiki/core-src/verify.md`](livewiki/core-src/verify.md):

````markdown
## 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.

<!-- lw:anchors packages/core/src/verify.ts#collectWikiPages packages/core/src/verify.ts#collectWikiArtifactPaths -->

```ts
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.

## How it works

- **Deterministic layer** — the CLI indexes source, extracts symbols, computes
  staleness, plans work, tracks debt, and verifies — without a model.
- **Writing layer** — a connected agent (or an API-backed batch) writes the
  prose, from a closed list of allowed symbol keys.
- **Anti-hallucination layer** — deterministic and structural: code anchors,
  cited signatures, internal links, artifacts, and page structure are all
  checked against disk; invalid writes are rolled back. It eliminates fabricated
  and rotted references, not semantic mistakes.
- **Human ownership** — `owner: human` pages are never rewritten; `lw:manual`
  blocks are preserved byte-for-byte.
- **Portable baseline** — the accepted state of every documentation obligation
  lives in a versioned `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](packages/cli/templates/github-actions/docs-debt.yml).

Historical comparison methodology and dated results are archived in
[Benchmarks](docs/BENCHMARKS.md).

## Packages

| Package | Purpose |
| --- | --- |
| [`@livewiki/cli`](https://www.npmjs.com/package/@livewiki/cli) | The `livewiki` command |
| [`@livewiki/mcp`](https://www.npmjs.com/package/@livewiki/mcp) | M
ai-agentscode-documentationdeveloper-toolsdocumentationllmmarkdownmcpmcp-servermodel-context-protocoltree-sittertypescriptwiki

What people ask about livewiki

What is eduardoabreu81/livewiki?

+

eduardoabreu81/livewiki is mcp servers for the Claude AI ecosystem. MCP server + CLI for agent-first living documentation: verifiable Markdown wikis anchored to real code, with deterministic staleness detection. @livewiki/mcp exposes the wiki to any MCP-capable agent. It has 0 GitHub stars and its last recorded update is dated 2026-08-27.

How do I install livewiki?

+

You can install livewiki by cloning the repository (https://github.com/eduardoabreu81/livewiki) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is eduardoabreu81/livewiki safe to use?

+

Our security agent has analyzed eduardoabreu81/livewiki and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains eduardoabreu81/livewiki?

+

eduardoabreu81/livewiki is maintained by eduardoabreu81. The last recorded GitHub activity is dated 2026-08-27, with 0 open issues.

Are there alternatives to livewiki?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy livewiki to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: eduardoabreu81/livewiki
[![Featured on ClaudeWave](https://claudewave.com/api/badge/eduardoabreu81-livewiki)](https://claudewave.com/repo/eduardoabreu81-livewiki)
<a href="https://claudewave.com/repo/eduardoabreu81-livewiki"><img src="https://claudewave.com/api/badge/eduardoabreu81-livewiki" alt="Featured on ClaudeWave: eduardoabreu81/livewiki" width="320" height="64" /></a>

More MCP Servers

livewiki alternatives