1. Conduid
  2. RAG
  3. Wenlan
MCP server · RAG

Wenlan

A living personal wiki. Wenlan turns your documents, notes, and AI chats into pages with links to their sources, and updates them as sources change without overwriting your edits. Claude Code, Codex and other AI tools can build on it.

44Fair

Scored 5 hours ago · breakdown

About Wenlan

Wenlan is an MCP server published by wenlan-app in the RAG category: a living personal wiki. Wenlan turns your documents, notes, and AI chats into pages with links to their sources, and updates them as sources change without overwriting your edits. Claude Code, Codex and other AI tools can build on it.

The repository has 83 stars and 8 forks, with the last commit 4 hours ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/wenlan-app/wenlan

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Wenlan

Powered by Claude · Grounded in docs

I know everything about Wenlan. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 3 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.

2 checks have not been run yet.

Releases

v0.19.1v0.19.1 · 16 Oct 2026What's Changed Bug Fixes app: centre the note and fold the labelled rail when Info needs room (#873)…
v0.19.0v0.19.0 · 12 Oct 2026What's Changed Features ai: make background AI explicitly optional (#804) (9a53ef4) app: add…
v0.18.16v0.18.16 · 4 Oct 2026What's Changed Features open relay pairing requests in Wenlan with one click (#795) (2b2d88d) Bug Fixes…
v0.18.15v0.18.15 · 3 Oct 2026What's Changed Bug Fixes plugin: install the runtime through the pinned npm package, not a piped script (#790)…
v0.18.14v0.18.14 · 30 Sep 2026What's Changed Bug Fixes app: preserve device authorization when reconnecting transport (#788) (908777f)…

README

Wenlan turns your documents, Markdown files, and AI conversations into editable notes with links to their sources, so you and your AI tools can keep building on them.

As sources change, you can ask AI to update the notes or enable background updates. If you’ve edited a note, Wenlan proposes revisions for you to review instead of automatically overwriting your work.

https://github.com/user-attachments/assets/35f06749-00e5-484d-a9f4-5e462de8d11e

Get started

1. Download and open Wenlan

Download the app, then open it:

  • macOS (Apple Silicon): open the .dmg and drag Wenlan to Applications. The app is signed and notarized.
  • Windows x64: run the -setup.exe. It is not signed yet. If SmartScreen warns you, confirm you downloaded it from the official Releases page before choosing "More info" → "Run anyway".
  • Linux: no desktop build yet; follow the setup guide to use Wenlan with your AI tools without the app.

First launch downloads a model for local search, so keep an internet connection until setup finishes. Download and privacy details.

2. Start with your own note

Choose Get started to enter Wenlan, then write a note of your own. The welcome screen also offers a sample to explore first. You can start writing without importing material, connecting an AI tool, or setting up an AI model.

3. Bring in sources when you want

You can import Markdown files or ChatGPT / Claude conversation exports whenever you are ready. Import is optional; you can begin with a note of your own.

4. Connect AI tools when you want AI help

Connect Claude Code, Codex, or other supported AI tools when you want them to use the same knowledge. A connected AI can write notes without an additional local language model.

Restart your AI tool if prompted. For help with setup, paste this into Claude Code, Codex, or another tool that can follow a setup guide:

Connect this AI tool to Wenlan by following:
https://raw.githubusercontent.com/wenlan-app/wenlan/main/docs/setup-with-ai.md

Reuse my existing Wenlan installation if available.
Set up only this AI tool, then check that it can save and find a test memory.

To organize a topic with a connected AI, open a work conversation worth keeping and ask:

Turn the conclusions, reasoning, and sources about [topic] in this conversation into a Wenlan note with source citations.

You can also ask your AI to organize a topic from material you imported into a note.

When it's ready, open the new note in Wenlan, click a citation to check its source, and add your own thoughts. Next time you work on that topic, ask your AI to read this note before continuing.

Background organization and automatic updates are optional and need a configured model. For terminal installation, other platforms, and updates, see the setup guide.

Need help? Setup guide · Report a problem. Issues are public: redact secrets, credentials, access tokens, identifiers, private or personal content from anything you share, including logs.

Your Wiki, for you and your AI

  • Turn scattered material into connected topics. Bring documents, Markdown files, and AI conversations together in linked notes, with citations you can open and check.
  • Read it yourself. Use it with your AI. Read and edit your notes, or ask Claude Code or Codex to use them for your next task.
  • Maintain knowledge without starting over. Track source changes, update related notes, and keep their history. AI proposes revisions to notes you've edited for you to review.

Your notes are local Markdown files you can read, edit, and take with you.

The illustration shows a reusable working rule, not customer results or an automated note-generation test. How sources, memories, and notes work together.

Follow the connections behind a note

The Agent Loop example connects a retry rule, a lesson from a UI review, and an acceptance checklist you can reuse.

Follow a note to related concepts and evidence. How graph and search work.

Knowledge changes. History stays.

New experience improves your notes without hiding earlier decisions. This example replaces “tests passed, so the UI is done” with “check tests and the desktop and mobile views,” keeping the reason and evidence for the change.

Review applies to AI updates; direct file edits and forced rebuilds follow different rules. Updates, review, and local files.

Already using Obsidian with AI plugins?

You can use Copilot for AI-assisted reading and editing, Smart Connections to find related notes, and Obsidian Git to keep version history. That gives you flexibility, but choosing how the plugins work together, when to organize new material, and how to update older notes is still a workflow you arrange.

Wenlan connects organizing topic notes, tracking source changes, updating notes, and keeping revision history in one workflow, saving you the work of assembling and maintaining those steps yourself. You can read the resulting knowledge directly or let Claude Code, Codex, and other tools build on it.

Ask your connected AI to update a note, or configure a model to enable background updates. When AI updates a note you've edited, Wenlan proposes a revision for you to review.

Connect your existing Obsidian vault as a read-only source without moving your files. Wenlan does not modify the vault or sync changes back to it.

Capabilities

Bring your material in

  • Keep useful AI conversations: Import ChatGPT or Claude export ZIPs without duplicating conversations already imported.
  • Bring your existing files: Import Markdown, text files, or text-extractable PDFs, by file or folder; connect an Obsidian vault as a source. Scanned PDFs need text extraction first.
  • Quick Capture: Save a thought or decision directly in the desktop app without opening an AI chat.
  • Capture decisions with your AI: Ask your AI tool to save decisions, lessons, corrections, preferences, and facts, with their sources and what they replace.
  • Bring in another wiki: Import an external OKF wiki through the CLI or API, preserving source references and links. Reimporting Wenlan's own OKF exports is not supported.

Explore your personal Wiki

  • Editable, source-linked Notes: Turn related documents and Memories into Markdown Notes with citations and links to other Notes.
  • Cards or lists: Browse Notes, Entities, and Spaces in the view that suits you.
  • Knowledge graph: Explore connections between people, projects, claims, and the Memories supporting them.

Use it with your AI tools

  • Pick up in another AI tool: Connected Claude Code, Codex, and other MCP clients can use the same local Notes and Memories as the desktop app and CLI.
  • Search by words and meaning: Combine exact matches with local semantic search; graph connections can add relevant context.
  • Optional deeper search: Search Notes and finer-grained Memories, with optional reranking to refine results.
  • Keep projects separate: Use Spaces to choose which work, personal, client, or repository knowledge your AI searches.
  • Web access (experimental): Connect a web AI client such as Claude, ChatGPT, or Muse to your whole library, or to one Space you choose, while your computer is online. Turn it on in Settings with the Web access switch. Queries and results pass through a relay; see how access works and its privacy limits.
  • Connect your own tools: Send prepared text, webpage content, or Memories through the local HTTP API. It accepts content, not URLs to fetch.

Keep knowledge current

Optional background organization and Note updates need a configured model.

  • Incremental sync: File and folder Sources track changes in the background. Obsidian vaults stay read-only and resync on demand.
  • Organize saved knowledge: A configured model can add types, structured details, relevant dates, tags, search cues, and graph links to Memories.
  • Updates backed by sources: Automatic refresh rejects drafts with insufficient citations. AI-generated Notes can update; changes to Notes you have edited become review proposals.
  • Review where judgment matters: Review protected conflicts, Note revisions, entity merges, and new vocabulary.
  • See what is happening: Check progress and blockers in Activity. Configured sync, Steep (background enrichment), and eligible Note updates can continue after the app window closes while the local service runs.

Keep ownership and control

  • Local, inspectable knowledge: Keep Markdown Notes, citations, revisions, and Obsidian exports; Memories and graph data live in local libSQL.
  • Take your Wiki with you: Export eligible Notes across Spaces as an OKF v0.2 wiki from Settings or the CLI. This is a wiki export, not a full database backup.
  • Model choice: Base retrieval stays local. Steep, the optional background enrichment and synthesis, can use on-device Qwen, a local endpoint, or a cloud model; remote providers receive the content needed for their tasks.
  • Health checks and reviewed repairs: Doctor and lint report problems without rewriting knowledge. For supported findings, the app lets you preview and explicitly apply a repair, then verify it.

Start with a note you want to keep. Get started. Star this repo if you'd like to come back and try it later.

Daily workflow

Once your AI tool is connected, you can ask in plain language:

With the Wenlan plugin installed, you can also use the slash commands below.

Before starting a task

Find what I've saved in Wenlan about [topic], including earlier decisions and their sources.

Shortcut: /recall [topic]

When you reach a useful conclusion

Save this decision and why we made it in Wenlan, with its sources.

Shortcut: /capture [decision, reasons, and sources]

When a topic deserves a note

Create or update a Wenlan note on [topic] from the material we've saved. Keep the citations.

To organize saved knowledge into notes: /distill

Open the note in Wenlan to read, edit, and check its sources. Next time, ask your AI to use it for your next task.

When you wrap up

Save this session's progress, decisions, and open questions in Wenlan so we can pick up next time.

Shortcut: /handoff

  • Read the project summary: /brief [topic] reads the current Space's project summary; an optional topic adds related context from that Space.
  • Check and review: /lint checks knowledge health; /curate reviews pending captures or revisions.

These shortcuts are available through the Wenlan plugins. Other connected clients use the equivalent MCP tools. Optional background organization and Note updates need a configured model.

Full command reference.

CLI offline writes and replay.

Models and privacy

Use your connected AI to write notes without installing an additional local language model. Background organization and automatic updates are optional and need a configured model.

  • Search stays local. The search model downloads at first launch and runs on your machine, without an API key.
  • Connected AI can receive your knowledge. A cloud AI client can send retrieved content to its provider. Choosing a cloud model for background organization also sends the material needed for that task. Local storage does not make those interactions local.
  • Usage statistics are off by default. If you opt in, Wenlan sends limited operation counts, version, and platform, not your knowledge content or an installation ID. Details.

See network and privacy details for downloads, update checks, remote images, and optional remote access.

Model choices and configuration.

Your data and uninstall

Your notes and session logs are Markdown files; memories and the graph live in a local database. You can keep your knowledge when you uninstall the app.

File locations, backup, and removal.

Evaluation

This is a retrieval-only snapshot, not a claim about end-to-end answer quality. Method, environment receipts, and the update workflow live in docs/eval.

Benchmark Recall@5 MRR NDCG@10
LME_Oracle (500 Q) 93.6% 0.857 0.883
LME_S (deep, 90 Q) 87.7% 0.815 0.822

Learn more

More detailed documentation, concepts, and comparisons:

Docs

  • Get started: install and verify the first local loop.
  • Daily workflow: brief, capture, recall, handoff, distill, lint, and curate.
  • MCP clients: connect Claude Code, Codex, Cursor, Claude Desktop, Muse Code, and other clients.

Workflow guides

Concepts

Comparisons

Contributing

Bug fixes, eval cases, docs, and features are welcome. Installing Wenlan does not require building from source. For local development, run these commands from this repository's root:

# daemon crates (default-members — the desktop app is not compiled)
cargo build
cargo test

# desktop app (Cargo target and root-level frontend tooling)
pnpm install
pnpm dev:all
pnpm build:all

pnpm dev:all is the supported development entry point for the desktop app. It keeps development ports, data, process ownership, app identity, MCP sockets, and Remote Access state separate from the installed production runtime; a debug app started without that isolation refuses to run. See this repository's AGENTS.md and CONTRIBUTING.md, plus the in-tree app/AGENTS.md, for the complete development workflow. Security reports: SECURITY.md. Privacy policy: PRIVACY.md. Please also read the Code of Conduct.

Code signing policy

macOS desktop releases are Developer ID signed and notarized. Windows installers are not signed yet.

Releases are built from tagged commits by this repository's release workflow on GitHub-hosted runners. Maintainers must use multi-factor authentication on GitHub.

Platform signing details · Privacy policy.

License

Wenlan uses two licenses, one per part of the repository.

  • Apache-2.0 (LICENSE) covers the local runtime, CLI, MCP server, shared types, and the Claude Code and Codex plugin files. Build on these freely.
  • AGPL-3.0-only (app/LICENSE) covers the desktop app: the app/ crate and the React frontend it ships. If you run a modified version of the app as a network service, the AGPL asks you to offer that modified source to its users.

The split is deliberate. Apache-2.0 code may be used inside an AGPL-3.0 program, so the desktop app builds on the runtime without either license being violated.

Lineage and peers

Wenlan (文瀾) takes its name from 文瀾閣, an imperial library that held 四庫全書 as part of one of China's largest book collections.

Wenlan's llm-wiki v2 model is its own product direction, informed by the LLM-wiki and agent-memory lineages:

README fetched from the repository 3 hours ago. The original is authoritative.

Questions

About Wenlan

How do I install Wenlan?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Wenlan safe to use with an AI agent?

Its trust score is 44 out of 100 (fair). It passes 4 of the 4 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Wenlan still maintained?

Yes — the latest release is v0.19.1 (16 Oct 2026), and the last commit was 4 hours ago. The repository has 83 stars and 13 open issues.