second-brain

mshtawythug/second-brain
★ 9 stars Python AI/LLM Updated today
Local-first personal knowledge base CLI — hybrid FTS + pgvector search, a GraphRAG entity graph, and LLM enrichment over your notes, transcripts, Slack & Gmail. Runs fully local on Ollama (no cloud, no API keys); queryable by any AI agent through the built-in MCP server. Postgres-backed, publishes an Obsidian-style Quartz wiki.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "second-brain": {
      "command": "uvx",
      "args": [
        "second-brain"
      ]
    }
  }
}

Or install with pip: pip install second-brain

README Excerpt

<!-- mcp-name: io.github.mshtawythug/second-brain --> Local, queryable knowledge base and note vault with hybrid search and an entity-graph layer — searchable by any AI coding agent or assistant from any conversation. Stores career docs, interview prep, Krisp transcripts, Slack threads, Gmail, and authored Markdown notes in Postgres + pgvector. Any agent reaches all of it through the `brain` CLI or the bundled `brain-mcp` MCP server — no re-pasting context into every chat.

Tools (2)

fullminimal

Topics

cliembeddingsgraphraghybrid-searchknowledge-baselocal-ailocal-firstmcpmcp-servernote-takingobsidianollamapersonal-knowledge-managementpgvectorpostgresql