second-brain MCP server
io.github.ddmanyes/mcp-second-brain·v0.1.0·6 starsSelf-maintaining knowledge vault: figure-level search, auto-wikilinks, and memory compression.
6 stars19 downloads/wk
Reviews
Write oneNobody has reviewed second-brain MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
second-brain MCP tools (19, 4 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
consolidate_toolFind and consolidate clusters of semantically similar notes.
extract_figures_forManually trigger figure extraction for a saved article.
extract_rules_toolExtract L3 declarative rules from high-access notes into memory/rules.md.
get_contextLoad session context: current goals + top-20 most recently active notes. Call this at the start of every session to orient yourself.
get_decisionsGet decision records from the vault.
index_statsShow vault index statistics: total notes, breakdown by type, DB location.
new_notewrite actionCreate a new note in the vault using the correct folder and template.
prune_archive_toolwrite actionDelete archived originals older than min_age_days that have a snapshot.
read_noteRead a specific note by its relative path within the vault.
read_note_as_imageRead a note as a PNG snapshot (direct image for VLM agents) or text fallback.
save_articleConvert a web article or PDF into a markdown note and save it to 30-resources/.
search_figuresSearch figures by OCR text or semantic description across all saved articles.
search_notesHybrid semantic + full-text search across all vault notes.
sleep_statusCheck current sleep triggers and list candidates without compressing.
snapshot_note_toolRender a markdown note to PNG snapshot for token-efficient storage.
sync_indexRebuild the DuckDB index by scanning all vault markdown files. Run this after adding notes manually, or when setting up on a new machine.
update_goalswrite actionReplace the contents of memory/goals.md with new content.
update_links_toolwrite actionRefresh auto-generated related wikilinks in one note or all notes.
vault_sleepCompress old low-activity notes to slim down the vault.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan10 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 15 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How second-brain MCP compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 90% of 3,470 Web search servers
- Tools
- 19
- the typical Web search server has 5
- Tools that change things
- 21%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 6
- more than 81% of 1,786 Web search servers
- Downloads a week
- 19
- more than 6% of 827 Web search servers with a package
What its tools let an agent do: 13 read · 2 create · 4 change
Install second-brain MCP in Claude Code, Cursor or VS Code
claude mcp add mcp-second-brain -- uvx mcp-second-brain
What the publisher says
From the second-brain MCP repository's README, as published. We do not edit it. Read it on GitHub
<!-- mcp-name: io.github.ddmanyes/mcp-second-brain -->
second-brain MCP Server
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.
Highlights
- One command saves anything — savearticle(urlor_pdf) fetches, converts to Markdown, OCRs figures (Claude Vision), embeds, and auto-links.
- Figure-level search — search_figures("UMAP melanocyte") returns the exact panel across your whole library.
- Self-organizing — new notes auto-link to related ones; frequently-read notes extract reusable rules.
- Memory that forgets like a brain — Ebbinghaus ranking; stale notes auto-compress (60–90% fewer tokens).
- Read-only housekeeping audit — inspect article metadata, links, exact duplicate candidates, inbox age, and source freshness without changing the vault.
- Session continuity — get_context() reloads goals + top notes + rules at the start of every session.
- Pluggable backend — DuckDB (default, offline) or Postgres + pgvector (central, multi-machine). Self-hosted embeddings optional; BM25 fallback when offline.
Quick Start (Claude Code)
pip install mcp-second-brain
playwright install chromium
claude mcp add --scope user second-brain \
--env SECOND_BRAIN_PATH=~/second-brain \
-- python -m mcp_second_brainThe 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 NEWMACHINESETUP.md.
Core Tools
Full tool reference (46 tools) lives in AGENTS.md.
Use searchnotes when you need content, healthcheck when the server or index may be unhealthy, and auditarticlerecords when you need a housekeeping report. Audit results never merge, archive, or delete notes automatically.
How It Works
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
second-brain MCP: common questions
- Is second-brain MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the second-brain MCP safety report
- How do I install second-brain MCP?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does second-brain MCP need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is second-brain MCP maintained?
- The last commit was 53 days ago (2026-09-12). The latest release is v0.1.0.
- What can I use instead of second-brain MCP?
- Servers from other publishers that do the same job: DocsMint MCP server, Shodh Memory MCP server and Reverie MCP server. Compare all second-brain MCP alternatives.
- How does second-brain MCP compare with other Web search MCP servers?
- safety score 92/100 (higher than 90% of 3,470 Web search servers); tools 19 (the typical Web search server has 5); tools that change things 21% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to second-brain MCP
Same job from other publishers: the closest match first, then the best rated.
DocsMintCloud or self-hosted knowledge for AI agents: hybrid search, reranking, GraphRAG, scoped MCP tools.not reviewedEstablishedA
Shodh MemoryCognitive memory for AI agents — semantic search, Hebbian learning, knowledge graphs.not reviewedEstablishedC- ReverieGraph memory that dreams: Neo4j knowledge-graph memory for AI agents with hybrid searchnot reviewedEstablishedB
- OctobrainPersistent memory for AI assistants with semantic search and knowledge graph relationships.not reviewedGrowingA
- obseiSelf-hosted customer feedback with PII stripped at ingest: search, stats and themes with citations.not reviewedEstablishedA