A lightweight, low-maintenance personal knowledge base for AI agents built on Basic Memory over the Model Context Protocol (MCP) — plain Markdown with frontmatter, zero lock-in.
Built-in agent memories and uncurated Markdown folders tend to decay into stale, contradictory notes over time:
- One-off observations pile up alongside established rules, making agents repeat outdated claims as facts.
- Work and personal contexts leak when a single flat memory store mixes client-specific details with general engineering insights.
- Metadata drifts without schema enforcement, breaking search filters and knowledge-graph traversal.
personal-knowledge solves this while staying intentionally simple:
- Low-maintenance: Configure it once—AI agents capture, distill, and tidy insights as you work.
- Lightweight: Minimal moving parts (Basic Memory MCP + Python standard-library hooks, no heavy platform).
- Zero lock-in: Plain Markdown with frontmatter in clean folders—drop this project anytime and keep all your notes as-is.
- Context-isolated: Separates work/client details from reusable personal engineering knowledge while enforcing a closed vocabulary.
flowchart LR
Capture["1. Capture (log)<br/>knowledge-capture"] --> Distill["2. Distill (entity / concept / practice / decision)<br/>knowledge-distill"]
Distill --> Promote["3. Promote (instructions / skills / hooks)<br/>status: candidate → adopted"]
Promote --> Tidy["4. Tidy (audit & reflection)<br/>knowledge-tidy"]
Tidy -. "refreshes & verifies" .-> Distill
Nudge["capture_nudge.py<br/>(Stop hook)"] -. "prompts after N turns" .-> Capture
Guard["frontmatter_guard.py<br/>(Pre/PostToolUse hook)"] -. "enforces vocabulary.json" .-> Capture
Guard -. "enforces vocabulary.json" .-> Distill
See docs/concepts.md for how each stage works and how work/personal scopes stay separated.
The fastest way to try personal-knowledge locally (requires Python 3.11+, uv, and Claude Code):
-
Start the Basic Memory MCP server (default port
48000avoids colliding with dev servers on8000):uvx --prerelease=allow basic-memory mcp --transport streamable-http --host 127.0.0.1 --port 48000
-
Install the plugin in Claude Code directly from GitHub:
claude plugin marketplace add fuji44/personal-knowledge claude plugin install personal-knowledge@personal-knowledge --config basic_memory_mcp_url=http://localhost:48000/mcp
Then launch claude and ask: "List available Basic Memory projects."
- Setup Guide — Full step-by-step installation, alternative server runtimes, client setup, customization, and backups.
- Local Host + Cloudflare — Secure remote access for multiple devices or web clients.
- Concepts & References — Knowledge lifecycle and work/personal scope separation.
- Repository source code and documentation: Licensed under the MIT License.
- Published container images: Built on top of basicmachines-co/basic-memory and therefore distributed under AGPL-3.0-only.