Econd-Brain-MCP Second-brain-mcp is a self-maintaining personal knowledge database that uses MCP, DuckDB, and biological memory models to automatically link, compress, and index saved papers, notes, and figures. The tool fetches full-text articles, OCRs figures with Claude Vision, and applies an Ebbinghaus forgetting curve to compress stale notes by 60–90 percent while keeping all content searchable by semantic query or figure content. A self-maintaining personal knowledge database β€” powered by MCP, DuckDB, and biological memory models. For anyone who saves more papers, notes, and figures than they could ever re-read.second-brain turns everything you capture into a database thatmaintains itselfβ€” auto-linking related notes, compressing what you stop reading, and keeping every figure searchable by its content. What you saved a year ago is still one query away, at a fraction of the token cost. | Problem | Solution | |---|---| | πŸ“„ You save dozens of papers but can never find the right figure | search figures "UMAP melanocyte" β€” returns the exact panel, across every paper you've saved | | πŸ“‘ arXiv gives you the abstract; you need the full paper | Auto-upgrades /abs/ β†’ /html/ β€” fetches the complete paper with all sections, not just the abstract | | πŸ—‚ Notes pile up; older ones never get cleaned up | Vault Sleep: low-access notes compress automatically every Sunday while you sleep 60–90% token reduction | | πŸ”— New notes stay isolated; you forget what's connected | Auto-wikilinks: every saved note is automatically linked to semantically related notes already in your vault | | πŸ”Ž Semantic search needs a cloud API or Docker stack | Self-hosted nomic-embed-text via llama-server; BM25 fallback when offline | | πŸ”’ Every AI memory tool locks you into their format | Pure Markdown vault β€” sync with Google Drive, iCloud, or git; switch agents anytime | | πŸ–Ό Figure context is lost when you read a paper | Every figure is downloaded, OCR'd by Claude Vision, and stored in DuckDB β€” searchable by gene name, p-value, axis label | save article "https://arxiv.org/abs/2405.01234" ↓ β€’ /abs/ auto-upgraded to /html/ β€” full paper, not just abstract β€’ Full text converted to Markdown β€’ All figures downloaded + OCR'd by Claude Vision β€’ Semantic embeddings computed β€’ Auto-linked to related notes already in your vault ← auto-wikilinks β€’ Stored in 30-resources/ β€” queryable immediately search figures "UMAP cluster batch correction" ↓ β€’ Returns the exact figure from the exact paper β€’ Works across your entire saved literature library flowchart LR subgraph input "πŸ“₯ Any Content Source" A1 "arXiv / PubMed paper" A2 "Web article / blog" A3 "Local PDF / DOCX" A4 "Personal note" end subgraph core "βš™οΈ second-brain-mcp" B1 "Markdown note