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 分