wikikit
Enables agents to search, list, and read pages from a curated Markdown wiki via MCP, with live updates and tools for targeted section access.
README
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.
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-domain
No 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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。