Second Brain MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
A remote MCP server that gives every AI client the same Markdown notes: Claude Code on the Mac, Claude on the web and phone, ChatGPT. Search by keyword or by meaning; every change is a Git commit. Deploy your own on Cloudflare.
Deploy your own
Needs a Cloudflare account on the Workers Paid plan, Node 24 and git. No Homebrew or sudo (a second user on a Mac, say)? Install Node with nvm, fnm or the nodejs.org tarball in your home folder, and keep it on the PATH for npx wrangler login too.
A second deployment in the same Cloudflare account (--name with another name) gets its own D1, index, notes, queues, workflow and OAuth store; it shares nothing with the first.
git clone https://github.com/YudiG12/second-brain-mcp && cd second-brain-mcp
npm ci && npm run deploy-your-ownOr ask your AI coding agent:
Clone https://github.com/YudiG12/second-brain-mcp and deploy it for me, following its AGENTS.md.Every client, Claude Code on the Mac included, reads and writes only through the MCP tools (ADR 014). Optional, a read-only copy of the notes in a folder, to view them in Obsidian:
scripts/secrets.sh hook && npm run mirror -- ~/notesDon't edit that folder: each run resets it. Run it on a schedule (launchd or cron) to keep it fresh.
Related MCP server: obsidian_shared_memory
How to use
The installer prints your <PUBLIC_URL>. Claude Code:
claude mcp add -s user --transport http <worker-name> <PUBLIC_URL>/mcpClaude (web, desktop, phone) and ChatGPT: add a custom connector with <PUBLIC_URL>/mcp.
Keyword search sees a change in seconds. Search by meaning is eventually consistent: after a save, edit or move it can take a minute or two to find the new text (and to stop finding the old path).
Then ask:
What did I decide about the Acme proposal?
Save this idea: …
In the plan note, change the deadline to Friday.Architecture
Overview

1. Sign-in
2. Write a note
3. Index in the background
4. Read a note
5. Search
6. Reconciliation
7. A job that keeps failing
Links
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Markdown notes and whiteboards your AI agent can read and write.
Linked markdown notes as memory for AI apps: search, read, save and link notes over MCP.
One memory, every AI. A shared, user-owned markdown memory your AI clients read and write over MCP.
One memory for every AI you work with: your rules, notes and decisions in your own Git repo.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI clients to incrementally build and maintain a git-backed personal wiki, providing long-term memory by compiling and cross-referencing knowledge across sessions.2MIT
- AlicenseNot gradedqualityCmaintenanceEnables multiple AI agents to share a locally controlled long-term knowledge base of Markdown notes, allowing them to retrieve, add, update, and remove preferences, decisions, and experiences. It supports cross-agent recall and version-aware changes while keeping the notes readable and editable outside the agent.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search, read, create, patch, lint, and synchronize a shared Markdown+git knowledge base across multiple machines and sessions, with confidence metadata and protocol resources.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables people and AI assistants to share one persistent Markdown-in-Git memory, so any MCP client can load current context, save sessions and decisions, search notes, and work from a team's real knowledge across machines.AGPL 3.0