What is this?
This is a CLI and MCP server that gives programmatic access to Google's Gemini Notebook (formerly NotebookLM), letting you create and query notebooks, add sources, and generate Studio content like podcasts and videos from the terminal or through AI agents such as Claude.
Is this a command-line tool, an MCP server, or both?
It's both: the 'nlm' command works as a standalone CLI, and the same package also runs 'notebooklm-mcp', an MCP server that AI assistants like Claude, Cursor, or Gemini CLI can connect to.
How do I install and set it up?
Install the unified package from PyPI with uv, uvx, pip, or pipx, then authenticate so the CLI can extract Google session cookies from a browser profile; Claude Desktop users can instead just download the .mcpb extension and double-click it for one-click install.
Do I need a special API key or login flow?
No separate API key is needed: you log in with your existing Google account and the tool extracts session cookies from a real browser (Chrome, Arc, Brave, Edge, Firefox, etc.) to authenticate.
Is this safe to rely on long-term?
It depends on Gemini Notebook's internal, undocumented APIs that can change without notice, so things can break unexpectedly, and Enterprise account support is still experimental.
Which AI tools can actually use the MCP server?
The automatic setup command can configure Claude Desktop, Claude Code, Cursor, and Gemini CLI, and AI Skills can additionally be installed for Cline, Antigravity, OpenClaw, Codex, and OpenCode.
What can I actually create inside a notebook?
Beyond chatting with your sources, you can generate Studio content like audio podcasts, videos, infographics, and slide decks, then download the resulting artifacts with a single command.
Why does the MCP server warn about context window usage?
It exposes 43 MCP tools at once, which can consume a lot of context, so the README recommends disabling the server when not actively using Gemini Notebook or exposing only a subset of tools.
Is there a way to run bigger workflows instead of single commands?
Yes, the tool supports batch operations, cross-notebook queries, and multi-step pipelines (nlm pipeline run/list) for chaining actions across one or many notebooks.
What are similar projects?
bb-browser, mobile-mcp, Agentlas-OS, qiaomu-anything-to-notebooklm, google_workspace_mcp, overmind, notebooklm-py, oc
Which topics is it in?
notebooklm, podcast, knowledge-management, note-taking, google, browser-automation, authentication, cli-tool, model-context-protocol, cursor, skills, gemini