BrainBridge
Provides integration with Google NotebookLM, enabling AI agents to query notebooks, save dated memory sources, search and read memories, and manage session authentication via the BrainBridge MCP server.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@BrainBridgeSave this thought to my personal brain: shipped v2 today."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
BrainBridge — permanent memory for AI agents (via Google NotebookLM)
Give any AI agent a brain that remembers. BrainBridge is an MCP server that connects Claude Code / Cursor / Codex / any MCP client to your NotebookLM notebooks ("brains") — ask with citations, save memories as dated sources, read everything back. Zero context loss.
Auth is a one-time Google popup (
brain_login) — no cookies, no copy-paste. Lazy auth: ANY memory tool auto-opens the popup when the session is missing. Fallback chain: popup (system Chrome → bundled Chromium) → silent browser cookies → clear instructions. A keepalive loop keeps the session alive for weeks. Your memory stays in your own Google account (cloud); this server runs locally / self-hosted.
Tools (11)
Tool | What it does |
| Session health check (go/no-go) |
| List all your brains (notebooks) with IDs |
| Query a brain — answers cite your sources |
| Persist anything as a dated Markdown memory source |
| Search your memory archive |
| Read a full entry |
| Session-start digest — "what you already know" |
| 🔐 Opens the Google sign-in popup (session auto-saves) |
| Silent auth from your installed Chrome/Firefox/Brave |
| Clear local session (never signs you out of Google) |
| Rotate the token now + report status |
Related MCP server: NotebookLM MCP Server
🔁 Connection continuity — authenticate once, stay connected
Persistence: session stored in
~/.notebooklm/profiles/default/storage_state.json(Playwright state) — every call reuses it, no re-login.Keepalive loop (official cadence = 15 min):
nohup ./keepalive.sh >/tmp/nblm-keepalive.log 2>&1 & # rotates __Secure-1PSIDTS ./keepalive.sh check # one-shot refresh + statusDesktop: cron/launchd/systemd
*/15 * * * * /path/to/brainbridge/keepalive.sh check.Tool-level:
brain_keepalivefor refresh + status on demand. The bundled notebooklm MCP server also runs akeepalive=600sclient task.
🚀 Quick start
./setup.sh # pip deps + Playwright Chromium (for the login popup)
./run.sh # start the MCP server (stdio)
# or: python3 -m brainbridgeConnect to Claude Desktop / Cursor:
{
"mcpServers": {
"brainbridge": { "command": "python3", "args": ["-m", "brainbridge"], "cwd": "/absolute/path/to/brainbridge-mcp" }
}
}First time: call brain_login → Google popup → approve → everything just works.
If you changed browsers later: notebooklm auth import-cookies <export>.json is still supported.
🧠 Brains (BRAIN_REGISTRY in brainbridge/server.py)
Map brain keys to your notebook IDs. Default entries (example — replace with yours):
BRAIN_REGISTRY = {
"personal": {"id": "41538b98-f0ed-4110-baff-a348d8976563", "alias": "abdelkhalik", ...},
"project": {"id": "d3d08d6b-6185-44f8-997e-0c476c478e49", "alias": "artisanpro", ...},
}🔒 Security & hosting
BrainBridge is local/self-hosted by design — do NOT deploy it publicly; it holds the session to your Google account.
.gitignoreexcludesstorage_state.json*,cookies*.json,.env.Logout only clears the local profile — never your Google session.
📦 License
MIT — see LICENSE.
Part of the BrainForge suite · built by @DeadEnde · 2026
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables direct integration with Google NotebookLM from MCP clients, allowing agents to query notebooks, manage libraries, and get grounded research answers without manual copy-pasting. Uses browser automation to maintain persistent authentication and provides RAG-style research capabilities within code editors.4,6243,266MIT
- FlicenseAqualityDmaintenanceEnables AI agents to query and interact with Google NotebookLM notebooks to retrieve citation-backed information. It provides tools for listing notebooks, accessing source data, and asking natural language questions.11
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Google NotebookLM through browser automation, supporting notebook management, source addition, question answering, and audio overview generation.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to query personal Google NotebookLM notebooks using a persistent browser session for instant queries without an official API.1MIT
Related MCP Connectors
Cross-session, cross-device memory for your agent: remember and recall notes. No key to start.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Persistent docs and memory for AI agents — read, write, organize & search a shared workspace.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/DeadEnde/BrainBridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server