You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Complete reference for the NotebookLM MCP server — 35 tools for AI assistants.
Installation
# Install the package
uv tool install notebooklm-mcp-cli
# Add to Claude Code
claude mcp add --scope user notebooklm-mcp notebooklm-mcp
# Add to Gemini CLI
gemini mcp add --scope user notebooklm-mcp notebooklm-mcp
Authentication
Before using MCP tools, authenticate:
nlm login
Or use the standalone auth tool:
nlm login
Tool Reference
Notebooks (6 tools)
Tool
Description
notebook_list
List all notebooks
notebook_create
Create new notebook
notebook_get
Get notebook details with sources
notebook_describe
Get AI summary and suggested topics
notebook_rename
Rename a notebook
notebook_delete
Delete notebook (requires confirm=True)
Sources (6 tools)
Tool
Description
source_add
Unified - Add URL, text, file, or Drive source
source_list_drive
List sources with Drive freshness status
source_sync_drive
Sync stale Drive sources
source_delete
Delete source (requires confirm=True)
source_describe
Get AI summary with keywords
source_get_content
Get raw text content
source_add parameters:
source_add(
notebook_id="...",
source_type="url", # url | text | file | driveurl="https://...", # for source_type=urltext="...", # for source_type=texttitle="...", # optional titlefile_path="/path/to.pdf", # for source_type=filedocument_id="...", # for source_type=drivedoc_type="doc", # doc | slides | sheets | pdfwait=True, # wait for processing to completewait_timeout=120.0# seconds to wait
)
Querying (2 tools)
Tool
Description
notebook_query
Ask AI about sources in notebook
chat_configure
Set chat goal and response length
Studio Content (4 tools)
Tool
Description
studio_create
Unified - Create any artifact type
studio_status
Check generation progress
studio_delete
Delete artifact (requires confirm=True)
studio_revise
Revise slides in existing deck (requires confirm=True)
Query multiple notebooks and get aggregated answers with per-notebook citations
batch actions:
batch(action="query", query="What are the key findings?", notebook_names="AI Research, Dev Tools")
batch(action="add_source", source_url="https://...", tags="ai,research")
batch(action="create", titles="Project A, Project B, Project C")
batch(action="delete", notebook_names="Old Project", confirm=True)
batch(action="studio", artifact_type="audio", tags="research", confirm=True)
cross_notebook_query:
cross_notebook_query(query="Compare approaches", notebook_names="Notebook A, Notebook B")
cross_notebook_query(query="Summarize", tags="ai,research")
cross_notebook_query(query="Everything", all=True)
Pipelines (1 tool)
Tool
Description
pipeline
Unified — List or run multi-step workflows (action: list, run)
pipeline actions:
pipeline(action="list") # List available pipelinespipeline(action="run", notebook_id="...", pipeline_name="ingest-and-podcast", input_url="https://...")
Unified — Tag notebooks and find relevant ones (action: add, remove, list, select)
tag actions:
tag(action="add", notebook_id="...", tags="ai,research,llm")
tag(action="remove", notebook_id="...", tags="ai")
tag(action="list") # List all tagged notebookstag(action="select", query="ai research") # Find notebooks by tag match
Example Workflows
Research → Podcast
1. research_start(query="AI trends 2026", mode="deep")
2. research_status(notebook_id, max_wait=300) # wait for completion
3. research_import(notebook_id, task_id, timeout=600) # optional: increase for large notebooks
4. studio_create(notebook_id, artifact_type="audio", confirm=True)
5. studio_status(notebook_id) # poll until complete
6. download_artifact(notebook_id, artifact_type="audio", output_path="podcast.mp3")
Add Sources with Wait
source_add(notebook_id, source_type="url", url="https://...", wait=True)
# Returns when source is fully processed and ready for queries
# Tag notebooks for organization
tag(action="add", notebook_id="abc", tags="ai,research")
tag(action="add", notebook_id="def", tags="ai,product")
# Find relevant notebooks
tag(action="select", query="ai research")
# Query across tagged notebooks
cross_notebook_query(query="What are the main conclusions?", tags="ai")
# Batch generate podcasts for all tagged notebooks
batch(action="studio", artifact_type="audio", tags="ai", confirm=True)
Pipeline Automation
# List available pipelines
pipeline(action="list")
# Run a full ingest-and-podcast workflow
pipeline(action="run", notebook_id="abc", pipeline_name="ingest-and-podcast", input_url="https://example.com")
Configuration
MCP Server Options
Flag
Description
Default
--transport
Protocol (stdio, http, sse)
stdio
--port
Port for HTTP/SSE
8000
--debug
Enable verbose logging
false
Environment Variables
Variable
Description
NOTEBOOKLM_MCP_TRANSPORT
Transport type
NOTEBOOKLM_MCP_PORT
HTTP/SSE port
NOTEBOOKLM_MCP_DEBUG
Enable debug logging
NOTEBOOKLM_HL
Interface language and default artifact language (default: en)
NOTEBOOKLM_QUERY_TIMEOUT
Query timeout (seconds)
NOTEBOOKLM_BASE_URL
Override base URL for Enterprise/Workspace (default: https://notebooklm.google.com)
Context Window Tips
This MCP has 35 tools which consume context. Best practices:
Disable when not using: In Claude Code, use @notebooklm-mcp to toggle
Use unified tools: source_add, studio_create, download_artifact handle multiple operations each
Poll wisely: Use studio_status sparingly - artifacts take 1-5 minutes
IDE Configuration
The easiest way to configure any tool is with nlm setup: