llmwiki — Claude Code MCP server: features and setup
Turn documents into a linked wiki with citations that an agent can search and read. Useful when you need reusable, auditable knowledge from notes, PDFs, and other source files.
claude mcp add llmwiki -- npx -y llm-wiki-compilerWhat llmwiki does
llmwiki turns source material into Markdown pages for concepts, entities, comparisons, and overviews. Its two-stage LLM workflow first extracts concepts, then builds pages. Claims include references to source files and line ranges.
The MCP server gives an agent tools to ingest, compile, query, lint, and read the wiki. Retrieval combines semantic chunk search, BM25 reranking, and links between pages. A local viewer displays pages and sources; llmwiki lint checks citations.
This is not a replacement for searching fast-changing logs: llmwiki is built for material worth compiling and reviewing. Add it to Claude Code with claude mcp add llmwiki -- npx -y llm-wiki-compiler.
What it helps with
- compile documents and notes into a linked wiki
- find source evidence for an agent's answer
- check citations and stale pages
- give an agent context from reviewed pages
Example prompts for the agent
- Compile the project documents into a wiki with citations to their sources.
- Search the wiki for information on this topic and cite the source pages.
- Check the wiki citations and find stale pages.
How to install llmwiki
Platform CLI
claude mcp add llmwiki -- npx -y llm-wiki-compilerPlatform CLI
codex mcp add llmwiki -- npx -y llm-wiki-compilerConfig file
{
"mcpServers": {
"llmwiki": {
"command": "npx",
"args": [
"-y",
"llm-wiki-compiler"
]
}
}
}Config file
{
"servers": {
"llmwiki": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"llm-wiki-compiler"
]
}
}
}Platform CLI
gemini mcp add llmwiki npx -y llm-wiki-compilerStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about llmwiki
How do I install llmwiki in Claude Code?
Run claude mcp add llmwiki -- npx -y llm-wiki-compiler. This adds the llmwiki MCP server to Claude Code.
What does llmwiki do?
It compiles documents into a linked Markdown wiki with citations, then lets an agent search and read its pages through MCP.
How does llmwiki connect answers to sources?
Wiki pages reference source files and line ranges. llmwiki lint checks those citations.