About 2ndbrain
2ndbrain is an MCP server in the RAG category: local Windows-native MCP server giving Claude Code verbatim cross-session recall - SQLite FTS5 over session transcripts, memory files and documents. Zero external LLM calls, credential redaction at ingest.
Install
git clone https://github.com/apresai/2ndbrainThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (22)
kb_appendAppend text to a document body, then reindex + re-embed (rejects read-only `.canvas`/`.base`)
Parameters not published.
kb_askRAG Q&A — answer questions with source citations
Parameters not published.
kb_backlinksResolved inbound links to a document
Parameters not published.
kb_createCreate document from template; optional `path` files it under a vault-relative subdirectory
Parameters not published.
kb_deleteDelete document from vault and index
Parameters not published.
kb_git_activityRecent git commits that touched vault files (read-only)
Parameters not published.
kb_git_diffUnified diff of a file against HEAD
Parameters not published.
kb_git_statusUncommitted/untracked files in the vault
Parameters not published.
kb_indexRebuild search index and generate embeddings
Parameters not published.
kb_infoVault overview — doc types, schemas, counts, AI status
Parameters not published.
Show all 22 tools
kb_linksOutbound links from a document, including unresolved/broken ones
Parameters not published.
kb_listList documents with metadata filters
Parameters not published.
kb_polishAI copy-editor returns original + polished body for diff review; `links:true` also adds grounded wikilinks to existing notes (never invents a target)
Parameters not published.
kb_readRead full document or specific heading chunk
Parameters not published.
kb_relatedGraph traversal to find connected documents
Parameters not published.
kb_replace_sectionReplace one heading's section content, then reindex + re-embed (rejects read-only `.canvas`/`.base`)
Parameters not published.
kb_searchHybrid BM25 + semantic search with filters
Parameters not published.
kb_structureGet document heading tree as JSON (also covers the outline view)
Parameters not published.
kb_suggest_linksSuggest semantically related documents to wikilink from a source doc
Parameters not published.
kb_tagsVault-wide tag list with per-tag document counts
Parameters not published.
kb_tasksGFM checkbox tasks across the vault or a file/dir, with `done`/`todo` filters
Parameters not published.
kb_update_metaUpdate frontmatter with schema validation
Parameters not published.
Ask AI
Ask AI about 2ndbrain
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.