LiveWiki MCP
Official@foor.tech/livewiki-mcp
LiveWiki over MCP — turn your team's knowledge base into a pluggable tool for any MCP-capable AI client (Claude Code, OpenAI Codex, Cursor, Zed, GitHub Copilot, …).
One index, many clients. Your AI tools query the same authoritative wiki your team already edits.
New to LiveWiki? Spin up a workspace at livewiki.foor.tech, drop in a Confluence export, MediaWiki dump, or a folder of docs — then plug this MCP server into your editor and ask questions across everything.
What it gives your AI
Five tools, all scoped to the tenant you configure:
Tool | Purpose |
| Semantic (default) or keyword search across pages. Optional |
| RAG Q&A with source citations — ideal when the user has a direct question. Optional |
| Discover the wikis available in the workspace. |
| List pages in a specific wiki. |
| Read the full markdown body of a page. |
Scoping to specific wikis
Both livewiki_search and livewiki_ask accept an optional wiki_slugs array. Examples:
// One wiki
{ "query": "refunds on staging", "wiki_slugs": ["runbooks"] }
// Two or three wikis — the model picks a union
{ "question": "how do we onboard a new hire?", "wiki_slugs": ["onboarding", "engineering-handbook"] }
// Omit entirely to search every wiki in the workspace
{ "query": "incident response" }Call livewiki_list_wikis first if your assistant doesn't already know which slugs exist. The deprecated singular wiki_slug is still accepted as an alias for a one-element array — wiki_slugs takes precedence if both are passed.
Retrieval runs server-side on LiveWiki's backend — HeliosDB (PostgreSQL-compatible own-engine with the native vector storage and managed for HA) stores content + embeddings; Voyage AI (voyage-3.5-lite, 1024-dim) produces the vectors at ingest time. Your AI client pays only for the tokens in its own prompt, not for re-embedding on every query.
Related MCP server: codewiki-mcp
Install
Pick whichever style fits your workflow:
Run on demand (recommended for editors) — no install needed; each session fetches the latest:
npx -y @foor.tech/livewiki-mcpGlobal install — put livewiki-mcp on your PATH:
npm install -g @foor.tech/livewiki-mcp
livewiki-mcp --base-url=https://livewiki-api.foor.tech --tenant=my-workspace --token=lw_…Per-project install — pin an exact version:
npm install --save-dev @foor.tech/livewiki-mcp
npx livewiki-mcpAll editor snippets below use the npx -y form — it's stateless and works across machines without pre-installation.
Configure
Three environment variables (or equivalent CLI flags):
Variable | Flag | Example |
|
|
|
|
|
|
|
|
|
Generate a token in your LiveWiki workspace under Settings → API tokens (direct link: livewiki.foor.tech/<your-tenant>/settings). The token is shown once at creation — copy it immediately; only a short prefix is retained afterwards.
Wire it into your editor
Claude Code
~/.claude/settings.json:
{
"mcpServers": {
"livewiki": {
"command": "npx",
"args": ["-y", "@foor.tech/livewiki-mcp"],
"env": {
"LIVEWIKI_API_URL": "https://livewiki-api.foor.tech",
"LIVEWIKI_TENANT": "my-workspace",
"LIVEWIKI_API_TOKEN": "lw_…"
}
}
}
}Restart Claude Code or run /mcp to verify.
OpenAI Codex CLI
~/.codex/config.toml:
[mcp_servers.livewiki]
command = "npx"
args = ["-y", "@foor.tech/livewiki-mcp"]
env = { LIVEWIKI_API_URL = "https://livewiki-api.foor.tech", LIVEWIKI_TENANT = "my-workspace", LIVEWIKI_API_TOKEN = "lw_…" }Cursor
.cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"livewiki": {
"command": "npx",
"args": ["-y", "@foor.tech/livewiki-mcp"],
"env": {
"LIVEWIKI_API_URL": "https://livewiki-api.foor.tech",
"LIVEWIKI_TENANT": "my-workspace",
"LIVEWIKI_API_TOKEN": "lw_…"
}
}
}
}Zed
~/.config/zed/settings.json:
{
"context_servers": {
"livewiki": {
"command": {
"path": "npx",
"args": ["-y", "@foor.tech/livewiki-mcp"],
"env": {
"LIVEWIKI_API_URL": "https://livewiki-api.foor.tech",
"LIVEWIKI_TENANT": "my-workspace",
"LIVEWIKI_API_TOKEN": "lw_…"
}
}
}
}
}GitHub Copilot (VS Code 1.95+)
.vscode/mcp.json (project) or user settings:
{
"servers": {
"livewiki": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@foor.tech/livewiki-mcp"],
"env": {
"LIVEWIKI_API_URL": "https://livewiki-api.foor.tech",
"LIVEWIKI_TENANT": "my-workspace",
"LIVEWIKI_API_TOKEN": "lw_…"
}
}
}
}Scope guidance for your model
Include a short prompt hint in your CLAUDE.md / .cursorrules / etc. so the model reaches for LiveWiki in the right situations:
You have access to a LiveWiki workspace via
livewiki_*tools. When the user asks a "how do we…", "where is the doc for…", "what did we decide about…" style question that may be answered by team docs, calllivewiki_askfirst. If that returns low-relevance sources, fall back tolivewiki_searchwithmode: "semantic".
What LiveWiki is
LiveWiki is an AI-powered wiki platform — modern MediaWiki replacement with auto-organize, stale detection, RAG Q&A, cross-links, and migration tools (MediaWiki, Confluence XML/HTML/Cloud, drop-and-organize for arbitrary files). This package is the MCP surface that exposes its retrieval to external AI clients.
Learn more and create a workspace: livewiki.foor.tech
Development
git clone https://github.com/FOOR-tech/livewiki-mcp
cd livewiki-mcp
npm install
npm run build
LIVEWIKI_API_URL=… LIVEWIKI_TENANT=… LIVEWIKI_API_TOKEN=… node dist/cli.jsThe server speaks MCP over stdio. For an interactive sanity check, point an MCP inspector at it.
Links
LiveWiki: livewiki.foor.tech
HeliosDB: heliosdb.com/lite.html
Voyage AI: voyageai.com
Source: github.com/FOOR-tech/livewiki-mcp
npm: npmjs.com/package/@foor.tech/livewiki-mcp
MCP spec: modelcontextprotocol.io
License
MIT © foor.tech
Available Tools
5 toolslivewiki_askA
Ask a natural-language question and get an answer synthesized from the wiki with citations. Uses RAG: embeds the question, retrieves the most relevant chunks, and returns an answer citing the source pages. Prefer this over search when the user has a question you can answer directly. Scope with wiki_slugs to answer from one or several specific wikis; omit to draw from every wiki in the workspace.
Inputs: question (required), wiki_slug, wiki_slugs.
livewiki_get_pageA
Read the full markdown content of a specific wiki page. Use this after livewiki_search / livewiki_list_pages to fetch a page you want to quote or reference in detail.
Inputs: page_slug (required), wiki_slug (required).
livewiki_list_pagesA
List all pages in a wiki. Returns titles and slugs — use with livewiki_get_page to read specific ones.
Inputs: wiki_slug (required).
livewiki_list_wikisA
List the wikis available in this LiveWiki tenant. Use this to discover what knowledge bases exist before searching.
Inputs: no named parameters.
livewiki_searchA
Search pages in the LiveWiki knowledge base. Default mode "semantic" finds pages by meaning (best for questions); "keyword" matches literal words with highlighted fragments. Returns top results ranked by relevance. Use this to discover which pages might answer a question before reading their full content. Scope with wiki_slugs to search one or several specific wikis; omit to search every wiki in the workspace.
Inputs: query (required), mode, limit, wiki_slug, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct retrieval action: discovering wikis, listing pages, searching pages, asking a synthesized question, and reading a page. The only mild overlap is between livewiki_search and livewiki_ask, but the descriptions explicitly clarify when to use each (discovery vs. direct Q&A), so misselection is unlikely.
All tools use the same livewiki_ snake_case prefix followed by a clear action verb, with predictable noun forms such as list_wikis, list_pages, and get_page. livewiki_ask is verb-only but still fits the consistent verb-oriented pattern.
Five tools is well-scoped for a knowledge-base retrieval server: discover, list, search, ask, and read. Each tool earns its place without redundancy or an overly large surface.
The surface covers the full read-only lifecycle: listing wikis, listing pages within a wiki, searching, answering questions with citations, and fetching full page content. There are no obvious dead ends for retrieval workflows, and write operations appear outside the server's stated purpose.
Maintenance
Related MCP Connectors
MCP server for learnhouse documentation, generated by doc2mcp.
MCP server for developers documentation, generated by doc2mcp.
MCP server for skill documentation, generated by doc2mcp.
MCP server for developer documentation, generated by doc2mcp.
Related MCP Servers
- FlicenseBqualityDmaintenanceA MCP server that allows you to search and retrieve content on any wiki site using MediaWiki with LLMs 🤖. wikipedia.org, fandom.com, wiki.gg and more sites using Mediawiki are supported!227-
- AlicenseBqualityDmaintenanceMCP server for codewiki.google — AI-powered wiki documentation for open-source repositories. Search repos, fetch wiki content, and ask questions about any repo.380 npm19MIT
- AlicenseAqualityAmaintenanceMCP server for MediaWiki wikis. Search, read, edit, and manage wiki content from AI assistants. Includes formatting, link checking, revision history, and markdown conversion.4325MIT
- AlicenseNot gradedqualityDmaintenanceMCP server providing live Wikipedia recent changes feed, page summaries, trending pages, and Wikidata entity lookup.MIT