notebooklm-mcp
Installation
SKILL.md
NotebookLM (Gemini Notebook) — CLI + MCP
Google NotebookLM has no official API. The notebooklm-mcp-cli package (nlm CLI + notebooklm-mcp server) is a third-party, unofficial client that authenticates by extracting browser cookies from a logged-in Google session and caching them. This skill covers the two headless-friendly auth methods and the MCP server wiring.
Security note: a
cookies.txtfile or the cachedauth.jsonis equivalent to a Google session. The agent must never extract, read, or forward cookie values without the user's explicit consent.
| Path | Binary | Transport | When to use |
|---|---|---|---|
| A. CLI | nlm |
shell | Any agent with shell access. Full notebook/source/note/chat/studio management. |
| B. MCP | notebooklm-mcp |
stdio (or http/sse) | MCP-native agents (Claude Code, Cursor, Devin, Gemini CLI). Exposes ~30 tools (notebook_create, source_add, chat, audio, report…). |
Both paths share the same cookie cache at ~/.notebooklm-mcp-cli/profiles/<profile>/auth.json.