wikikit
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., "@wikikit search for pages about curated vs raw retrieval"
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.
agent-wiki-kit
One engine for every LLM wiki you'll ever run. A wiki is a folder of
Markdown files with frontmatter plus a wiki.yaml registry — wikikit makes it
lintable (contracts, links, freshness), publishable (llms.txt,
llms-full.txt, index.json, plain no-JS HTML), and consumable by any
agent over MCP. Zero dependencies: Python 3 stdlib only.
The pattern follows the Karpathy LLM-wiki idea and the agentwikis.com serving
model: knowledge is compiled once and kept current, not re-derived per query.
Compilation is agent work (the wiki-ingest skill / wikikit ingest); the
engine itself is deterministic.
See it live: examples/corporate-brain-patterns
is a real wiki built with wikikit — read INDEX.md
for the source pages, or the generated _site/
for what wikikit build emits (llms.txt, llms-full.txt, index.json, HTML).
Why not just a vector DB / RAG over raw docs?
Raw-text retrieval re-derives an answer from whatever chunks happen to match
a query, every single time — no page ever gets better, corrections don't
stick, and nothing tells you a source went stale. wikikit's bet: a small,
governed, continuously-curated wiki that an agent reads directly beats
re-deriving from an ever-growing pile of raw source documents, both on
accuracy and on maintenance cost. See
reference/curated-vs-raw-retrieval
for the evidence. It isn't a replacement for a vector DB on unstructured
search — it's for the slice of knowledge worth compiling once and keeping
current, the same slice a human onboarding doc or runbook already covers.
Related MCP server: @openindex/openindexwiki
Quick start
pip install -e . # or: pip install wikikit, once published
# scaffold a wiki (constitution + registry + meta)
wikikit init ~/wikis/my-domain --name my-domain
# compile a source into it (uses the claude CLI; or use skills/wiki-ingest interactively)
wikikit ingest ~/wikis/my-domain ~/Downloads/some-research.md
# health
wikikit lint ~/wikis/my-domain # errors exit 1 — CI-able
wikikit status ~/wikis/my-domain
# publish for agents + humans
wikikit build ~/wikis/my-domain # -> _site/llms.txt, index.json, HTML
# serve to any MCP client
wikikit serve ~/wikis/my-domainNo install? Every command also runs as python3 wikikit_cli.py <cmd> ...
from a clone of this repo.
Register with Claude Code / Claude Desktop:
{"mcpServers": {"my-domain-wiki": {
"command": "wikikit",
"args": ["serve", "/path/to/wikis/my-domain"]}}}MCP tools exposed: wiki_list_pages, wiki_read_page, wiki_read_section
(cheap targeted reads), wiki_search, wiki_recent. Pages are re-read on each
call, so edits are live without restarting.
Page contract
---
title: GitLab's Public Handbook
type: entity # from wiki.yaml page_types
status: live # live | draft | deprecated | planned
last_verified: 2026-07-07 # a claim: checked against reality on this date
summary: One line for llms.txt listings and search results.
sources: [where this came from]
tags: [a, b]
---[[wikilinks]] are first-class (lint checks them both in [[slug]] and
relative .md link form). Dirs starting with _ (_raw, _meta, _site)
are operational, never served.
Lint rules
MALFORMED, MISSING_FIELD, BAD_STATUS, BAD_DATE, UNKNOWN_TYPE, BROKEN_LINK (errors — exit 1) · STALE, ORPHAN, NO_SUMMARY (warnings).
Layout
wikikit/ engine (frontmatter, wiki model, lint, search, build, mcp_server, ingest, cli)
templates/ scaffolding used by `init` (CONSTITUTION.md, wiki.yaml)
skills/wiki-ingest/ Claude Code skill: how to compile sources into a wiki
examples/corporate-brain-patterns/ working demo — public case studies in compiled organizational knowledge (lints clean, serves over MCP)Instance profiles (roadmap)
The same engine backs different products by choosing page types + ingest sources:
Market/competitor wiki — entities + synthesis + weekly signals, for tracking a competitive landscape.
Key-account wiki — snapshot, buying map, tech stack, angle, and signals per account.
Data-asset wiki — tables, semantic models, pipelines, and agents, feeding downstream analytics agents.
Ops wiki — runbooks + known-error DB.
Available Tools
5 toolswiki_list_pagesA
List all wiki pages (slug, title, type, status, last_verified, summary). Use first to discover what exists before reading or searching.
Inputs: page_type.
wiki_read_pageB
Read one full wiki page by slug, including metadata and sources.
Inputs: slug (required).
wiki_read_sectionA
Read a single section of a page by heading (case-insensitive substring). Cheaper than wiki_read_page — prefer it when you need one section.
Inputs: slug (required), heading (required).
wiki_recentB
Pages verified/updated within the last N days (default 14) — the freshness view.
Inputs: days.
wiki_searchB
Keyword search across titles, tags, summaries, headings, and bodies. Returns ranked matches with snippets.
Inputs: query (required), limit, page_type.
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 has a distinct retrieval purpose (list, full read, section read, search, freshness), and descriptions explicitly clarify when to prefer one over another. Minor overlap between wiki_list_pages and wiki_recent since both enumerate pages, but the time filter distinguishes them.
All tools share the wiki_ prefix and use snake_case, with mostly verb_noun patterns (list_pages, read_page, read_section). wiki_search and wiki_recent drop the noun but remain readable and consistent with the prefix.
Five tools is well-scoped for a wiki reader: discovery, full read, targeted section read, search, and freshness each earn their place without redundancy.
The read/discovery lifecycle is well covered (list, read, section, search, recent). If the server is strictly read-only this is complete; a create/update path would be the only plausible gap for an editing-capable wiki.
Maintenance
Related MCP Connectors
Read and write your team's shared, AI-readable wiki from any MCP client.
Search and manage your team's knowledge from MCP clients.
Shared project wiki for AI agents: read and write pages, next actions, and activity logs over MCP.
Hosted markdown project wikis your team's AI assistants read, search, and update over MCP.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables agents to semantically search and read curated local markdown knowledge bases through MCP, with optional CLI and dashboard tooling.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to read, search, and write to a public wiki knowledge base via MCP.2MIT
- FlicenseAqualityCmaintenanceEnables AI agents to access a markdown wiki or knowledge base through per-topic tools that expose available domains and retrieve tables of contents, matching lines, or full pages on demand.3-
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to manage Wiki.js pages, users, and groups via CRUD tools and to perform semantic RAG search over wiki content with hybrid vector and lexical retrieval.MIT