llm-wiki-mcp
This server allows you to manage and interact with AI-powered wiki knowledge bases by ingesting documents and querying them with natural language.
Ingest documents (
ingest): Add documents from local file paths or URLs into a named wiki. The server automatically extracts entities, concepts, and cross-references, building structured wiki pages (entity pages, concept pages, source pages, and synthesis pages) from the source material.Query knowledge bases (
query): Ask natural language questions against a named wiki and receive AI-synthesized answers with[[wikilinks]]citations drawn from ingested content.Manage multiple wikis: Organize knowledge into separate named wikis (e.g.,
my-research,project-docs), with new wikis created automatically on first ingest.Process diverse formats: Ingest markdown files, PDFs, URLs, and other document types.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@llm-wiki-mcp query my-research wiki: what are attention mechanisms?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
llm-wiki-mcp
HTTP MCP server providing wiki knowledge base tools (query and ingest), powered by llm-wiki-agent skills via the Claude Agent SDK.
Architecture
MCP Client (Claude Code, etc.)
↓ HTTP / stdio
llm-wiki-mcp (FastMCP server)
↓ Claude Agent SDK (query())
Claude Code agent session
↓ auto-loaded skills
llm-wiki-agent (.claude/commands/)
↓ /wiki-ingest, /wiki-query
Wiki markdown files (entities, concepts, sources, syntheses)The MCP server is a thin layer. The actual knowledge extraction, entity/concept page creation, cross-referencing, and contradiction detection are all handled by the llm-wiki-agent skill running inside a Claude Agent SDK session.
Related MCP server: mcp-wikijs
Quick Start
# Install dependencies
uv sync
# Clone llm-wiki-agent skills
git clone --depth 1 https://github.com/SamurAIGPT/llm-wiki-agent.git skills/llm-wiki-agent
# Set your Anthropic API key
export ANTHROPIC_API_KEY=sk-ant-...
# Start the server (HTTP mode, default port 8080)
uv run llm-wiki-mcp
# Or use stdio mode
uv run llm-wiki-mcp --transport stdioTools
ingest
Ingest a document (file path or URL) into a named wiki. The llm-wiki-agent skill handles reading, converting, extracting knowledge, and building cross-referenced pages.
ingest(wiki_name="my-research", source="raw/papers/attention-is-all-you-need.md")
ingest(wiki_name="my-research", source="report.pdf")query
Query a wiki with a natural language question. The skill searches all wiki pages and synthesizes an answer with [[wikilinks]].
query(wiki_name="my-research", question="What are the main approaches to attention?")Docker
docker build -t llm-wiki-mcp .
docker run -e ANTHROPIC_API_KEY=sk-ant-... -p 8080:8080 -v ./wikis:/home/agent/wikis llm-wiki-mcpOptional: configure custom base URL or models:
docker run \
-e ANTHROPIC_API_KEY=sk-ant-... \
-e ANTHROPIC_BASE_URL=https://custom.anthropic.com \
-e ANTHROPIC_SMALL_FAST_MODEL=claude-haiku-4-20250514 \
-e ANTHROPIC_DEFAULT_SONNET_MODEL=claude-sonnet-4-20250514 \
-e ANTHROPIC_DEFAULT_OPUS_MODEL=claude-opus-4-20250514 \
-e ANTHROPIC_DEFAULT_HAIKU_MODEL=claude-haiku-4-20250514 \
-p 8080:8080 \
-v ./wikis:/home/agent/wikis \
llm-wiki-mcpAvailable Tools
2 toolsingestA
Ingest a document into a wiki knowledge base.
The source is fetched (URL or local path) and saved to the wiki's raw/ directory, then the llm-wiki-agent /wiki-ingest skill processes it — extracting entities, concepts, and cross-references into structured wiki pages.
Args: wiki_name: Name of the wiki to ingest into (created if it doesn't exist). source: A local file path or URL to ingest.
Inputs: wiki_name (required), source (required). Returns: result
queryA
Query a wiki knowledge base and get an AI-synthesized answer.
Uses the llm-wiki-agent /wiki-query skill to search wiki pages and synthesize a comprehensive answer with [[wikilinks]] citations.
Args: wiki_name: Name of the wiki to query. question: The question to ask about the wiki's knowledge.
Inputs: wiki_name (required), question (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools, 'ingest' and 'query', have clearly distinct purposes: one adds documents to the wiki, the other retrieves information. There is no ambiguity or overlap in their functionality.
Both tool names follow a single-verb pattern that directly describes their action ('ingest' and 'query'), making them consistent and predictable.
With only two tools, the server feels under-scoped for a wiki knowledge base. While the tools cover core ingest and query actions, a more complete server would include additional management tools.
The server lacks essential operations such as listing wikis, deleting wikis, or updating ingested content. Users have no way to manage the wiki beyond ingesting and querying, which are significant gaps.
Maintenance
Related MCP Connectors
Ask your own documents and get answers that cite the source passage. Workspace knowledge bases over MCP for Cursor, Claude and any MCP client.
Connect your team's living knowledge base — docs, data, issues, CRM — to Claude and ChatGPT.
Shared knowledge base for AI agents. Semantic search across agents, no setup required — just a URL.
Your docs site. No editor to open. Just ask Claude.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Claude Desktop to search and query personal document collections (PDF, Word, Markdown, text) using semantic search and conversational AI with full context preservation across exchanges.MIT
- AlicenseBqualityDmaintenanceConnects Claude to a Wiki.js instance, enabling page search, retrieval, listing, and creation.48 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables querying enterprise documents (DOCX, PDF, PPTX) using natural language, with hybrid search and MCP integration for Claude Desktop and other agents.MIT
- FlicenseNot gradedqualityDmaintenanceEnables Claude Desktop to query a local Zendesk Help Center knowledge graph for semantic search, article retrieval, content gap analysis, and editorial intelligence tasks.3-