
Second Brain MCP Server
Linked markdown notes as memory for AI apps: search, read, save and link notes over MCP.
Second Brain scores 65 (Good), licensed AGPL-3.0 and written in TypeScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under AI and memory. GitHub shows 4 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
65 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: agpl-3.0.
License, quality and maintenance
License: Grade C
AGPL-3.0 is a strong copyleft license: derived works must use the same license.
How license is gradedQuality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 65 comes from
22 + 20 + 2 + 10 + 4 + 7 = 65. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "bhushan-getsecondbrain-io": { "url": "https://mcp.getsecondbrain.io/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Second Brain
One memory for every AI app you use.
Website · Open the app · Security · License: AGPL-3.0

Linked markdown notes that every AI app can read and write. Connect Claude, ChatGPT, Cursor, Codex,
Gemini CLI or any MCP client to one remote MCP address, https://mcp.getsecondbrain.io/mcp, save
something in one app, and find it from another. Notes live in a workspace you can see as a network
and edit in the browser.
This repository is the full source of the hosted service at getsecondbrain.io.
What it does
- One memory for every AI app. A remote MCP server with OAuth. You pick a workspace and read or read-and-write access when you connect an app, and you can disconnect it at any time.
- Linked notes. Obsidian-style
[[wikilinks]], tags and frontmatter, with backlinks, renames that rewrite links, revisions, a trash and full-text search. - Network view. Every note and link drawn as a live graph in the browser.
- Skills. Notes under
Skills/in the SKILL.md shape become reusable instructions your apps can list and load (list_skills,use_skill, and MCP prompts). - Sources. Granola meeting notes sync in hourly.
- Safe by default for AI writes. Every write is attributed to the app and versioned. Apps can move a note to the trash but never delete it for good; only you can, in the web app.
MCP tools: search, get_note, list_recent, get_linked, list_tags, save_note,
update_note, append_to_note, link_notes, trash_note, list_skills, use_skill.
How it is built
One Cloudflare Worker serves four things by hostname: the landing site, the web app and its JSON API, the OAuth server, and the MCP endpoint.
| Part | Where |
|---|---|
| Router, security headers | src/worker/index.ts |
| Google sign-in, OAuth server, consent page | src/worker/auth/ |
| MCP server and tools | src/worker/mcp/ |
| Workspace store: one SQLite Durable Object per workspace (notes, revisions, links, tags, FTS5, audit) | src/worker/workspace/ |
| Accounts and memberships (D1) | src/worker/control/, migrations/ |
| Sources (Granola sync) | src/worker/sources/ |
| Landing site | src/worker/site/ |
| Web app (React, sigma.js, CodeMirror 6) | src/web/ |
A workspace id only ever comes from a verified session or OAuth token, never from a request parameter, and every route and tool has a test that one workspace cannot reach another.
Run it locally
Requires Node 24 and pnpm.
pnpm install
pnpm test # all tests, in the Workers runtime
pnpm dev # builds the web app and starts the Worker on port 8787
Locally the app is at http://localhost:8787, the MCP endpoint at http://127.0.0.1:8787/mcp and
the landing site at http://www.localhost:8787.
Sign-in needs a Google OAuth web client with the redirect URI
http://localhost:8787/auth/google/callback. Put the local secrets in .dev.vars (never commit it):
GOOGLE_CLIENT_ID=...
GOOGLE_CLIENT_SECRET=...
ALLOWED_EMAILS=you@example.com
SOURCES_KEY=... # openssl rand -base64 32; only needed for Granola
SIGNUP in wrangler.jsonc controls who can join: "open" lets any verified Google account in;
any other value allows only ALLOWED_EMAILS.
Deploy your own
- Create a D1 database and a KV namespace, then put their ids, your
account_id, your hostnames and your origins in theproductionsection ofwrangler.jsonc. - Set the secrets:
wrangler secret put GOOGLE_CLIENT_ID --env production, and the same forGOOGLE_CLIENT_SECRET,ALLOWED_EMAILSandSOURCES_KEY. - Run
pnpm check(types, tests, build, deploy dry run), thenpnpm deploy:production, which builds the web app, applies D1 migrations and deploys.
Fair-use limits per workspace (notes, storage, saves a day) are in
src/worker/workspace/limits.ts.
Contributing
Issues and pull requests are welcome. See CONTRIBUTING.md and the Code of Conduct.
Security
Please report vulnerabilities privately; see SECURITY.md.
License
GNU Affero General Public License v3.0. If you run a modified version as a service, you must offer its source to your users.
Frequently asked questions
What is Second Brain MCP Server?
Linked markdown notes as memory for AI apps: search, read, save and link notes over MCP.
How do I install Second Brain MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Second Brain MCP Server connects to the remote endpoint https://mcp.getsecondbrain.io/mcp, so there is nothing to install locally.
Is Second Brain MCP Server free and open source?
Yes. Second Brain MCP Server is released under the AGPL-3.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Second Brain MCP Server support remote (HTTP) connections?
Yes. Second Brain MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is Second Brain MCP Server's trust score calculated?
Second Brain MCP Server scores 65 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
