Loading...
Loading...
NotebookLM integration patterns for external RAG, research synthesis, studio content generation (audio, cinematic video, slides, infographics, mind maps), and knowledge management. Use when creating notebooks, adding sources, generating audio/video, or querying NotebookLM via MCP.
npx skill4agent add yonatangross/orchestkit notebooklmnotebooklm-mcp-cliDisclaimer: Uses internal undocumented Google APIs via browser authentication. Sessions last ~20 minutes. API may change without notice.
studio_reviseresearch_import--timeouttimeoutRPCErroruv tool install notebooklm-mcp-clipip install notebooklm-mcp-clinlm loginnlm setup add claude-code.mcp.jsonnlm setup add allnlm login --checkuv tool upgrade notebooklm-mcp-cliWhat are you trying to do?
│
├── Create / manage notebooks
│ ├── List / get / rename ──────► notebook_list, notebook_get, notebook_rename
│ ├── Create new notebook ──────► notebook_create
│ └── Delete notebook ──────────► notebook_delete (irreversible!)
│
├── Add sources to a notebook
│ ├── URL / YouTube ────────────► source_add(type=url)
│ ├── Plain text ───────────────► source_add(type=text)
│ ├── Local file ───────────────► source_add(type=file)
│ ├── Google Drive ─────────────► source_add(type=drive)
│ ├── Rename a source ──────────► source_rename
│ └── Manage sources ──────────► rules/setup-quickstart.md
│
├── Query a notebook (AI chat)
│ ├── Ask questions ────────────► notebook_query
│ └── Configure chat style ────► chat_configure
│
├── Generate studio content
│ ├── 10 artifact types ───────► rules/workflow-studio-content.md
│ ├── Revise slides ───────────► studio_revise (creates new deck)
│ └── Export to Docs/Sheets ──► export_artifact
│
├── Research & discovery
│ └── Web/Drive research ──────► rules/workflow-research-discovery.md
│
├── Notes (capture insights)
│ └── Create/list/update/delete ► note (unified tool)
│
├── Sharing & collaboration
│ └── Public links / invites / batch ► rules/workflow-sharing-collaboration.md
│
├── Batch & cross-notebook
│ ├── Query across notebooks ────► cross_notebook_query
│ ├── Bulk operations ───────────► batch (query, add-source, create, studio)
│ └── Multi-step pipelines ──────► rules/workflow-batch-pipelines.md
│
├── Organization
│ └── Tag notebooks ─────────────► tags
│
└── Workflow patterns
├── Second brain ─────────────► rules/workflow-second-brain.md
├── Research offload ─────────► rules/workflow-research-offload.md
└── Knowledge base ──────────► rules/workflow-knowledge-base.md| Category | Rule | Impact | Key Pattern |
|---|---|---|---|
| Setup | | HIGH | Auth, MCP config, source management, session refresh |
| Workflows | | HIGH | Decision docs, project hub, agent interop |
| Workflows | | HIGH | Synthesis, onboarding, token savings |
| Workflows | | HIGH | Debugging KB, security handbook, team knowledge |
| Workflows | | HIGH | 10 artifact types (audio, cinematic video, slides, infographics, mind maps...) |
| Research | | HIGH | Web/Drive research async flow |
| Collaboration | | MEDIUM | Public links, collaborator invites, batch sharing |
| Batch | | HIGH | Cross-notebook queries, batch ops, pipelines |
| Release | | HIGH | Per-release notebooks with changelog + diffs |
| Group | Tools | Count |
|---|---|---|
| Notebooks | notebook_list, notebook_create, notebook_get, notebook_describe, notebook_rename, notebook_delete | 6 |
| Sources | source_add, source_rename, source_list_drive, source_sync_drive, source_delete, source_describe, source_get_content | 7 |
| Querying | notebook_query, chat_configure | 2 |
| Studio | studio_create, studio_status, studio_list_types, studio_revise, studio_delete | 5 |
| Research | research_start, research_status, research_import | 3 |
| Sharing | notebook_share_status, notebook_share_public, notebook_share_invite, notebook_share_batch | 4 |
| Notes | note (unified: list/create/update/delete) | 1 (4 actions) |
| Downloads | download_artifact | 1 |
| Export | export_artifact (Google Docs/Sheets) | 1 |
| Batch | batch (multi-notebook ops), cross_notebook_query | 2 |
| Pipelines | pipelines (ingest-and-podcast, research-and-report, multi-format) | 1 |
| Tags | tags (organize and smart-select notebooks) | 1 |
| Auth | save_auth_tokens, refresh_auth, server_info | 3 |
| Decision | Recommendation |
|---|---|
| New notebook vs existing | One notebook per project/topic; add sources to existing |
| Source type | URL for web, text for inline, file for local docs, drive for Google Docs |
| Large sources | Split >50K chars into multiple sources for better retrieval |
| Auth expired? | |
| Studio content | Use studio_create, poll with studio_status (generation takes 2-5 min) |
| Cinematic video | |
| Audio format | Choose brief/critique/debate/deep_dive via |
| Research discovery | research_start for web/Drive discovery, then research_import (timeout=300s default) |
| Deep research | |
| Release notebooks | One notebook per minor version; upload CHANGELOG + key skill diffs as sources |
| Query vs search | notebook_query for AI-grounded answers; source_get_content for raw text |
| Notes vs sources | Notes for your insights/annotations; sources for external documents |
| Infographic style | 11 visual styles via |
| Slide revision | Use |
| Export artifacts | |
| Language | |
| Batch operations | Use |
| Pipelines | |
# 1. Create a notebook for your project
notebook_create(title="Auth Refactor Research")
# 2. Add sources (docs, articles, existing code analysis)
source_add(notebook_id="...", type="url", url="https://oauth.net/2.1/")
source_add(notebook_id="...", type="text", content="Our current auth uses...")
source_add(notebook_id="...", type="file", path="/docs/auth-design.md")
# 3. Query with grounded AI responses
notebook_query(notebook_id="...", query="What are the key differences between OAuth 2.0 and 2.1?")
# 4. Generate a deep dive audio overview (supports language param)
studio_create(notebook_id="...", artifact_type="audio", audio_format="deep_dive", language="he", confirm=True)
studio_status(notebook_id="...") # Poll until complete
# 5. Generate a cinematic video overview (Ultra only, English)
studio_create(notebook_id="...", artifact_type="cinematic_video", confirm=True)
studio_status(notebook_id="...") # Poll — takes 3-8 minutes
# 6. Capture insights as notes
note(notebook_id="...", action="create", content="Key takeaway: PKCE is mandatory in 2.1")nlm login --checknlm loginstudio_statustype=urltype=filetype=textnotebook_deletesource_list_drivenote(action=list)research_startresearch_importnotebook_querystudio_createlanguagehearjabatchcross_notebook_queryork:mcp-patternsork:web-research-workflowork:memoryork:security-patterns