Purpose
notebooklm-mcp is used to automate Google NotebookLM at scale, turning it into a service that can be invoked programmatically. It provides two access methods at the same time: a 33-endpoint HTTP REST API for n8n / Zapier / Make / curl, and an MCP server for MCP clients such as Claude Code / Cursor / Codex. The core value lies in treating NotebookLM as a source-backed engine: Gemini reads your sources and answers based on them, with citations, while your own tech stack handles orchestration and the last mile.
Main Capabilities
Q&A and citations: ask NotebookLM questions and get accurate, cited answers. Citation extraction supports 5 formats: none, inline, footnotes, json, expanded (reportedly a 97% excerpt success rate). Supports session management for multi-turn conversations, with automatic re-authentication when sessions expire.
Content generation: can generate multiple content types from notebook sources. Video visual styles include classroom, documentary, animated, corporate, cinematic, minimalist. The generated content language can be passed to any generator via a language parameter—a BCP-47 code (such as es, ja, pt_BR, zh_Hans) or an English/local language name (such as "Spanish", "Español"), reportedly accepting 81 languages, and unrecognized languages are rejected rather than silently substituted. The default can be set with NOTEBOOKLM_CONTENT_LANGUAGE, which is independent of NOTEBOOKLM_UI_LOCALE (the latter only determines the interface language read by the browser fallback). Flashcards and quizzes are generated via generate_study_aid, and mind maps via generate_mind_map. v3 also adds share_notebook, manage_labels, and research_sources (web/Drive source discovery).
Content download: audio (WAV) and video (MP4) can be downloaded, infographics are PNG image files; text-based content (reports, presentations, data tables) is returned in the API response. The content_delete endpoint allows deleting generated content.
Source management: can add files (PDF, TXT, DOCX), URLs, text, YouTube videos, and Google Drive sources; use source_list to list each source's ID and title; source_read can read the full indexed text of a source (that is, the content NotebookLM actually reasons over, whereas the web version only shows excerpts), supports pagination, returns long sources page by page, and can also read the entire document at once with paginate: false. Names can be used instead of IDs, and ambiguity is rejected rather than guessed.
Notebook library: supports multi-notebook management, with validation and smart selection; automatically generates metadata; searches notebooks by keywords in name, description, or topic; scrapes and lists the IDs and names of all notebooks; batch deletes multiple notebooks.
Accounts and localization: supports personal accounts and Google Workspace accounts, and recognizes NotebookLM's two hosts (notebooklm.google.com and the Workspace alias notebook.google.com). Interface language awareness supports English, French, German, and Japanese (en · fr · de · ja), and languages can be added via a single JSON file. Multi-account rotation with automatic re-authentication.
Usage
The project provides multiple installation/access options:
- Option 0, Claude Code marketplace (one-line command, recommended for Claude Code users): distributed via the roomi-fields/claude-plugins marketplace. This command registers the MCP server and automatically runs npx -y @roomi-fields/notebooklm-mcp@<pinned-version> (requires Node ≥ 18). After a new version is released, it can be upgraded with two commands: /plugin marketplace update roomi-fields and then /reload-plugins. Then run npx -y -p @roomi-fields/notebooklm-mcp notebooklm-mcp-setup-auth once in the terminal to log in to Google (this opens a visible Chrome).
- Option 1, HTTP REST API: Works with n8n, Zapier, Make, curl, and any HTTP client, with a total of 33 documented endpoints.
- Option 2, MCP mode: Works with Claude Code, Cursor, Codex. Login must be done in the terminal, not through the assistant; run the interactive Google login command, which opens a visible Chrome window, and after login the saved session is reused by the MCP server. The documentation specifically warns: do not let the assistant perform "login," because some stdio MCP clients (such as Claude Desktop) limit tool call duration and may cut it off before the interactive login, which can take up to 10 minutes, is complete.
- Option 3, Docker: Works with NAS, servers, or headless environments; see the Docker guide (Synology, QNAP deployment).
Integration options also include: Agent Skill (comes with the notebooklm skill, and can also be used independently as roomi-fields/notebooklm-skill), and the RTFM retrieval layer—/batch-to-vault writes cited answers as markdown + JSON sidecar (nblm-answer-v1 schema), which can be indexed by RTFM (FTS5 + semantic) to support unlimited offline queries.
Use cases
- No-code automation pipelines: Turn NotebookLM into one step in n8n, Zapier, Make, or curl in cron via the REST API, without an agent runtime.
- Large-scale research: Multi-account rotation and automatic re-authentication, designed for overnight runs (reportedly 1,000+ questions) across multiple notebooks.
- Token-saving synthesis layer: Put 30 documents into a notebook, let Gemini do the heavy analysis, and use the agent context only for final polishing.
- Offline-retrievable answer cache: vault_batch writes each answer as structured JSON according to a public schema, forming a corpus that can be grepped, diffed, and reindexed.
- Reliable answers with traces: Answers come with source names and quoted excerpts, which can be verified rather than merely attributed.
- Literature review: Batch 100+ research questions, rotate accounts when quota is exhausted, and resume from where it left off.
- Document ingestion pipelines: Watch a folder or inbox,push new PDFs and URLs as sources, and ask a fixed set of questions for each addition.
Limitations and caveats
This is an unofficial project and is not affiliated with Google. It calls the same batch of batchexecute endpoints used by the NotebookLM web app, and provides a browser fallback; these endpoints are not publicly documented and may change without warning (the project says it publishes fixes for every change). It is recommended to use a dedicated Google account for automation, and to pay attention to NotebookLM's own quotas at high usage. As of July 2026, Google has rebranded NotebookLM as Gemini Notebook; it is the same product, the original links redirect, and this project drives the same underlying service. The "not yet implemented" items explicitly listed in the documentation are incomplete in the provided material (only a "Discover s" fragment is present), so complete information for that section is not available for now.