Mindbase

io.github.frankchu91由 GitHub 账号 frankchu91 发布v0.1.3更新于 Oct 24, 2026

LLM-maintained personal wiki: cross-references sources, flags contradictions. Local markdown.

已验证STDIO仅桌面文件与存储知识与记忆

概览

AI 生成的概览

一个本地 MCP 服务器,让助手根据你的资料构建并维护个人 Markdown 维基,进行交叉引用并标记矛盾之处。

可以做什么
导入笔记、PDF 和网址等资料,助手先给出要点与写入计划,经你批准后才写入维基。根据尚未整合的材料重新生成综合性的上下文页面。检查维基中的矛盾、过时说法和孤立页面,并引用冲突的原句。针对维基提问并获得带引用的回答。在配套网页应用中浏览和编辑维基目录、快速记录笔记。
适用场景
适合大量阅读论文、文章和文档,希望有一个由助手在会话之间持续维护的持久结构化维基,而不是每次提问都从原始资料重新推导答案的人。也适合希望知识以磁盘上的纯 Markdown 文件保存、可搜索、可版本管理并能在其他编辑器中打开的用户。
运行要求
通过 npx 以 stdio 进程在本地运行(需 Node 20+),在 Cursor、Windsurf、Cline 或 Continue 等 MCP 客户端中配置。数据以 Markdown 形式存放在数据目录中,由环境变量 MINDBASE_DATA_DIR 指定(默认 ~/mindbase-data)。默认使用 Ollama 本地模型,云端模型密钥为可选项。
安装前请注意
助手会写入你的维基文件,不过 README 称更改需经人工批准,且原始资料为只追加。它会读取你提供的资料(包括 PDF 和网址),并把内容发送给所配置的模型;默认是本地模型,但若添加密钥则可能使用云端服务。项目自称处于早期访问、仍在积极开发中。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mindbase,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

MindBase — Karpathy's LLM Wiki, as a product

[npm] [npm downloads] [CI] [License: MIT] [Website] [Glama score]

An open-source implementation of Andrej Karpathy's LLM Wiki idea: an AI that builds and maintains a wiki from your sources. Not RAG-in-a-vector-DB. A real markdown wiki on your disk, that an LLM gardens for you between conversations.

bash
npx mindbase-app

One command: starts the local server, opens the web app, and walks you through picking a free local model that fits your RAM. No API key, nothing leaves your machine. (Node 20+)

[Demo: /contribute in the MindBase web UI — the AI shows takeaways and a checkbox plan, and writes to the LLM wiki only after approval]

MindBase implements Andrej Karpathy's LLM-Wiki pattern: you feed it sources (papers, articles, thoughts); the LLM reads, cross-references, flags contradictions, and writes structured wiki pages. Later, when you ask a question, the wiki already has the synthesized answer — no vector-search re-derivation at query time.

Status: Early access, actively developed. What's new: CHANGELOG · Releases


Why MindBase

You read a lot. Papers, articles, tweets, docs. You want to remember them, connect them, form opinions from them. Today you have two bad options:

  • Notion / Obsidian / Roam: Passive containers. You do all the organizing. AI features are bolted-on generation, not maintenance.
  • NotebookLM / Perplexity Pages / ChatGPT search: RAG-based. Nothing accumulates. Every question re-derives the answer from raw sources.

MindBase is the third option: the LLM actively maintains a persistent, structured wiki as you feed it sources. Knowledge compounds. Your context.md gets sharper every time you contribute. The AI remembers you across sessions because your beliefs are written down in markdown files — not stored in a chat history that gets summarized away.

Think of it as a personal Wikipedia that an AI intern writes for you, kept up to date, cross-referenced, and honest about what it doesn't know.

How it works (30 seconds)

Three physical layers on disk (Karpathy's model):

[MindBase: you feed sources, the LLM gardens them into a wiki that compounds — plain markdown on your disk]

LayerWho owns itWhat lives there
sources/You — append-only, the AI never rewrites itQuick captures, full notes, PDFs, URLs
context.md + sources/research/The AI — every change human-approvedThe maintained wiki: synthesis, concept pages, [[wikilinks]]
state/ · logs/ · artifacts/Derived — always rebuildableSearch index, snapshots, lint findings, op history

Three operations run the loop: ingest (AI reads a source, discusses takeaways, you approve the wiki updates), build (regenerate context.md from everything unbuilt), lint (the AI audits its own wiki for contradictions, stale claims, and orphans).

What makes it different

  • The AI asks before writing. Every ingest shows takeaways + a checkbox plan; only what you approve gets written. No black-box edits to your knowledge.
  • You can watch the wiki absorb your notes. Every note carries a status chip — ✨ Add to wiki until digested, ✓ In wiki after.
  • It audits its own knowledge. One command re-reads the whole wiki and reports contradictions with the exact conflicting sentences quoted. Notion and NotebookLM structurally cannot do this.
  • Free and local by default. Hardware-detect wizard installs the best Ollama model for your RAM. Cloud keys optional.
  • Plain markdown on disk. Grep it, git it, open it in Obsidian, leave anytime.

Install

Browser (fastest): npx mindbase-app — shown above. Everything runs locally at localhost:4321.

Claude Code (flagship): the full Karpathy 8-step ingest with sub-agents, slash commands, and per-agent tool boundaries:

/plugin marketplace add frankchu91/mindbase-llm-wiki/plugin install mb@mindbase

Restart when prompted, then type / — you should see /mb:contribute, /mb:build, /mb:ask, /mb:lint and 8 more. You get 5 sub-agents with strict tool allowlists (the builder has no file-write tool at all — only an atomic-write MCP call), plus a SessionStart hook that auto-injects your project context.

[The core flow in Claude Code: /mb:contribute with an arXiv link — download, archive, discuss takeaways, approve, commit]

Cursor

Add to ~/.cursor/mcp.json:

json
{ "mcpServers": { "mindbase": { "command": "npx", "args": ["-y", "mindbase-mcp"] } } }

Restart Cursor — the tool picker should list mindbase_contribute and 48 others. Recommended: add a conventions block to ~/.cursor/rules.md so the LLM reliably routes "add to mindbase X" to the tools — copy it from the guide.

Windsurf

Cascade settings → MCP → add:

json
{ "mcpServers": { "mindbase": { "command": "npx", "args": ["-y", "mindbase-mcp"] } } }

Same rules-file approach as Cursor works for Cascade.

Cline (VSCode)

Cline settings → MCP Servers:

json
{ "mcpServers": { "mindbase": { "command": "npx", "args": ["-y", "mindbase-mcp"] } } }

Cline auto-detects; every tool call gets a confirmation dialog by default.

Continue.dev

~/.continue/config.json, under experimental.modelContextProtocolServers:

json
{ "experimental": { "modelContextProtocolServers": [ { "transport": { "type": "stdio", "command": "npx", "args": ["-y", "mindbase-mcp"] } } ] } }

MCP tools appear under @ in chat.

Any other MCP client (Zed, Aider, Goose, Claude Agent SDK…)

Point it at npx -y mindbase-mcp as a stdio server. See your client's MCP docs for the config location.

Next: create your first project and learn the four daily workflows in the Guide →

The web UI

Since 0.3 the browser app stands on its own — write notes in a full WYSIWYG editor (Cmd+N), quick-capture from anywhere (Cmd+I), and run the AI operations with approval cards: /contribute, /build, /lint, /research. Live demos on the website.

[MindBase web UI — category tree on the left, the LLM-maintained context.md in the center, chat starters on the right]

Free local models: the setup wizard detects your hardware and installs what fits — llama3.2:3b (8GB), qwen3:14b (24GB+), or Meta's Muse Glimmer 30B (32GB+ Apple Silicon, Ollama ≥ 0.32.7). Measured guidance: qwen3:14b for interactive work (~30s), Glimmer for background lint/build — slower, but its findings quote the exact conflicting sentences. The model switcher on the chat composer flips between them in two clicks.

Feature matrix by editor
FeatureClaude CodeCursor / Windsurf / Cline / ContinueWeb UI
Slash commands (/mb:*)✅❌ (use natural language)✅ (/contribute, /build, /lint, /research)
MCP tools directly✅✅❌
Karpathy 8-step ingest with approval✅ (sub-agents)⚠️ Manual via prompt✅ (approval cards)
Contribute / ingest PDF & URL✅✅✅ (upload + ✨ Process)
Ask wiki with cited answers✅✅✅
Build / health check✅✅✅
Wiki tree browsing + rich editor❌❌✅
-p project-id routing✅⚠️ natural language✅ (switcher)

Where your data lives

Everything is plain markdown under ~/mindbase-data/ (override: MINDBASE_DATA_DIR):

~/mindbase-data/projects/my-research/├── README.md                 # Ops manual — you edit, LLM reads├── context.md                # Synthesized truth — LLM writes, you approve├── index.yaml                # Auto-generated catalog├── sources/│   ├── contributors/<you>/   # Your dated entries + notes (append-only)│   ├── research/             # LLM-authored wiki pages│   └── raw/                  # PDFs, HTML captures├── logs/                     # Chronological operation log├── artifacts/                # Briefs, exports, lint findings└── state/builder/snapshots/  # context.md snapshots for rollback

No proprietary database — what you see on disk is what MindBase knows. git init it, back it up with anything, delete a project with rm -rf.

Architecture at a glance

 Claude Code / Cursor / any MCP editor          Web UI (npx mindbase-app)        │  MCP · sub-agents with                       │  /commands ·        │  per-agent tool allowlists                   │  approval cards        └─────────────┬─────────────────────────┬──────┘                      ▼                         ▼        ┌──────────────────────────────────────────────┐        │  One ops engine: gather context → single     │        │  constrained JSON completion → human         │        │  approval → whitelisted executors → log      │        └─────────────────────┬────────────────────────┘                              ▼              ~/mindbase-data/ · plain markdown              (LLM: Ollama local models or any cloud key)

Monorepo: packages/core (TS strict library) · apps/mcp (49-tool MCP server) · apps/server + apps/web (Express + React UI) · apps/app (npx launcher) · apps/plugin (Claude Code bundle).

Docs & help

Roadmap

Next: browser extension for one-click page capture · audio input via Whisper · unified meta-tool for Cursor/Windsurf slash-like UX. Later: team projects with human-in-the-loop review · audio digests · desktop app · mobile capture.

Feedback

Beta through 2026-Q4. If you tried MindBase and gave up — please tell me why: issues or [email protected]. The blockers you hit are gold.

License

MIT — do what you want, no warranty. If you build something interesting on top, I'd love to hear about it.


Built with the belief that AI's most valuable gift is not "generation on demand" but "gardening of a persistent artifact you own."

来源:README.md,提交 7aa8fcd

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.3最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分