llmwiki
Lets your AI agent build a cited knowledge wiki from your documents and query and review it locally.
2.2k stars on GitHubby Atomic Strata (atomicstrata)License MITUpdated 24 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add llmwiki -- npx -y llm-wiki-compiler serve --root "<root>"
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Compile these papers and notes into a wiki.
Give me an evidence pack on how the pricing model works, with citations.
What it is
llmwiki compiles raw sources such as papers, notes, PDFs and web pages into linked markdown pages with citations. Agents can then retrieve evidence, ask questions and review generated answers through the local MCP server. Existing wikis keep their layout.
What it can do
llmwiki compile: turn sources into wiki pagesllmwiki ingest: add files or URLsllmwiki serve: MCP server for ingest, compile, query, lint and moreget_context_pack: evidence for an agent's reasoningwiki_status: check the wikillmwiki view: local browser viewerllmwiki lintandllmwiki eval: check quality
When to use
- βΊWhen you have many documents and want one searchable, cited knowledge base.
- βΊWhen you want an agent to answer from your own sources with citations.
- βΊWhen you need to review generated answers before they are published.
What you need
npm install --global llm-wiki-compiler. It also needs an AI provider for compiling, such as Anthropic, OpenAI, Ollama or others listed in the readme.Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
llm-wikiHelps your agent build and maintain a persistent Markdown knowledge base, adding sources, answering questions from it and checking it for contradictions.llm-wikiHelps your agent build a personal or team knowledge base in Obsidian, adding sources and keeping the links, index and notes up to date.llm-wikiHelps your agent build and keep a personal wiki of linked markdown notes that grows as you add sources and questions.Frequently asked questions
Is it open source?
Yes, it has a LICENSE file in the repo and installs from npm.
Which AI providers work?
Anthropic, Claude Agent SDK login, OpenAI Codex CLI login, OpenAI-compatible servers, Ollama, GitHub Copilot, Atlas Cloud, OrcaRouter and Converse gateways.
What is the MCP command?
llmwiki serve. The MCP Registry identifier is io.github.atomicstrata/llmwiki.
Can I see the wiki in a browser?
Yes. llmwiki view opens a read-only local viewer.
Does it work offline?
It supports local providers such as Ollama and local OpenAI-compatible runtimes.
What can I export to?
Open Knowledge Format, JSON, JSON-LD, GraphML, Marp slides and llms.txt.
If it does not work
- βΊCheck that Node.js is installed and that
llmwikiruns after the global npm install. - βΊMake sure you have set up credentials for the AI provider you chose.
- βΊRun
llmwiki lintto find stale or orphaned pages.
5 new skills a week. 1 minute to read.