About Notebooklm MCP
Notebooklm MCP is an MCP server published by roomi-fields in the Developer Tools category: google NotebookLM over MCP + a local HTTP REST API. Citation-backed Q&A, audio/video/content generation, multi-account rotation. For Claude Code, Codex, Cursor, n8n, Zapier, Make. Conduid read 56 tools from its source: add_notebook, add_source, ask_question, batch_to_vault, cancel_answer, cancel_research and 50 more. It is published to npm as @roomi-fields/notebooklm-mcp and starts with npx.
The repository has 253 stars and 64 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v4.12.0 (28 Nov 2026): One command registers the server with your MCP clients npx -y @roomi-fields/notebooklm-mcp setup Until now, using the server meant editing each MCP client's config by ha… It follows v4.11.2 (20 Nov 2026), and the 5 most recent releases go back to v4.10.0 (13 Nov 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include n8n, notebooklm, devtools and automation.
Install
claude mcp add notebooklm-mcp-roomifie -- npx -y @roomi-fields/notebooklm-mcpnpx -y @roomi-fields/notebooklm-mcpgit clone https://github.com/roomi-fields/notebooklm-mcpTools (56)
add_notebook📝 MANUAL ENTRY — Add notebook with manually specified metadata (use auto_discover_notebook instead) ## When to Use - Auto-discovery failed or unavailable - User has specific metadata requirements - User prefers manual control ## Conversation Workflow (Mandatory) When the user says: "I have a NotebookLM with X" **FIRST:** Try auto_discover_notebook for faster setup **ONLY IF** user refuses auto-discovery or it fails: 1) Ask URL: "What is the NotebookLM URL?" 2) Ask content: "What knowledge is inside?" (1–2 sentences) 3) Ask topics: "Which topics does it cover?" (3–5) 4) Ask use cases: "When should we consult it?" 5) Propose metadata and confirm: - Name: [suggested] - Description: [from user] - Topics: [list] - Use cases: [list] "Add it to your library now?" 6) Only after explicit "Yes" → call this tool ## Rules - Do not add without user permission - Prefer auto_discover_notebook when possible - Do not guess metadata — ask concisely - Confirm summary before calling the tool ## Example User: "I have a notebook with n8n docs" You: "Want me to auto-generate the metadata?" (offer auto_discover_notebook first) User: "No, I'll specify it myself" You: Ask URL → content → topics → use cases; propose summary User: "Yes" You: Call add_notebook ## How to Get a NotebookLM Share Link Visit https://notebooklm.google/ → Login (free: 100 notebooks, 50 sources each, 500k words, 50 daily queries) 1) Click "+ New" (top right) → Upload sources (docs, knowledge) 2) Click "Share" (top right) → Select "Anyone with the link" 3) Click "Copy link" (bottom left) → Give this link to Claude (Upgraded: Google AI Pro/Ultra gives 5x higher limits)| Parameter | Type | Description |
|---|---|---|
| content_types | array | Types of content (e.g., ['documentation', 'examples', 'best practices']) |
| description * | string | What knowledge/content is in this notebook |
| name * | string | Display name for the notebook (e.g., 'n8n Documentation') |
| tags | array | Optional tags for organization |
| topics * | array | Topics covered in this notebook |
| url * | string | The NotebookLM notebook URL |
| use_cases | array | When should Claude use this notebook (e.g., ['Implementing n8n workflows']) |
add_sourceAdd a source (document, URL, text, YouTube video) to the current NotebookLM notebook.
Supported source types:
- file: Upload a local file (PDF, DOCX, TXT, etc.). Audio (MP3, M4A…) is transcribed and images (JPG, PNG…) are read, so a voice memo or a photo of a whiteboard becomes a queryable source.
- url: Add a web page URL
- text: Paste text content directly
- youtube: Add a YouTube video URL
- google_drive: Add a Google Drive document link
The source will be processed and indexed for use in conversations.| Parameter | Type | Description |
|---|---|---|
| file_path | string | Local file path (required for source_type="file") |
| notebook_url | string | Notebook URL. If not provided, uses the active notebook. |
| session_id | string | Session ID to reuse an existing session |
| source_type * | string | Type of source to add |
| text | string | Text content (required for source_type="text") |
| title | string | Optional title/name for the source |
| url | string | URL (required for source_type="url", "youtube", "google_drive") |
ask_question| Parameter | Type | Description |
|---|---|---|
| browser_options | object | Optional browser behavior settings. Claude can control everything: visibility, typing speed, stealth mode, timeouts. Useful for debugging or fine-tuning. |
| notebook_id | string | Optional notebook ID from your library. If omitted, uses the active notebook. Use list_notebooks to see available notebooks. |
| notebook_url | string | Optional notebook URL (overrides notebook_id). Use this for ad-hoc queries to notebooks not in your library. |
| question * | string | The question to ask NotebookLM |
| session_id | string | Optional session ID for contextual conversations. If omitted, a new session is created. |
| show_browser | boolean | Show browser window for debugging (simple version). For advanced control (typing speed, stealth, etc.), use browser_options instead. |
| source_format | string | Format for source citation extraction (default: none). Options: - none: No source extraction (fastest) - inline: Insert source text inline: "text [1: source excerpt]" - footnotes: Append sources at the end as footnotes - json: Return sources as separate object in response - expanded: Replace [1] with full quoted source text Note: Source extraction adds ~1-2 seconds but does NOT consume additional NotebookLM quota. |
batch_to_vaultRun a list of questions against a notebook and persist each answer to disk as two artifacts: `{slug}.md` (markdown with YAML frontmatter, answer body and cited source excerpts) and `{slug}.json` (structured payload conforming to the nblm-answer-v1 schema). Designed for one-shot ingestion of a notebook into a searchable markdown vault (e.g. for indexing with RTFM) — every answer keeps titles + highlighted excerpts, so repeat queries no longer need to round-trip through NotebookLM.
Reuses the same browser/session as ask_question — no HTTP server required. Pass `sleep_between_ms` (1500–3000ms) for batches above ~20 questions to avoid hammering NotebookLM.
Returns per-question file paths, success flags, citation counts and the resolved session id. See the RTFM integration guide for the recommended workflow.| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Optional library notebook id to query. Falls back to the active notebook. |
| notebook_url | string | Optional NotebookLM URL (overrides notebook_id). Use for ad-hoc notebooks. |
| questions * | array | Non-empty array of question strings to ask sequentially. |
| session_id | string | Optional session id to reuse for context continuity across the batch. |
| sleep_between_ms | number | Pause between questions in ms. 1500–3000 is sane for batches above ~20. |
| slug_prefix | string | Optional filename prefix (e.g. "sota", "market-2026q2"). Default: "". |
| source_format | string | Citation extraction mode. "json" (default) preserves titles + excerpts in the sidecar. |
| vault_dir * | string | Destination directory (absolute or relative). Created with mkdir -p if missing. Set NOTEBOOKLM_VAULT_ROOT in the server env to confine writes under a single root (recommended for shared/remote setups); without it, any writable path is accepted (legacy behaviour). |
cancel_answerStop a notebook’s in-flight answer — the UI’s “Stop” on a streaming reply. RPC-backed. Fire-and-forget: the server does not confirm, so `cancelled: true` means the stop was sent, not that a turn was running. Defaults to the most recent conversation.| Parameter | Type | Description |
|---|---|---|
| conversation_id | string | A specific conversation. Defaults to the most recent one. |
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL. |
cancel_researchCancel an in-flight Fast Research run for a notebook. RPC-backed. Fire-and-forget: the server does not validate the run id, so `cancelled: true` means the cancel was sent; confirm with research_sources. `run_id` defaults to the notebook’s current research task.| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL. |
| run_id | string | The research task id (as research_sources returns). Defaults to the current task. |
check_source_freshnessSay whether URL / Drive sources have drifted from what they point at. Name no source to check the whole notebook. RPC-backed (no browser). `stale: null` means the server did not say — not that the source is current.| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL. |
| source_id | string | Check only this source. |
| source_name | string | Part of a source title (alternative to source_id). |
cleanup_dataULTRATHINK Deep Cleanup - Scans entire system for ALL NotebookLM MCP data files across 8 categories. Always runs in deep mode, shows categorized preview before deletion.
⚠️ CRITICAL: Close ALL Chrome/Chromium instances BEFORE running this tool! Open browsers can prevent cleanup and cause issues.
Categories scanned:
1. Legacy Installation (notebooklm-mcp-nodejs) - Old paths with -nodejs suffix
2. Current Installation (notebooklm-mcp) - Active data, browser profiles, library
3. NPM/NPX Cache - Cached installations from npx
4. Claude CLI MCP Logs - MCP server logs from Claude CLI
5. Temporary Backups - Backup directories in system temp
6. Claude Projects Cache - Project-specific cache (optional)
7. Editor Logs (Cursor/VSCode) - MCP logs from code editors (optional)
8. Trash Files - Deleted notebooklm files in system trash (optional)
Works cross-platform (Linux, Windows, macOS). Safe by design: shows detailed preview before deletion, requires explicit confirmation.
LIBRARY PRESERVATION: Set preserve_library=true to keep your notebook library.json file while cleaning everything else.
RECOMMENDED WORKFLOW for fresh start:
1. Ask user to close ALL Chrome/Chromium instances
2. Run cleanup_data(confirm=false, preserve_library=true) to preview
3. Run cleanup_data(confirm=true, preserve_library=true) to execute
4. Run setup_auth or re_auth for fresh browser session
Use cases: Clean reinstall, troubleshooting auth issues, removing all traces before uninstall, cleaning old browser sessions and installation data.| Parameter | Type | Description |
|---|---|---|
| confirm * | boolean | Confirmation flag. Tool shows preview first, then user confirms deletion. Set to true only after user has reviewed the preview and explicitly confirmed. |
| preserve_library | boolean | Preserve library.json file during cleanup. Default: false. Set to true to keep your notebook library while deleting everything else (browser data, caches, logs). |
close_sessionClose a specific session by session ID. Ask before closing if the user might still need it.| Parameter | Type | Description |
|---|---|---|
| session_id * | string | The session ID to close |
convert_note_to_sourceConvert a note to a source document in NotebookLM.
This feature allows you to convert an existing note into a source, making the note content available for RAG queries and research.
The method:
1. Finds the note by title in the Studio panel
2. Attempts to use NotebookLM's native "Convert to source" feature if available
3. Falls back to extracting note content and creating a text source if not
Use this when you want your note content to be included in NotebookLM's knowledge base for answering questions.| Parameter | Type | Description |
|---|---|---|
| note_title * | string | Title of the note to convert (required) |
| notebook_url | string | Notebook URL. If not provided, uses the active notebook. |
| session_id | string | Session ID to reuse an existing session |
copy_contentCopy Studio artifacts (audio, video, reports, quizzes, slide decks…) into another existing notebook. RPC-backed. Returns, for each artifact, its original id and the id of the copy. Only from a notebook you own (not one shared with you or public). Not idempotent: a failure is never retried automatically.| Parameter | Type | Description |
|---|---|---|
| content_ids * | array | Ids of the Studio artifacts to copy (from list_content). |
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL (the source). |
| target_notebook_id | string | UUID of the notebook to copy into. Required (or target_notebook_url). |
| target_notebook_url | string | URL of the notebook to copy into (alternative to target_notebook_id). |
copy_notebookCopy a whole notebook — its sources and Studio artifacts — into a new notebook. RPC-backed. Returns the new notebook id and URL. The sources are copied in the background and may not be listed in the reply yet — call list_sources a few seconds later. Only a notebook you own can be copied (not one shared with you or public). Not idempotent: a failure is never retried automatically, so check the notebook list before retrying.| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL (the source). |
| title | string | Title of the copy. Defaults to "Copy of <source title>". |
copy_sourcesCopy some of a notebook’s sources into another existing notebook. RPC-backed. Returns, for each source, its original id and the id of the copy. The target must be named explicitly. Only from a notebook you own (not one shared with you or public). Not idempotent: a failure is never retried automatically.| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL (the source). |
| source_ids * | array | Ids of the sources to copy (from list_sources). |
| target_notebook_id | string | UUID of the notebook to copy into. Required (or target_notebook_url). |
| target_notebook_url | string | URL of the notebook to copy into (alternative to target_notebook_id). |
create_noteCreate a note in the NotebookLM Studio panel.
Notes are user-created annotations that appear in your notebook. Use them to save research findings, summaries, key insights, or any custom content you want to keep alongside your sources.
Notes support markdown formatting for rich text content.| Parameter | Type | Description |
|---|---|---|
| content * | string | Content/body of the note. Supports markdown formatting. |
| notebook_url | string | Notebook URL. If not provided, uses the active notebook. |
| session_id | string | Session ID to reuse an existing session |
| title * | string | Title of the note (required) |
create_notebookCreate a brand-new empty notebook directly in NotebookLM (no pre-existing URL required, unlike `add_notebook` which only registers an already-created notebook into the library).
Returns `{ notebook_url, notebook_id, name_applied, actual_name, message }`.
- `notebook_url` / `notebook_id`: always the FINAL UUID-based URL (the tool waits past the `/notebook/creating/c` transitional URL).
- `name_applied` (boolean): whether the `name` parameter actually took effect. `false` means the notebook is still "Untitled notebook" — rename via UI if needed.
- `actual_name` (string): the title observed on the notebook after creation.
Typical workflow:
1) `create_notebook({ name?: "my-research" })` → `{ notebook_url, notebook_id, name_applied, actual_name }`
2) `add_source({ notebook_url, source_type: "url", source: "https://..." })`
3) `ask_question({ notebook_url, question: "..." })`
Note: Requires authentication. Run `setup_auth` first if not authenticated.| Parameter | Type | Description |
|---|---|---|
| name | string | Optional initial title for the notebook. NotebookLM will auto-name it if omitted (usually "Untitled notebook"). The title can be edited later via the UI. |
| show_browser | boolean | Show browser window during creation. Default: false (headless). |
de_authDe-authenticate (logout) - Clears all authentication data for security. Use this when:
- User wants to log out for security reasons
- Removing credentials before shutting down
- Clearing auth without immediately re-authenticating
This will:
1. Close all active browser sessions
2. Delete all saved authentication data (cookies, Chrome profile)
3. Preserve notebook library and other data
IMPORTANT: After de_auth, the server will need re-authentication via setup_auth or re_auth before making queries.
Use 'get_health' to verify de-authentication was successful (authenticated: false).delete_chat_historyClear a notebook’s chat history. RPC-backed (no browser). NotebookLM has no per-turn delete: the whole conversation goes. The next question then starts a fresh conversation.| Parameter | Type | Description |
|---|---|---|
| conversation_id | string | A specific conversation. Defaults to the most recent one. |
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL. |
delete_contentDelete a generated Studio artifact (audio overview, video, report, infographic, presentation, data table, flashcards, quiz) from a notebook.
Use list_content first to get the artifact id. RPC-backed (no browser).
WARNING: irreversible. Note-backed mind maps are not covered — they live in the notes system, not the Studio library.| Parameter | Type | Description |
|---|---|---|
| content_id * | string | The id of the artifact to delete (see list_content). |
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | Notebook URL. If not provided, uses the active notebook. |
delete_notebooks_from_nblmDelete one or more notebooks directly from NotebookLM (UI-level deletion, not just from the local library). Pass an array of notebook IDs (UUIDs from `list_notebooks_from_nblm`).
Returns `{ deleted: [...], failed: [...] }` so the caller can retry or report on partial failures.
Use this to:
- Bulk-clean up a NotebookLM account (e.g. test notebooks from automation runs)
- Free up the 100-notebook free-tier quota
- Remove notebooks no longer covered by your sources
Warning: This is irreversible at the NotebookLM side. Confirm with the user before calling.
Note: Requires authentication. Run `setup_auth` first if not authenticated.| Parameter | Type | Description |
|---|---|---|
| notebook_ids * | array | Array of NotebookLM notebook IDs (UUIDs) to delete. Use `list_notebooks_from_nblm` to discover them. |
| show_browser | boolean | Show browser window during deletion. Default: false (headless). |
delete_sourceDelete a source from the current NotebookLM notebook.
You can identify the source to delete by either:
- source_id: The unique identifier of the source
- source_name: The name/title of the source (partial match supported)
Use list_content first to see available sources and their IDs/names.
WARNING: This action is irreversible. The source will be permanently removed from the notebook.| Parameter | Type | Description |
|---|---|---|
| notebook_url | string | Notebook URL. If not provided, uses the active notebook. |
| session_id | string | Session ID to reuse an existing session |
| source_id | string | The unique ID of the source to delete |
| source_name | string | The name/title of the source to delete (partial match supported) |
download_contentDownload or export generated content from NotebookLM.
Supported content types:
- audio_overview: Downloads as audio file (MP3)
- video: Downloads as video file
- infographic: Downloads as image file
- presentation: Exports to Google Slides (returns URL)
- data_table: Exports to Google Sheets (returns URL)
Note: Report content is text-based and returned in the generation response.| Parameter | Type | Description |
|---|---|---|
| content_type * | string | Type of content to download/export |
| notebook_url | string | Notebook URL. If not provided, uses the active notebook. |
| output_path | string | Optional local path to save the file (for audio, video, infographic) |
| session_id | string | Session ID to reuse an existing session |
export_artifactExport a finished Studio artifact to Google Docs or Google Sheets. RPC-backed. Returns the created document link when the server sends one.| Parameter | Type | Description |
|---|---|---|
| artifact_id * | string | Artifact id (see list_content). |
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL. |
| target | string | Where to export. Default docs; use sheets for a data table. |
| title | string | Title of the created document. |
generate_contentGenerate content from your NotebookLM sources.
Supported content types:
- audio_overview: Audio podcast/overview (Deep Dive conversation with two AI hosts)
- video: Video summary that visually explains main topics (brief or explainer format)
- presentation: Slides/presentation with AI-generated content and images
- report: Briefing document (2,000-3,000 words) summarizing key findings, exportable as PDF/DOCX
- infographic: Visual infographic in horizontal (16:9) or vertical (9:16) format
- data_table: Structured table organizing key information (exportable as CSV/Excel)
Language support: All content types support 80+ languages via the language parameter.
Video styles: Video content supports 6 visual styles via the video_style parameter:
classroom, documentary, animated, corporate, cinematic, minimalist.
These content types use real NotebookLM Studio UI buttons or the generic ContentGenerator architecture that navigates the Studio panel and falls back to chat-based generation.
NOTE: Other content types (faq, study_guide, timeline, table_of_contents) are NOT currently implemented. For document-style content, use the ask_question tool.| Parameter | Type | Description |
|---|---|---|
| content_type * | string | Type of content to generate: audio_overview (podcast), video (brief or explainer), presentation (slides), report (briefing doc 2,000-3,000 words, PDF/DOCX export), infographic (horizontal 16:9 or vertical 9:16), or data_table (CSV/Excel export) |
| custom_instructions | string | Optional instructions to customize the generated content |
| language | string | Language of the generated content — 81 supported. Give a BCP-47 code ("es", "ja", "pt_BR", "zh_Hans") or a name in English or in the language itself ("Spanish", "Español"). Defaults to NOTEBOOKLM_CONTENT_LANGUAGE, or English. An unrecognised value is an error, never a silent substitution. |
| notebook_url | string | Notebook URL. If not provided, uses the active notebook. |
| session_id | string | Session ID to reuse an existing session |
| video_style | string | Visual style for video content (only valid for content_type="video"). Powered by Nano Banana AI. |
generate_mind_mapGenerate and save a mind map from a notebook’s sources. RPC-backed (no browser). Returns the saved mind-map id and its JSON structure.| Parameter | Type | Description |
|---|---|---|
| focus | string | Optional prompt steering what the mind map emphasises. |
| language | string | Language of the mind-map nodes (BCP-47 code or language name). Defaults to NOTEBOOKLM_CONTENT_LANGUAGE, or English. |
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL. |
| title | string | Optional title for the saved mind map. |
generate_study_aidGenerate a study aid from a notebook’s sources: flashcards or a quiz. RPC-backed (no browser). Returns when generation completes.| Parameter | Type | Description |
|---|---|---|
| focus | string | Optional focus prompt to steer the content. |
| kind * | string | Which study aid to generate. |
| language | string | Language of the generated study aid (BCP-47 code or language name). Defaults to NOTEBOOKLM_CONTENT_LANGUAGE, or English. |
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL. |
get_chat_historyRead back the questions and answers already recorded in a notebook, newest first. RPC-backed (no browser). NotebookLM exposes only the most recent conversation, which is what you get unless you pass `conversation_id`.| Parameter | Type | Description |
|---|---|---|
| conversation_id | string | A specific conversation. Defaults to the most recent one. |
| limit | number | Maximum turns to return, newest first. Default 20. |
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL. |
get_healthGet server health status including authentication state, active sessions, and configuration. Use this to verify the server is ready before starting research workflows.
If authenticated=false and having persistent issues:
Consider running cleanup_data(preserve_library=true) + setup_auth for fresh start with clean browser session.get_library_statsGet statistics about your notebook library (total notebooks, usage, etc.)get_noteRetrieve the full title and text content of a specific note in the NotebookLM Studio panel.| Parameter | Type | Description |
|---|---|---|
| note_id | string | Optional note ID. |
| note_title * | string | The title of the note to retrieve content for. |
| notebook_url | string | Optional NotebookLM URL. If not provided, uses the active notebook. |
| session_id | string | Optional Session ID to reuse an existing session. |
get_notebookGet detailed information about a specific notebook by ID| Parameter | Type | Description |
|---|---|---|
| id * | string | The notebook ID |
get_notebook_summaryRead a notebook’s own summary of its sources and the questions it suggests asking. RPC-backed (no browser). Cheaper than asking a question to find out what is in there.| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL. |
get_source_guideRead NotebookLM’s own summary and key topics for a single source. RPC-backed. A source NotebookLM has not summarised yet returns an empty summary.| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL. |
| source_id | string | Source UUID. |
| source_name | string | Part of the source title (alternative to source_id). |
get_usageRead the account’s live compute-meter usage (RPC-backed, account-scoped — no notebook). Returns the five-hour and weekly quota windows as percentages, their reset times, and a per-action table of what still has quota. status=disabled when the account has no meter. Use it to check headroom before a long batch of questions or generations.list_contentList all sources and generated content in the current notebook.
Returns:
- Sources: Documents, URLs, and other uploaded materials
- Generated content: Audio overviews| Parameter | Type | Description |
|---|---|---|
| notebook_url | string | Notebook URL. If not provided, uses the active notebook. |
| session_id | string | Session ID to reuse an existing session |
list_notebooksList all library notebooks with metadata (name, topics, use cases, URL). Use this to present options, then ask which notebook to use for the task.list_notebooks_from_nblmScrape the NotebookLM homepage to get a real list of all notebooks with their IDs and names.
This tool navigates to notebooklm.google.com and extracts:
- Notebook ID (UUID from URL)
- Notebook name (displayed title)
- Notebook URL
Use this to:
- Discover notebooks not yet in your library
- Get accurate notebook IDs for automation
- Verify which notebooks exist in your account
- Find notebooks to delete when cleanup is needed
Note: Requires authentication. Run setup_auth first if not authenticated.| Parameter | Type | Description |
|---|---|---|
| show_browser | boolean | Show browser window during scraping. Default: false (headless). |
list_notesList all user notes in the NotebookLM Studio panel. Returns note titles, IDs, and timestamps (e.g. details).| Parameter | Type | Description |
|---|---|---|
| notebook_url | string | Optional NotebookLM URL. If not provided, uses the active notebook. |
| session_id | string | Optional Session ID to reuse an existing session. |
list_sessionsList all active sessions with stats (age, message count, last activity). Use to continue the most relevant session instead of starting from scratch.list_sourcesList the sources of a NotebookLM notebook, with their IDs and titles.
Use this to get the source_id that read_source and delete_source expect. RPC-backed (no browser).| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | Notebook URL. If not provided, uses the active notebook. |
manage_labelsManage a notebook’s source labels (RPC-backed): list them, create one, or delete some. action=list (default) / create (needs name) / delete (needs label_ids).| Parameter | Type | Description |
|---|---|---|
| action | string | Default list. |
| emoji | string | Optional label emoji (for create). |
| label_ids | array | Label ids to delete (for delete). |
| name | string | Label name (for create). |
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL. |
n8n-workflow-guide...| Parameter | Type | Description |
|---|---|---|
| url * | string | The NotebookLM notebook URL |
re_authSwitch to a different Google account or re-authenticate. Use this when:
- NotebookLM usage limit is reached (compute-based, refreshes every 5 hours)
- You want to switch to a different Google account
- Authentication is broken and needs a fresh start
This will:
1. Close all active browser sessions
2. Delete all saved authentication data (cookies, Chrome profile)
3. Open browser for fresh Google login
After completion, use 'get_health' to verify authentication.
TROUBLESHOOTING for persistent auth issues:
If re_auth fails repeatedly:
1. Ask user to close ALL Chrome/Chromium instances
2. Run cleanup_data(confirm=false, preserve_library=true) to preview old files
3. Run cleanup_data(confirm=true, preserve_library=true) to clean everything except library
4. Run re_auth again for completely fresh start
This removes old installation data and browser sessions that can cause conflicts.| Parameter | Type | Description |
|---|---|---|
| browser_options | object | Optional browser settings. Control visibility, timeouts, and stealth behavior. |
| headless | boolean | Alias/inverse of show_browser: headless=false opens a visible window, headless=true runs hidden. Ignored if show_browser is set. |
| show_browser | boolean | Show browser window (simple version). Default: true for re-auth. For advanced control, use browser_options instead. |
read_sourceRead a source’s full indexed content — the exact text NotebookLM reasons over, which the web UI only ever shows in fragments.
Use it to quote a source verbatim, to check what was actually ingested from a PDF or web page, or to feed the raw material to another tool. Identify the source by source_id (from list_sources) or by source_name (partial match).
Long sources are paginated by default: you get the first 20,000 characters plus `totalChars`, `nextCursor` and a `continue` instruction telling you exactly how to ask for the rest. Pass `cursor` to continue, or `paginate: false` to take the whole document in one call. RPC-backed (no browser).| Parameter | Type | Description |
|---|---|---|
| cursor | number | Where to resume: pass the nextCursor from the previous page. Omit for the first page. |
| format | string | text (default) = the plain-text rendition. html = the HTML rendition, which keeps headings, lists and links but inlines images as base64 and is markedly bigger. |
| max_chars | number | Page size in characters (default: 20000). Ignored when paginate is false. The cut is pulled back to the nearest line break so pages do not end mid-word. |
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | Notebook URL. If not provided, uses the active notebook. |
| paginate | boolean | Return one page at a time (default: true). Set false to get the whole document in a single response — fine for a short source, expensive for a book-length one. |
| source_id | string | The unique ID of the source to read (see list_sources). |
| source_name | string | The title of the source to read (partial, case-insensitive match). |
remove_notebookDangerous — requires explicit user confirmation. ## Confirmation Workflow 1) User requests removal ("Remove the React notebook") 2) Look up full name to confirm 3) Ask: "Remove '[notebook_name]' from your library? (Does not delete the actual NotebookLM notebook)" 4) Only on explicit "Yes" → call remove_notebook Never remove without permission or based on assumptions. Example: User: "Delete the old React notebook" You: "Remove 'React Best Practices' from your library?" User: "Yes" → call remove_notebook| Parameter | Type | Description |
|---|---|---|
| id * | string | The notebook ID to remove |
rename_sourceRename one source inside a notebook. RPC-backed (no browser). Identify the source by `source_id` (see list_sources) or by `source_name` — an ambiguous name is refused rather than guessed.| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL. |
| source_id | string | Source UUID. |
| source_name | string | Part of the current source title (alternative to source_id). |
| title * | string | The new title. |
research_sourcesDiscover web sources for a notebook via NotebookLM Fast Research. RPC-backed. Returns the found sources; set `import: true` to also add them to the notebook.| Parameter | Type | Description |
|---|---|---|
| import | boolean | If true, import the discovered sources into the notebook. |
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL. |
| query * | string | What to research on the web. |
reset_sessionReset a session's chat history (keep same session ID). Use for a clean slate when the task changes; ask the user before resetting.| Parameter | Type | Description |
|---|---|---|
| session_id * | string | The session ID to reset |
retry_contentRetry a Studio generation that failed, keeping the same content id. RPC-backed. Prefer this over deleting and regenerating: that mints a new id and invalidates every reference you were holding. The artifact goes back to generating; poll list_content for the outcome. A retry can fail again on Google’s side.| Parameter | Type | Description |
|---|---|---|
| content_id * | string | The failed artifact’s id, as list_content reports it. |
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL. |
revise_slideRevise one slide of an existing slide deck from a prompt, instead of regenerating the whole deck. RPC-backed. `slide_index` is zero-based. The call returns as soon as the revision is accepted; poll list_content for the result.| Parameter | Type | Description |
|---|---|---|
| artifact_id * | string | Slide deck artifact id. |
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL. |
| prompt * | string | What to change on that slide. |
| slide_index * | number | Zero-based slide number. |
save_chat_to_noteSave the current NotebookLM chat/discussion to a note.
This tool extracts all messages from the current conversation (both user questions and NotebookLM AI responses) and saves them as a formatted note in the Studio panel.
Use this to:
- Preserve important research conversations
- Create a summary of your discussion with NotebookLM
- Save chat history before starting a new topic
The note will include timestamps and message attribution (User/NotebookLM).| Parameter | Type | Description |
|---|---|---|
| notebook_url | string | Notebook URL. If not provided, uses the active notebook. |
| session_id | string | Session ID to reuse an existing session |
| title | string | Custom title for the note (default: "Chat Summary") |
search_notebooksSearch library by query (name, description, topics, tags). Use to propose relevant notebooks for the task and then ask which to use.| Parameter | Type | Description |
|---|---|---|
| query * | string | Search query |
search_passagesFind the passages in a notebook’s sources that match a query, ranked best first. RPC-backed (no browser). This is retrieval, not an answer: nothing is generated, no generation quota is spent, and you get the indexed text with its offsets. Prefer this over ask_question when you want the evidence rather than the prose, and when you intend to reason over the passages yourself.| Parameter | Type | Description |
|---|---|---|
| limit | number | Keep at most this many passages, best rank first. Omit to get them all. |
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL. |
| query * | string | What to look for in the sources. |
| source_ids | array | Restrict the search to these source UUIDs. Omit to search them all. |
| source_names | array | Restrict the search to sources matched by title (alternative to source_ids). An ambiguous title is an error naming the candidates, never a silent guess. |
select_notebookSet a notebook as the active default (used when ask_question has no notebook_id). ## When To Use - User switches context: "Let's work on React now" - User asks explicitly to activate a notebook - Obvious task change requires another notebook ## Auto-Switching - Safe to auto-switch if the context is clear and you announce it: "Switching to React notebook for this task..." - If ambiguous, ask: "Switch to [notebook] for this task?" ## Example User: "Now let's build the React frontend" You: "Switching to React notebook..." (call select_notebook)| Parameter | Type | Description |
|---|---|---|
| id * | string | The notebook ID to activate |
setup_authGoogle authentication for NotebookLM access - opens a browser window for manual login to your Google account. Returns immediately after opening the browser. You have up to 10 minutes to complete the login. Use 'get_health' tool afterwards to verify authentication was saved successfully. Use this for first-time authentication or when auto-login credentials are not available. IMPORTANT: If already authenticated, this tool will skip re-authentication. For switching accounts or rate-limit workarounds, use 're_auth' tool instead.
TROUBLESHOOTING for persistent auth issues:
If setup_auth fails or you encounter browser/session issues:
1. Ask user to close ALL Chrome/Chromium instances
2. Run cleanup_data(confirm=true, preserve_library=true) to clean old data
3. Run setup_auth again for fresh start
This helps resolve conflicts from old browser sessions and installation data.| Parameter | Type | Description |
|---|---|---|
| browser_options | object | Optional browser settings. Control visibility, timeouts, and stealth behavior. |
| headless | boolean | Alias/inverse of show_browser: headless=false opens a visible window, headless=true runs hidden. Ignored if show_browser is set. |
| show_browser | boolean | Show browser window (simple version). Default: true for setup. For advanced control, use browser_options instead. |
share_notebookRead a notebook’s sharing status, or toggle its public link. Omit `set_public` to just read status (public link on/off, owner/collaborators). Set `set_public: true`/`false` to enable/disable the public link. RPC-backed (no browser).| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Notebook UUID (alternative to notebook_url). |
| notebook_url | string | NotebookLM notebook URL. |
| set_public | boolean | Optional. true = enable public link, false = restrict. Omit to only read status. |
update_notebookUpdate notebook metadata based on user intent. ## Pattern 1) Identify target notebook and fields (topics, description, use_cases, tags, url) 2) Propose the exact change back to the user 3) After explicit confirmation, call this tool ## Examples - User: "React notebook also covers Next.js 14" You: "Add 'Next.js 14' to topics for React?" User: "Yes" → call update_notebook - User: "Include error handling in n8n description" You: "Update the n8n description to mention error handling?" User: "Yes" → call update_notebook Tip: You may update multiple fields at once if requested.| Parameter | Type | Description |
|---|---|---|
| content_types | array | New content types |
| description | string | New description |
| id * | string | The notebook ID to update |
| name | string | New display name |
| tags | array | New tags |
| topics | array | New topics list |
| url | string | New notebook URL |
| use_cases | array | New use cases |
Security checks
Static checks derived from the repository a month ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 3.0K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- !No dynamic code executionScanned 51 source files and found 9 calls to eval or shell execution, in src/content/content-manager.ts and src/http-wrapper.ts among others. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
Releases
README
The repository's README runs to about 3.0K words, fetched a month ago. The original in the repository is authoritative.
Read full README