Self-maintaining knowledge vault: figure-level search, auto-wikilinks, and memory compression.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A self-maintaining personal knowledge base for AI agents β a plain-Markdown vault, powered by MCP.
π English Β· ηΉι«δΈζ
A local knowledge base your AI agent can read, write, and maintain on its own. Save a paper or note with one command β second-brain converts it to Markdown, OCRs every figure, embeds it for semantic search, and auto-links it to related notes. Notes you stop reading compress themselves over time, so recall stays cheap as the vault grows.
Everything is plain Markdown β sync via Google Drive / iCloud / git, switch agents anytime, zero lock-in.
save_article(url_or_pdf) fetches, converts to Markdown, OCRs figures (Claude Vision), embeds, and auto-links.search_figures("UMAP melanocyte") returns the exact panel across your whole library.get_context() reloads goals + top notes + rules at the start of every session.The vault directory and templates are created on first run. Then tell your agent init_vault to verify.
β οΈ PyPI currently lags the source tree. For the newest build β plus Claude Desktop, Windows, and multi-machine / central-server setups β see NEW_MACHINE_SETUP.md.
| Tool | What it does |
|---|---|
get_context | Session start β goals + top-ranked notes + auto-rules |
save_article | URL / PDF β Markdown + figures + embeddings |
search_notes / search_figures | Hybrid BM25 + semantic search (note text / figure content) |
audit_article_records | Bounded, read-only article housekeeping and social-source freshness report |
new_note / update_note / append_to_note | Create & edit notes (auto-filed, auto-indexed, auto-linked) |
vault_sleep | Compress old, low-activity notes |
get_agent_instructions | Serve the full filing SOP (AGENTS.md) to remote agents |
Full tool reference (40 tools) lives in AGENTS.md.
Use search_notes when you need content, health_check when the server or index may be
unhealthy, and audit_article_records when you need a housekeeping report. Audit results
never merge, archive, or delete notes automatically.
The vault is the source of truth; the index is rebuildable anytime (sync_index). Filing conventions live in one operating manual β AGENTS.md β served to any agent via get_agent_instructions(), so every agent files things the same way without being re-taught.
Inspired by biological memory: the Ebbinghaus forgetting curve (access_count / ln(age_days)) for ranking, and sleep-dependent consolidation (weekly LLM compression of low-access notes). Built with MarkItDown Β· DuckDB Β· pgvector Β· FastMCP Β· Playwright Β· Claude API.
MIT Β© 2026 Chan Chi Ru. See LICENSE.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/second-brain-mcp-2)<a href="https://allmcps.com/mcp/second-brain-mcp-2"><img src="https://allmcps.com/api/badge/second-brain-mcp-2?style=directory" alt="Second Brain MCP on AllMCPs" /></a>