Skip to main content
Glama

Gemini Notebook (formerly Google NotebookLM) CLI & MCP Server

Gemini Notebook MCP Header

PyPI version PyPI downloads Total downloads Python License

Programmatic access to Gemini Notebook โ€” via command-line interface (CLI) or Model Context Protocol (MCP) server.

๐Ÿšจ New: Protected login storage (recommended) Your saved Google login can now be encrypted, with its key kept in your computer's keychain instead of a plain file. We highly recommend everyone switch on a personal computer:

nlm auth storage set protected

๐Ÿ’ก You can also use the 'nlm setup' wizard and select the 'Credentials Protection' option in the wizard

Optional: nothing changes unless you turn it on. Servers, cron, Docker and SSH setups can keep the plain file. ๐Ÿ“– How it works ยท ๐Ÿ“บ Watch this short video

๐Ÿค– Fun fact: this video was created by an agent using the gemini-notebook-mcp.

Note: Personal/consumer accounts are tested regularly. Gemini Notebook Enterprise support is experimental. The documented notebook.cloud.google.com host has been live-verified with a project-qualified global deployment; other Enterprise host variants may require additional validation.

โ˜• If you find notebooklm-mcp-cli useful, consider buying me a coffee. It's free and built in my spare time โ€” but testing every Gemini Notebook feature takes real time and resources. A coffee helps me cover it and keep shipping. Thank you! ๐Ÿ™

๐Ÿ“บ Watch the Demos

Latest

Claude Cowork & Interactive Reports

Codex Setup + Cinematic Video & Slides

Claude Cowork and Interactive Reports demo

Codex Setup, Cinematic Video and Slides demo

MCP Demos

General Overview

Claude Desktop

Perplexity Desktop

MCP Super Assistant

General

Claude

Perplexity

MCP SuperAssistant

CLI Demos

CLI Overview

CLI, MCP & Skills

Setup, Doctor & mcpb

Infographics Support

CLI Overview

CLI, MCP & Skills

Setup, Doctor & mcpb

Infographics

โšก Quick Start

Three commands take you from nothing to a connected AI assistant:

  1. Install (gives you nlm and the MCP server):

uv tool install notebooklm-mcp-cli
  1. Sign in to your Google account:

nlm login
  1. Connect your AI tools:

nlm setup

The setup wizard (nlm setup)

nlm setup finds the AI tools installed on your machine and connects them to Gemini Notebook โ€” no config files to edit. Pick an option with the arrow keys:

Menu option

What it does

Show my tools' status

One table for every detected tool: MCP connection (โœ“ set up ยท โœ— not yet ยท โš  old name) and skill version (โฌ† when an upgrade is available).

Add the MCP to my tools/agents

Tick the tools to connect (Space), then Enter. Nothing is pre-selected. Connections still using the old notebooklm-mcp name appear under Needs a fix and are renamed to gemini-notebook-mcp, keeping their settings. Then it offers the skill.

Add the skill to my tools/agents

Installs the skill that teaches your AI how to use Gemini Notebook well โ€” for All my projects (default) or Just this folder. Upgrades are pre-ticked; older versions are only replaced after you confirm.

Remove an MCP or skill

Lists what's installed, grouped into MCP connections and skills. Nothing is pre-selected, and each group needs its own confirmation.

Credential protection

Protect your saved logins in your OS keystore, or restore them to plain files. It only offers what applies: Protect when a login is plain, Restore when one is protected. With several logins you get a checkbox picker.

Copy MCP setup for a tool not listed

Copies a ready-to-paste JSON snippet to your clipboard. Advanced options switch to uvx, the bare command, or entry-only JSON.

  • Esc goes back from any screen (and quits from the main menu).

  • Every file is backed up to ~/.notebooklm-mcp-cli/backups/ before it is changed.

  • Connects to: Claude Code, Claude Desktop (regular and Relay AI / 3P), Codex CLI / ChatGPT desktop app, Gemini CLI, Cursor, Windsurf, Cline, Antigravity, GitHub Copilot (VS Code), and OpenCode. The skill also installs for Hermes and OpenClaw.

  • Claude Desktop Chat & Cowork, and claude.ai: these only use skills uploaded to your Claude account. In Add the skill, tick Claude Desktop / claude.ai โ€” the wizard saves ~/Downloads/nlm-skill.zip and shows where to upload it (Customize โ†’ Skills โ†’ Add). Or run nlm skill package.

  • Claude Desktop: fully quit it (Cmd+Q) before connecting โ€” it can overwrite its settings while open, so the wizard refuses to write until it's closed.

  • Scripts and CI: every option has a direct command โ€” nlm setup add <tool>, nlm setup remove <tool>, nlm setup list, nlm skill install <tool>. See MCP Configuration.

Related MCP server: NotebookLM MCP Server

Two Ways to Use

๐Ÿ–ฅ๏ธ Command-Line Interface (CLI)

Use nlm directly in your terminal for scripting, automation, or interactive use:

nlm notebook list                              # List all notebooks
nlm notebook create "Research Project"         # Create a notebook
nlm source add <notebook> --url "https://..."  # Add sources
nlm audio create <notebook> --confirm          # Generate podcast
nlm download audio <notebook> --id <artifact-id>    # Download audio file
nlm download all <notebook> -d ./exports       # Download every artifact
nlm share public <notebook>                    # Enable public link

Run nlm --ai for comprehensive AI-assistant documentation.

๐Ÿค– MCP Server (for AI Agents)

Connect AI assistants (Claude, Gemini, Cursor, etc.) to Gemini Notebook:

nlm setup                       # Guided wizard โ€” see Quick Start above
nlm setup add codex             # Or connect one client directly

Then use natural language: "Create a notebook about quantum computing and generate a podcast"

Features

Capability

CLI Command

MCP Tool

List notebooks

nlm notebook list

notebook_list

Create notebook

nlm notebook create

notebook_create

Add Sources (URL, Text, Drive, File)

nlm source add

source_add

Query notebook (persists to web UI)

nlm notebook query

notebook_query

List/view/export/delete chat sessions

nlm chats list/get/export/delete

chat_list/chat_get/chat_export/chat_delete

Create Studio Content (Audio, Video, etc.)

nlm studio create

studio_create

Interactive reports (read + embedded elements)

nlm report get/elements/element

report (action=get/elements/generate)

Revise slide decks

nlm slides revise

studio_revise

Download artifacts

nlm download <type>

download_artifact

Download all artifacts (one or all notebooks)

nlm download all

download_all_artifacts

Web/Drive research

nlm research start

research_start

Share notebook

nlm share public/invite

notebook_share_*

Sync Drive sources

nlm source sync

source_sync_drive

Batch operations

nlm batch query/create/delete

batch

Cross-notebook query

nlm cross query

cross_notebook_query

Pipelines (multi-step workflows)

nlm pipeline run/list

pipeline

Tag & smart select

nlm tag add/list/select

tag

Manage collections (home page groups)

โ€”

collection_*

Configure AI tools

nlm setup (wizard), nlm setup add/remove/list

โ€”

Install AI Skills

nlm skill install/update

โ€”

Diagnose issues

nlm doctor

โ€”

Check remaining plan usage

nlm usage [--profile <name>]

usage_get

Manage login encryption (Protected mode)

nlm auth storage status/set

โ€”

๐Ÿ“š More Documentation:

  • Getting Started โ€” Install, login, agent setup, and migration from another Gemini Notebook MCP

  • CLI Guide โ€” Complete command reference

  • MCP Guide โ€” All 55 MCP tools with examples

  • Authentication โ€” Setup and troubleshooting

  • Remote MCP โ€” Web/mobile connector feasibility, security, and authentication limitations

  • API Reference โ€” Internal API docs for contributors

Important Disclaimer

This MCP and CLI use internal APIs that:

  • Are undocumented and may change without notice

  • Require cookie extraction from your browser (I have a tool for that!)

  • May not be aligned with Google's Terms of Service

Use at your own risk for personal/experimental purposes.

Installation

๐Ÿ†• Claude Desktop users: Download the extension (.mcpb file) โ†’ double-click โ†’ done! One-click install, no config needed.

Install from PyPI. This single package includes both the CLI and MCP server:

uv tool install notebooklm-mcp-cli

Using uvx (Run Without Install)

uvx --from notebooklm-mcp-cli nlm --help
uvx --from notebooklm-mcp-cli notebooklm-mcp

Using pip

pip install notebooklm-mcp-cli

Using pipx

pipx install notebooklm-mcp-cli

After installation, you get:

  • nlm โ€” Command-line interface

  • notebooklm-mcp โ€” Gemini Notebook MCP server for AI assistants

# Clone the repository
git clone https://github.com/jacob-bd/gemini-notebook-mcp-cli.git
cd notebooklm-mcp

# Install with uv
uv tool install .

Upgrading

# Using uv
uv tool upgrade notebooklm-mcp-cli

# Using pip
pip install --upgrade notebooklm-mcp-cli

# Using pipx
pipx upgrade notebooklm-mcp-cli

After upgrading, restart your AI tool to reconnect to the updated MCP server:

  • Claude Code: Restart the application, or use /mcp to reconnect

  • Cursor: Restart the application

  • Gemini CLI: Restart the CLI session

Upgrading from Legacy Versions

If you previously installed the separate CLI and MCP packages, you need to migrate to the unified package.

Step 1: Check What You Have Installed

uv tool list | grep notebooklm

Legacy packages to remove:

Package

What it was

notebooklm-cli

Old CLI-only package

notebooklm-mcp-server

Old MCP-only package

Step 2: Uninstall Legacy Packages

# Remove old CLI package (if installed)
uv tool uninstall notebooklm-cli

# Remove old MCP package (if installed)
uv tool uninstall notebooklm-mcp-server

Step 3: Reinstall the Unified Package

After removing legacy packages, reinstall to fix symlinks:

uv tool install --force notebooklm-mcp-cli

Why --force? When multiple packages provide the same executable, uv can leave broken symlinks after uninstalling. The --force flag ensures clean symlinks.

Step 4: Verify Installation

uv tool list | grep notebooklm

You should see only:

notebooklm-mcp-cli v0.2.0
- nlm
- notebooklm-mcp

Step 5: Re-authenticate

Your existing cookies should still work, but if you encounter auth issues:

nlm login

Note: The configured MCP server name is now gemini-notebook-mcp. The executable remains notebooklm-mcp for compatibility with existing installations.

Getting Started

If you are setting up the tool for the first time โ€” or migrating from a browser-based Gemini Notebook MCP โ€” see the Getting Started Guide. It covers install, login, agent registration, and a step-by-step migration path that avoids the "two Gemini Notebook servers registered" trap.

Uninstalling

To completely remove the MCP:

# Using uv
uv tool uninstall notebooklm-mcp-cli

# Using pip
pip uninstall notebooklm-mcp-cli

# Using pipx
pipx uninstall notebooklm-mcp-cli

# Remove cached auth tokens and data (optional)
rm -rf ~/.notebooklm-mcp-cli

Also remove from your AI tools:

nlm setup remove claude-code
nlm setup remove cursor
# ... or any configured tool

Authentication

Before using the CLI or MCP, you need to authenticate with Gemini Notebook:

# Auto mode: launches your browser, you log in, cookies extracted automatically
nlm login

# Check if already authenticated
nlm login --check

# Use a named profile (for multiple Google accounts)
nlm login --profile work
nlm login --profile personal

# Manual mode: import cookies from a file
nlm login --manual --file cookies.txt

# External CDP provider (e.g., OpenClaw-managed browser)
nlm login --provider openclaw --cdp-url http://127.0.0.1:18800

New profiles ask where to keep the saved login before the browser opens: Protected (encrypted, key in your OS keystore, recommended) or a plain file. Scripts can skip the question with nlm login --storage protected (or --storage file). Existing profiles keep their mode; change it any time in nlm setup โ†’ Credential protection.

Profile management:

nlm login --check                    # Show current auth status
nlm login switch <profile>           # Switch the default profile
nlm login profile list               # List all profiles with email addresses
nlm login profile delete <profile>   # Delete a profile
nlm login profile rename <old> <new> # Rename a profile

From an MCP-only app (for example Claude CoWork): ask the AI to use the profile tool. It can list your accounts, switch for the session, and, only if you ask, make one your saved default.

Unattended / scheduled refresh:

A live session self-heals โ€” when Google's short-lived cookies age out, the client automatically runs a headless refresh. For unattended machines you can also refresh proactively from a scheduler so a session never lapses:

nlm auth refresh                     # Headless, no interaction; exits non-zero on failure
nlm auth refresh --profile work      # Refresh a named profile
nlm auth refresh --http-only         # Validate without opening a browser

--http-only forces HTTP transport, including when CDP transport is configured. It cannot renew browser-dependent PSIDTS cookies or revive a fully expired login. Automatic recovery uses a per-process cooldown and failure budget; explicit refresh commands bypass these limits. See authentication guidance.

Run browser-based refresh on a timer (cron/launchd). It needs a saved Chrome profile from a prior nlm login, and does not apply when NOTEBOOKLM_COOKIES is set as an environment variable (that value overrides saved credentials).

Enterprise Authentication (Gemini Notebook Enterprise)

For organizations using Gemini Notebook Enterprise via Google Cloud, ask your Enterprise administrator for the project ID or number, the deployment location/multi-region, and confirmation that your account has access. The current documented host is notebook.cloud.google.com; older deployments may use notebooklm.cloud.google.com or vertexaisearch.cloud.google.com.

  1. Set Base URL, GCP Project ID & Location:

    export NOTEBOOKLM_BASE_URL="https://notebook.cloud.google.com"
    # Required: your GCP project ID or project number from your administrator
    export NOTEBOOKLM_PROJECT_ID="your-gcp-project-id-or-number"
    # Optional: GCP location/multi-region from your administrator: global (default), us, or eu
    export NOTEBOOKLM_LOCATION="global"
  2. Save an Enterprise Auth Profile: This opens the configured Enterprise URL in an isolated browser profile. Sign in with your organization account:

    nlm login --profile enterprise
    nlm login switch enterprise

    You can switch back to a personal profile at any time:

    unset NOTEBOOKLM_BASE_URL NOTEBOOKLM_PROJECT_ID NOTEBOOKLM_LOCATION
    nlm login switch personal
  3. Configure MCP Server with Enterprise Environment Variables: When adding the MCP server to AI assistants (Claude, Cursor, etc.), pass NOTEBOOKLM_BASE_URL, NOTEBOOKLM_PROJECT_ID, and optionally NOTEBOOKLM_LOCATION:

    {
      "mcpServers": {
        "gemini-notebook-mcp": {
          "command": "notebooklm-mcp",
          "env": {
            "NOTEBOOKLM_BASE_URL": "https://notebook.cloud.google.com",
            "NOTEBOOKLM_PROJECT_ID": "your-gcp-project-id-or-number",
            "NOTEBOOKLM_LOCATION": "global"
          }
        }
      }
    }

Each profile gets its own isolated browser session, so you can be logged into multiple Google accounts simultaneously. Enterprise environment variables apply to the current process, so keep them in an Enterprise-only shell or MCP configuration when you also use a personal account.

Standalone Auth Tool

If you only need the MCP server (not the CLI):

nlm login              # Auto mode (launches browser)
nlm login --manual     # Manual file mode

How it works: Auto mode launches a dedicated browser profile (supports Chrome, Arc, Dia, Comet, Brave, Edge, Chromium, Firefox, and more), you log in to Google, and cookies are extracted automatically. Your login persists for future auth refreshes.

Prefer a specific browser? Set it with nlm config set auth.browser chromium (or comet, dia, brave, arc, edge, chrome, firefox, etc.). Falls back to auto-detection if the preferred named browser is not found. For any other Chromium-compatible browser, set its executable with nlm config set auth.browser_path /path/to/browser or NLM_BROWSER_PATH; an invalid explicit path fails closed instead of launching a different browser. When Chromium/CDP is unavailable, auto can fall back to Firefox.

For detailed instructions and troubleshooting, see docs/AUTHENTICATION.md.

MCP Configuration

โš ๏ธ Context Window Warning: This MCP provides 55 tools. Disable it when not using Gemini Notebook to preserve context. In Claude Code: @gemini-notebook-mcp to toggle. To keep it on but expose only a subset, see Selective tool exposure.

The setup wizard is the recommended way to connect tools โ€” see Quick Start for what each menu option does:

nlm setup

MCP configuration goes to each app's user-level settings. Codex CLI and the ChatGPT desktop app share one MCP configuration on the same host. GitHub Copilot uses the VS Code user profile in the wizard; the direct command without --scope user targets the current workspace.

For direct setup or scripts, keep using the existing commands:

nlm setup add codex                         # Codex CLI / ChatGPT desktop
nlm setup add github-copilot --scope user   # VS Code user profile
nlm setup add github-copilot                # Current workspace
nlm setup add claude-desktop --profile 3p   # Relay AI / Claude 3P
nlm setup list                              # Show MCP configuration status

Claude Desktop setup only writes to profiles that are detected as present. If both regular and Relay AI/3P profiles exist, the CLI asks whether to configure regular, 3P, or both. For scripts, use --profile regular|3p|both. If no Claude Desktop profile is detected, nothing is created or changed.

Removal uses the same profile selection, for example nlm setup remove claude-desktop --profile regular. Removal only offers detected profiles containing this MCP or a recognized legacy entry; unrelated MCP servers are left untouched.

Before adding or removing the MCP, fully quit the selected Claude Desktop profile. The CLI detects running regular and Relay AI/3P instances and refuses to write while they are open, because Claude may rewrite the config and discard the change. Reopen Claude Desktop after setup completes.

Install AI Skills (Optional)

The wizard can install the prompting and workflow skill after MCP setup. It defaults to All projects (user level) and can instead install into the current project. Existing current or newer versions are preserved; older or unversioned skills require confirmation before replacement, with a backup made first.

You can also manage skills directly. Supported local skill targets include Cline, Antigravity, OpenClaw, Hermes, Codex, OpenCode, Claude Code, and Gemini CLI.

# Install skill files
nlm skill install cline
nlm skill install openclaw
nlm skill install codex
nlm skill install antigravity

# Update skills
nlm skill update

User-level skill installation requires the target tool to be detected first; the CLI will not create a missing tool directory or install anyway. Use --level project when you intentionally want a project-local skill.

Claude Desktop (Chat and Cowork) and claude.ai

Claude Desktop's Code tab is Claude Code, so it uses the skill installed in ~/.claude/skills/. The Chat and Cowork tabs, and claude.ai, only use skills uploaded to your Claude account. Create the upload file with the wizard (tick Claude Desktop / claude.ai in Add the skill) or directly:

nlm skill package                  # saves ~/Downloads/nlm-skill.zip
nlm skill package --output ~/Desktop

Then in Claude Desktop (or claude.ai) open Customize โ†’ Skills โ†’ Add, pick nlm-skill.zip, and turn the skill on. Re-upload after updating nlm to get the latest skill. The MCP for Chat and Cowork comes from the normal Claude Desktop connection (nlm setup โ†’ Add the MCP).

Remove from a tool

nlm setup remove claude-code

Using uvx (No Install Required)

If you don't want to install the package, you can use uvx to run on-the-fly:

# Run CLI commands directly
uvx --from notebooklm-mcp-cli nlm setup add cursor
uvx --from notebooklm-mcp-cli nlm login

For tools that use JSON config, point them to uvx:

{
  "mcpServers": {
    "gemini-notebook-mcp": {
      "command": "uvx",
      "args": ["--from", "notebooklm-mcp-cli", "notebooklm-mcp"]
    }
  }
}

Tip: Run nlm setup add json for an interactive wizard that generates the right JSON snippet for your tool.

Claude Code / Gemini CLI support adding MCP servers via their own CLI:

claude mcp add --scope user gemini-notebook-mcp notebooklm-mcp
gemini mcp add --scope user gemini-notebook-mcp notebooklm-mcp

Cursor / Windsurf resolve commands from your PATH, so the command name is enough:

{
  "mcpServers": {
    "gemini-notebook-mcp": {
      "command": "notebooklm-mcp"
    }
  }
}

Tool

Config Location

Cursor

~/.cursor/mcp.json

Windsurf

~/.codeium/windsurf/mcp_config.json

GitHub Copilot (VS Code workspace) uses .vscode/mcp.json with a top-level servers key:

{
  "servers": {
    "gemini-notebook-mcp": {
      "command": "notebooklm-mcp",
      "args": []
    }
  }
}

Claude Desktop may not resolve PATH โ€” use the full path to the binary:

{
  "mcpServers": {
    "gemini-notebook-mcp": {
      "command": "/full/path/to/notebooklm-mcp"
    }
  }
}

Find your path with: which notebooklm-mcp

Tool

Config Location

Claude Desktop (macOS current/3P)

~/Library/Application Support/Claude-3p/claude_desktop_config.json

Claude Desktop (macOS legacy)

~/Library/Application Support/Claude/claude_desktop_config.json

Claude Desktop (Windows)

%APPDATA%\Claude\claude_desktop_config.json (an unambiguous MSIX path is detected automatically)

Claude Desktop (Windows 3P)

%LOCALAPPDATA%\Claude-3p\claude_desktop_config.json

Claude Desktop (Linux)

~/.config/Claude/claude_desktop_config.json

Claude Desktop (Linux 3P)

${XDG_CONFIG_HOME:-~/.config}/Claude-3p/claude_desktop_config.json

GitHub Copilot

.vscode/mcp.json

๐Ÿ“š Full configuration details: MCP Guide โ€” Server options, environment variables, HTTP transport, and context window management. For Claude web/mobile and public deployment, read Remote MCP Deployment first.

What You Can Do

Simply chat with your AI tool (Claude Code, Cursor, Gemini CLI) using natural language. Here are some examples:

Research & Discovery

  • "List all my Gemini Notebook notebooks"

  • "Create a new notebook called 'AI Strategy Research'"

  • "Start web research on 'enterprise AI ROI metrics' and show me what sources it finds"

  • "Do a deep research on 'cloud marketplace trends' and import the top 10 sources"

  • "Search my Google Drive for documents about 'product roadmap' and create a notebook"

Adding Content

  • "Add this URL to my notebook: https://example.com/article"

  • "Add this YouTube video about Kubernetes to the notebook"

  • "Add my meeting notes as a text source to this notebook"

  • "Import this Google Doc into my research notebook"

AI-Powered Analysis

  • "What are the key findings in this notebook?"

  • "Summarize the main arguments across all these sources"

  • "What does this source say about security best practices?"

  • "Get an AI summary of what this notebook is about"

  • "Configure the chat to use a learning guide style with longer responses"

(All queries sent from CLI or MCP automatically persist in your Gemini Notebook web UI chat history!)

Content Generation

  • "Create an audio podcast overview of this notebook in deep dive format"

  • "Generate a video explainer with classic visual style"

  • "Make a short vertical video overview of the key idea"

  • "Make a briefing doc from these sources"

  • "Create flashcards for studying, medium difficulty"

  • "Generate an infographic in landscape orientation with professional style"

  • "Build a mind map from my research sources"

  • "Create a slide deck presentation from this notebook"

Smart Management

  • "Check which Google Drive sources are out of date and sync them"

  • "Show me all the sources in this notebook with their freshness status"

  • "Delete this source from the notebook"

  • "Check the status of my audio overview generation"

  • "Check this specific artifact without listing every Studio item"

  • "List only the generated videos in this notebook"

Sharing & Collaboration

  • "Show me the sharing settings for this notebook"

  • "Make this notebook public so anyone with the link can view it"

  • "Disable public access to this notebook"

  • "Invite user@example.com as an editor to this notebook"

  • "Add a viewer to my research notebook"

Pro tip: After creating studio content (audio, video, reports, etc.), poll the status to get download URLs when generation completes.

Authentication Lifecycle

Component

Duration

Refresh

Cookies

~2-4 weeks

Auto-refresh via headless browser (if profile saved)

CSRF Token

~minutes

Auto-refreshed on every request failure

Session ID

Per MCP session

Auto-extracted on MCP start

v0.1.9+: The server now automatically handles token expiration:

  1. Refreshes CSRF tokens immediately when expired

  2. Reloads cookies from disk if updated externally

  3. Runs headless browser auth if profile has saved login

You can also call refresh_auth() to explicitly reload and validate tokens, or refresh_auth(profile="work") to refresh a named saved account without switching the MCP server's active account.

If automatic refresh fails (Google login fully expired), run nlm login again.

For suspected browser-bound auth replay failures, run nlm doctor auth-replay. If the cdp_in_page probe succeeds while normal replay fails, see Experimental browser-backed RPC transport.

Troubleshooting

uv tool upgrade Not Installing Latest Version

Symptoms:

  • Running uv tool upgrade notebooklm-mcp-cli installs an older version (e.g., 0.1.5 instead of 0.1.9)

  • uv cache clean doesn't fix the issue

Why this happens: uv tool upgrade respects version constraints from your original installation. If you initially installed an older version or with a constraint, upgrade stays within those bounds by design.

Fix โ€” Force reinstall:

uv tool install --force notebooklm-mcp-cli

This bypasses any cached constraints and installs the absolute latest version from PyPI.

Verify:

uv tool list | grep notebooklm
# Should show: notebooklm-mcp-cli v0.1.9 (or latest)

Limitations

  • Rate limits: Chat and Studio usage is metered as compute against a rolling (~5h) window and a weekly cap, scaled by plan tier. Run nlm usage to see what is left and when it resets

  • No official support: API may change without notice

  • Cookie expiration: Need to re-extract cookies every few weeks

Contributing

See CLAUDE.md for detailed API documentation and how to add new features.

Vibe Coding Alert

Full transparency: this project was built by a non-developer using AI coding assistants. If you're an experienced Python developer, you might look at this codebase and wince. That's okay.

The goal here was to scratch an itch - programmatic access to Gemini Notebook - and learn along the way. The code works, but it's likely missing patterns, optimizations, or elegance that only years of experience can provide.

This is where you come in. If you see something that makes you cringe, please consider contributing rather than just closing the tab. This is open source specifically because human expertise is irreplaceable. Whether it's refactoring, better error handling, type hints, or architectural guidance - PRs and issues are welcome.

Think of it as a chance to mentor an AI-assisted developer through code review. We all benefit when experienced developers share their knowledge.

Credits

Special thanks to:

  • Le Anh Tuan (@latuannetnam) for contributing the HTTP transport, debug logging system, and performance optimizations.

  • David Szabo-Pele (@davidszp) for the source_get_content tool and Linux auth fixes.

  • saitrogen (@saitrogen) for the research polling query fallback fix.

  • devnull03 (@devnull03) for multi-browser CDP authentication support (Arc, Brave, Edge, Chromium, Vivaldi, Opera).

  • VooDisss (@VooDisss) for multi-browser authentication improvements.

  • codepiano (@codepiano) for the configurable DevTools timeout for the auth CLI.

  • Tony Hansmann (@997unix) for contributing the nlm setup and nlm doctor commands and CLI Guide documentation.

  • Fabiana Furtado (@fabianafurtadoff) for batch operations, cross-notebook query, pipelines, and smart select/tagging (PR #90).

  • Amy-Ra-lph (@Amy-Ra-lph) for security hardening: TOCTOU-safe credential storage, sensitive cookie redaction from debug logs, and pinning all CI actions to full commit SHAs (PRs #205โ€“207).

  • Kyle Brodeur (@kylebrodeur) for WSL2 authentication support with Windows Chrome integration (PR #138).

  • Robiton (@Robiton) for enterprise Gemini Notebook support via configurable base URL (PR #114).

  • pjeby (@pjeby) for connection pooling and fast startup improvements (PR #54).

  • beausea (@beausea) for making the interface language configurable via the NOTEBOOKLM_HL environment variable (PR #59).

  • JumpLao (@JumpLao) for extended audio, video, and image format support (PR #82).

  • cbruyndoncx (@cbruyndoncx) for including cited_text passages in query output (PR #81).

  • zxyasfas (@zxyasfas) for cited-only research import (PR #188).

  • Serdar Akฤฑn (@SERDAR-AKIN) for the multi-probe AuthHealthChecker that fixes false "stale" reports for semi-stale cookies (PR #219).

Star History

Star History Chart

License

MIT License

Available Tools

55 tools
aliasAliasB

Manage aliases: short names that stand in for notebook IDs.

Once an alias exists, any tool's notebook_id can be the alias. Aliases are shared across all profiles.

NameRequiredDescriptionDefault
nameNoAlias name (get/set/delete).
valueNoThe real ID the alias points to (set).
actionNolist (default) | get | set | deletelist
alias_typeNoOptional label, e.g. "notebook" (set).unknown

Output Schema

NameRequiredDescription

No output parameters

batchBatchA

Perform batch operations across multiple notebooks.

Actions:

  • query: Query multiple notebooks with the same question

  • add_source: Add the same source URL to multiple notebooks

  • create: Create multiple notebooks at once

  • delete: Delete multiple notebooks (IRREVERSIBLE, requires confirm=True)

  • studio: Generate studio artifacts across multiple notebooks

NameRequiredDescriptionDefault
allNoApply to ALL notebooks
tagsNoComma-separated tags to select notebooks
queryNoQuestion to ask (for action=query)
actionYesOperation to perform (query, add_source, create, delete, studio)
titlesNoComma-separated notebook titles (for action=create)
confirmNoMust be True for delete action
source_urlNoURL to add (for action=add_source)
artifact_typeNoArtifact type (for action=studio): audio, video, report, etc.audio
notebook_namesNoComma-separated notebook names or IDs

Output Schema

NameRequiredDescription

No output parameters

chat_configureChat ConfigureC

Configure notebook chat settings.

NameRequiredDescriptionDefault
goalNodefault|learning_guide|customdefault
notebook_idYesNotebook UUID
custom_promptNoRequired when goal=custom (max 10000 chars)
response_lengthNodefault|longer|shorterdefault

Output Schema

NameRequiredDescription

No output parameters

chat_deleteChat DeleteA

Permanently delete all chat history for a notebook. Requires confirmation.

NameRequiredDescriptionDefault
confirmNoMust be True after user approval
notebook_idYesNotebook ID or title alias

Output Schema

NameRequiredDescription

No output parameters

chat_exportChat ExportC

Export a chat transcript to Markdown or JSON.

NameRequiredDescriptionDefault
formatNoExport format: 'md' or 'json' (default: 'md')md
notebook_idYesNotebook ID or title alias
conversation_idNoOptional conversation ID

Output Schema

NameRequiredDescription

No output parameters

chat_getChat GetB

Get full transcript of a specific chat session.

NameRequiredDescriptionDefault
notebook_idYesNotebook ID or title alias
conversation_idNoOptional conversation ID (defaults to latest active session)

Output Schema

NameRequiredDescription

No output parameters

chat_listChat ListA

List chat sessions for a notebook.

NameRequiredDescriptionDefault
limitNoMax chat sessions to return (default: 20)
notebook_idYesNotebook ID or title alias

Output Schema

NameRequiredDescription

No output parameters

chat_save_to_noteChat Save To NoteC

Save a chat (or one turn of it) as a Note in the notebook.

NameRequiredDescriptionDefault
turnNo1-indexed turn to save; 0 (default) saves the whole chat
titleNoOptional note title
notebook_idYesNotebook ID or title alias
conversation_idYesConversation ID (see chat_list)

Output Schema

NameRequiredDescription

No output parameters

collection_createCollection CreateC

Create a new collection.

NameRequiredDescriptionDefault
nameYesName of the collection
notebook_idsNoList of notebook UUIDs to include in the collection (optional)

Output Schema

NameRequiredDescription

No output parameters

collection_deleteCollection DeleteA

Delete a collection permanently. Notebooks inside the collection are NOT deleted.

NameRequiredDescriptionDefault
confirmNoMust be True after user approval
collection_idYesUUID of the collection

Output Schema

NameRequiredDescription

No output parameters

collection_editCollection EditA

Edit an existing collection's name and/or list of notebooks.

NameRequiredDescriptionDefault
nameNoNew name for the collection (optional)
notebook_idsNoNew complete list of notebook UUIDs to include (optional)
collection_idYesUUID of the collection

Output Schema

NameRequiredDescription

No output parameters

collection_listCollection ListA

List all native collections.

NameRequiredDescriptionDefault

No parameters

Output Schema

NameRequiredDescription

No output parameters

collection_set_emojiCollection Set EmojiA

Set or clear the emoji marker on a collection.

NameRequiredDescriptionDefault
emojiYesEmoji character (use empty string "" to clear)
collection_idYesUUID of the collection

Output Schema

NameRequiredDescription

No output parameters

cross_notebook_queryCross Notebook QueryA

Query multiple notebooks and get aggregated answers with per-notebook citations.

Specify notebooks by name, by tags, or use all=True for all notebooks.

NameRequiredDescriptionDefault
allNoQuery ALL notebooks (use with caution โ€” rate limits apply)
tagsNoComma-separated tags to select notebooks (e.g. "ai,mcp")
queryYesQuestion to ask across notebooks
notebook_namesNoComma-separated notebook names or IDs (e.g. "AI Research, Dev Tools")

Output Schema

NameRequiredDescription

No output parameters

download_all_artifactsDownload All ArtifactsA

Download all completed studio artifacts of one notebook โ€” or every notebook.

Creates a subdirectory of output_dir named after each notebook title and saves every completed artifact there, named after its title with the type's default extension (report โ†’ .md, mind_map โ†’ .json, video โ†’ .mp4, slide_deck โ†’ .pdf/.pptx, ...). Artifacts that are still generating or failed are skipped and listed in the result. A failure on one artifact (or one notebook in a sweep) does not stop the others.

NameRequiredDescriptionDefault
output_dirNoBase directory for the per-notebook folders, relative to the download directory (default: the download directory itself). Paths outside it are refused; see download_artifact..
notebook_idNoNotebook UUID (omit when all_notebooks=True)
all_notebooksNoSweep every notebook in the account instead of one
output_formatNoFor quiz/flashcards only: json|markdown|htmljson
skip_existingNoSkip artifacts whose target file already exists โ€” makes repeated runs incremental
artifact_typesNoRestrict to these types, e.g. ["video", "slide_deck", "mind_map", "report"]. Default: all types.
slide_deck_formatNoFor slide decks only: pdf (default) or pptxpdf

Output Schema

NameRequiredDescription

No output parameters

download_artifactDownload ArtifactC

Download any NotebookLM artifact to a file.

Unified download tool replacing 9 separate download tools. Supports all artifact types: audio, video, report, mind_map, slide_deck, infographic, data_table, file, quiz, flashcards.

NameRequiredDescriptionDefault
waitNoPoll while the artifact download is still propagating
artifact_idNoOptional specific artifact ID (uses latest if not provided)
notebook_idYesNotebook UUID
output_pathYesWhere to save the file, relative to the download directory (e.g. "podcast.m4a" or "My Notebook/report.md"). Downloads are confined to that directory; a path outside it is refused. It defaults to ~/Downloads/gemini-notebook and the operator can move it with NOTEBOOKLM_DOWNLOAD_DIR. The saved absolute path comes back in the result.
wait_timeoutNoService polling budget when ``wait`` is enabled; internal CDN retries and the file transfer can extend total wall time
artifact_typeYesType of artifact to download: - audio: Audio Overview (MP4/MP3) - video: Video Overview (MP4) - report: Report (Markdown) - mind_map: Mind Map (JSON) - slide_deck: Slide Deck (PDF or PPTX) - infographic: Infographic (PNG) - data_table: Data Table (CSV) - data_table_xlsx: Data Table Excel export (XLSX) - file: Generic Studio file export - quiz: Quiz (json|markdown|html) - flashcards: Flashcards (json|markdown|html)
output_formatNoFor quiz/flashcards only: json|markdown|html (default: json)json
poll_intervalNoSeconds between readiness checks
slide_deck_formatNoFor slide_deck only: pdf (default) or pptxpdf

Output Schema

NameRequiredDescription

No output parameters

export_artifactExport ArtifactA

Export a NotebookLM artifact to Google Docs or Sheets.

Supports:

  • Data Tables โ†’ Google Sheets

  • Reports (Briefing Doc, Study Guide, Blog Post) โ†’ Google Docs

NameRequiredDescriptionDefault
titleNoTitle for exported document (optional)
artifact_idYesArtifact UUID to export
export_typeYes"docs" or "sheets"
notebook_idYesNotebook UUID

Output Schema

NameRequiredDescription

No output parameters

labelLabelA

Manage source labels in a notebook. Unified tool for all label operations.

Labels let you organize sources into thematic categories. Requires 5+ sources for auto-labeling. Sources can belong to multiple labels simultaneously.

Supports: auto, list, reorganize, create, rename, set_emoji, move_source, delete

NameRequiredDescriptionDefault
nameNoLabel display name (required for create and rename)
emojiNoEmoji character for set_emoji (e.g. "๐Ÿ“Š"), or "" to clear
actionYesOperation to perform: - auto: AI auto-labels all sources into thematic categories - list: List current labels (triggers AI if none exist) - reorganize: Force AI re-categorization (requires confirm=True unless unlabeled_only=True) - create: Create a new empty label (requires name) - rename: Rename a label (requires label_id, name) - set_emoji: Set or clear emoji on a label (requires label_id, emoji) - move_source: Assign a source to a label (requires label_id, source_id) - delete: Delete label(s) permanently (requires label_id or label_ids, confirm=True)
confirmNoMust be True for delete action and for reorganize with unlabeled_only=False
label_idNoLabel UUID (required for rename, set_emoji, move_source, delete)
label_idsNoList of label UUIDs for batch delete (alternative to label_id)
source_idNoSource UUID to assign (required for move_source)
notebook_idYesNotebook UUID
unlabeled_onlyNoFor reorganize: if True, only label sources not yet in any label. If False (default), replaces ALL existing labels from scratch (requires confirm=True).

Output Schema

NameRequiredDescription

No output parameters

noteNoteB

Manage notes in a notebook. Unified tool for all note operations.

Supports: create, list, update, delete

NameRequiredDescriptionDefault
titleNoNote title (optional for create/update)
actionYesOperation to perform: - create: Create a new note - list: List all notes in notebook - update: Update an existing note - delete: Delete a note permanently (requires confirm=True)
confirmNoMust be True for delete action
contentNoNote content (required for create, optional for update)
note_idNoNote UUID (required for update/delete)
notebook_idYesNotebook UUID

Output Schema

NameRequiredDescription

No output parameters

notebook_createNotebook CreateB

Create a new notebook.

NameRequiredDescriptionDefault
titleNoOptional title for the notebook

Output Schema

NameRequiredDescription

No output parameters

notebook_deleteNotebook DeleteA

Delete notebook permanently. IRREVERSIBLE. Requires confirm=True.

NameRequiredDescriptionDefault
confirmNoMust be True after user approval
notebook_idYesNotebook UUID

Output Schema

NameRequiredDescription

No output parameters

notebook_describeNotebook DescribeA

Get AI-generated notebook summary with suggested topics.

NameRequiredDescriptionDefault
notebook_idYesNotebook UUID

Output Schema

NameRequiredDescription

No output parameters

notebook_getNotebook GetC

Get notebook details with sources.

NameRequiredDescriptionDefault
notebook_idYesNotebook UUID

Output Schema

NameRequiredDescription

No output parameters

notebook_listNotebook ListC

List all notebooks.

NameRequiredDescriptionDefault
max_resultsNoMaximum number of notebooks to return (default: 100)

Output Schema

NameRequiredDescription

No output parameters

notebook_queryNotebook QueryA

Ask AI about EXISTING sources already in notebook. NOT for finding new sources.

Use research_start instead for: deep research, web search, find new sources, Drive search.

NameRequiredDescriptionDefault
queryYesQuestion to ask
timeoutNoWall-clock query budget in seconds (default: from env NOTEBOOKLM_QUERY_TIMEOUT or 120.0; source-heavy notebooks may need 180+)
source_idsNoSource IDs to query (default: all)
notebook_idYesNotebook UUID
conversation_idNoFor follow-up questions
new_conversationNoStart a fresh conversation when conversation_id is omitted

Output Schema

NameRequiredDescription

No output parameters

notebook_query_startNotebook Query StartA

Start a notebook query asynchronously for source-heavy notebooks or long questions.

Use this instead of notebook_query when the response may take longer than the default 120-second budget. A timeout around 180 seconds is a useful starting point for source-heavy notebooks. Returns immediately with a query_id. Poll notebook_query_status with the query_id to get the result.

Workflow: notebook_query_start -> poll notebook_query_status until completed.

NameRequiredDescriptionDefault
queryYesQuestion to ask
timeoutNoWall-clock query budget in seconds (default: from env NOTEBOOKLM_QUERY_TIMEOUT or 120.0; source-heavy notebooks may need 180+)
source_idsNoSource IDs to query (default: all)
notebook_idYesNotebook UUID
conversation_idNoFor follow-up questions
new_conversationNoStart a fresh conversation when conversation_id is omitted

Output Schema

NameRequiredDescription

No output parameters

notebook_query_statusNotebook Query StatusA

Check the status of an async notebook query started with notebook_query_start.

Returns the query result when completed, or current status if still in progress. Poll this tool every few seconds until status is 'completed' or 'error'.

NameRequiredDescriptionDefault
query_idYesThe query ID returned by notebook_query_start

Output Schema

NameRequiredDescription

No output parameters

notebook_renameNotebook RenameC

Rename a notebook.

NameRequiredDescriptionDefault
new_titleYesNew title
notebook_idYesNotebook UUID

Output Schema

NameRequiredDescription

No output parameters

notebook_share_batchNotebook Share BatchC

Invite multiple collaborators in a single request.

NameRequiredDescriptionDefault
confirmNoMust be True after user approval
recipientsYesList of dicts, each with 'email' (str) and optional 'role' (str). Role defaults to 'viewer'. Example: [{"email": "a@b.com", "role": "editor"}]
notebook_idYesNotebook UUID

Output Schema

NameRequiredDescription

No output parameters

notebook_share_inviteNotebook Share InviteC

Invite a collaborator by email.

NameRequiredDescriptionDefault
roleNo"viewer" or "editor" (default: viewer)viewer
emailYesEmail address to invite
notebook_idYesNotebook UUID

Output Schema

NameRequiredDescription

No output parameters

notebook_share_publicNotebook Share PublicA

Enable or disable public link access.

NameRequiredDescriptionDefault
is_publicNoTrue to enable public link, False to disable (default: True)
notebook_idYesNotebook UUID

Output Schema

NameRequiredDescription

No output parameters

notebook_share_statusNotebook Share StatusA

Get current sharing settings and collaborators.

NameRequiredDescriptionDefault
notebook_idYesNotebook UUID

Output Schema

NameRequiredDescription

No output parameters

pipelinePipelineA

Manage and execute multi-step notebook pipelines.

Actions:

  • run: Execute a pipeline on a notebook

  • list: List all available pipelines (builtin and user-defined)

  • create: Save a user-defined pipeline (pipeline_name + steps; each step is {"action": , "params": {...}})

NameRequiredDescriptionDefault
stepsNoStep definitions (required for action=create)
actionYesOperation to perform (run, list, create)
input_urlNoURL variable for pipelines that need it (replaces $INPUT_URL)
descriptionNoPipeline description (for action=create)
notebook_idNoTarget notebook UUID (required for action=run)
pipeline_nameNoPipeline name (required for action=run, e.g. "ingest-and-podcast")

Output Schema

NameRequiredDescription

No output parameters

profileProfileB

List saved Google accounts (profiles) and choose which one to use.

NameRequiredDescriptionDefault
nameNoProfile name for status / switch.
actionNolist (default) | status | switch - list: every saved profile with email, storage mode, and which is active - status: storage details for `name` (or the active profile); metadata only - switch: use profile `name` for every later tool call until this MCP server restarts. In apps that share one server across chats (e.g. Claude Desktop), other open chats switch too.list
make_defaultNoOnly with action="switch". False (default) leaves the saved default alone. True ALSO makes it the saved default for the CLI and every future session - only when the user explicitly asks to change their default account.

Output Schema

NameRequiredDescription

No output parameters

refresh_authRefresh AuthA

Reload auth for the requested profile without switching the active account.

Call this after running nlm login to pick up new tokens, or attempt headless recovery with the profile's saved browser. An explicit profile does not switch the MCP server's active account.

Returns status indicating if tokens were refreshed successfully.

NameRequiredDescriptionDefault
profileNo

Output Schema

NameRequiredDescription

No output parameters

reportReportC

Work with an interactive report's embedded elements. Unified report tool.

Create the report itself with studio_create(artifact_type="report", report_format="Interactive"). Then:

NameRequiredDescriptionDefault
planNo(generate) list of {"element_id", "steering_prompt"?, "settings"?}. Omit steering_prompt to use the element's saved prompt or card description. settings use names from action="elements". Sources and language come from the report.
actionYesOperation to perform: - get: report markdown, prompt, language, source_ids, parse_status and every element - elements: list elements; each has element_id, type (audio|video| slide_deck|infographic|flashcards|quiz|mind_map|unsupported), element_status, description (card recommendation), section ({heading, text} it sits in, or null) and settings (allowed values + defaults). Optional wait_for / timeout / include_content. - generate: validate or run a plan of 1-20 elements (see plan)
confirmNo(generate) without it the plan is only validated and returned with generations_to_start for the user's approval; with confirm=True every item is started. One item's failure does not stop others; a quota/auth failure stops the rest (stopped_reason). outcome per item: started | failed | unknown (kickoff response lost; NOT re-sent) | not_started. Never set confirm=True unless the user approved this exact plan or explicitly delegated choosing AND generating.
timeoutNo(elements) max seconds to wait (default 600); timed_out=true is not an error
languageNo(generate) BCP-47 override (default: the report's language)
wait_forNo(elements) element ids to wait on, list or comma-separated; returns when all are completed/failed/suggested/missing or timeout
artifact_idYesInteractive report artifact UUID
notebook_idYesNotebook UUID
include_contentNo(elements) inline content of completed quiz/flashcards/ mind map for review. Review is against the plan and section, not the original sources.

Output Schema

NameRequiredDescription

No output parameters

research_importResearch ImportA

Import discovered sources into notebook.

Call after research_status shows status="completed".

NameRequiredDescriptionDefault
task_idYesResearch task ID
timeoutNoImport timeout in seconds (default: 300, increase for large notebooks)
cited_onlyNoImport only sources cited by the research report. Overrides source_indices when enabled.
notebook_idYesNotebook UUID
source_indicesNoSource indices to import (default: all)

Output Schema

NameRequiredDescription

No output parameters

research_startResearch StartA

Deep research / fast research: Search web or Google Drive to FIND NEW sources.

Use this for: "deep research on X", "find sources about Y", "search web for Z", "search Drive". Workflow: research_start -> poll research_status -> research_import.

NameRequiredDescriptionDefault
modeNofast (~30s, ~10 sources) | deep (~5min, ~40 sources, web only)fast
queryYesWhat to search for (e.g. "quantum computing advances")
titleNoTitle for new notebook
sourceNoweb|drive (where to search)web
notebook_idNoExisting notebook (creates new if not provided)

Output Schema

NameRequiredDescription

No output parameters

research_statusResearch StatusA

Poll research progress. Blocks until complete or timeout.

NameRequiredDescriptionDefault
queryNoOptional query text for fallback matching when task_id changes (deep research). Contributed by @saitrogen (PR #15).
compactNoIf True (default), truncate report and limit sources shown to save tokens. Use compact=False to get full details.
task_idNoOptional Task ID to poll for a specific research task.
max_waitNoMax seconds to wait (default: 900, 0=single poll)
auto_importNoIf True, automatically import sources when research completes. If False (default), returns next_action hint to call research_import manually.
notebook_idYesNotebook UUID
poll_intervalNoSeconds between polls (default: 30)

Output Schema

NameRequiredDescription

No output parameters

save_auth_tokensSave Auth TokensA

Save NotebookLM cookies (FALLBACK method - try nlm login first!).

IMPORTANT FOR AI ASSISTANTS:

  • First, run nlm login via Bash/terminal (automated, preferred)

  • Only use this tool if the automated CLI fails

NameRequiredDescriptionDefault
cookiesYesCookie header from Chrome DevTools (only needed if CLI fails)
csrf_tokenNoDeprecated - auto-extracted
session_idNoDeprecated - auto-extracted
request_urlNoOptional - contains session ID if extracting manually
request_bodyNoOptional - contains CSRF if extracting manually

Output Schema

NameRequiredDescription

No output parameters

server_infoServer InfoA

Get version, auth status, and conservative MCP capability visibility.

AI assistants: If update_available is True, inform the user that a new version is available and suggest updating with the provided command.

auth_status is the result of an AuthHealthChecker probe. The checker runs a multi-probe strategy (homepage fetch + API fallback) with 30-second TTL caching and mtime-based bypass on auth-file changes. The reported value may therefore be up to 30 seconds old, and an external nlm login is picked up within one check cycle without waiting for the TTL to expire.

auth_status meanings:

  • "configured" โ€” homepage (or API fallback) check passed; credentials are good. Cached credentials may be reported as configured for up to 30 seconds.

  • "not_configured" โ€” no credentials are stored (first-time setup).

  • "stale" โ€” credentials are known-bad (expired or past the 7-day heuristic). Operations will fail; ask the user to run nlm login to refresh.

  • "unverified" โ€” the check could not be completed (network error, timeout, non-200 response). Cached credentials may still work for actual API calls, so do not assume the user needs to re-auth.

  • "error" โ€” unexpected exception inside the check itself.

Returns: dict with version info: - version: Current installed version - latest_version: Latest version on PyPI (or None if check failed) - update_available: True if a newer version is available - auth_status: configured | stale | unverified | not_configured | error - storage_warning: Short warning if conflict/pending op exists (or None) - update_command: Command to run to update - mcp_capabilities: Built-in tool groups visible in this server process - provider_capabilities: Explicitly unprobed provider/account capabilities

  • active_profile: Which saved account is in use and why (session switch or saved default)

  • profiles: Saved accounts with email, storage mode (plain/protected) and any storage problems. Metadata only; never opens the OS keystore.

NameRequiredDescriptionDefault

No parameters

Output Schema

NameRequiredDescription

No output parameters

source_addSource AddA

Add a source to a notebook. Unified tool for all source types.

Supports: url, text, drive, file

NameRequiredDescriptionDefault
urlNoURL to add (for source_type=url)
textNoText content to add (for source_type=text)
urlsNoList of URLs to add in bulk (for source_type=url, alternative to url)
waitNoIf True, wait for source processing to complete before returning
titleNoDisplay title (for text sources)
doc_typeNoDrive doc type: doc|slides|sheets|pdf (for source_type=drive)doc
file_pathNoLocal file path on the machine running the MCP server (for source_type=file). A path on a different client/agent host is not accessible to the server.
document_idNoGoogle Drive document ID (for source_type=drive)
notebook_idYesNotebook UUID
source_typeYesType of source to add: - url: Web page or YouTube URL - text: Pasted text content - drive: Google Drive document - file: Local file upload. The canonical local-admission contract has 43 case-insensitive extensions. Admission does not guarantee provider processing success for an individual file. OFFICIAL_FILE_EXTENSIONS: .pdf, .txt, .md, .docx, .csv, .pptx, .epub, .avif, .bmp, .gif, .heic, .heif, .ico, .jp2, .jpe, .jpeg, .jpg, .png, .tif, .tiff, .webp, .3g2, .3gp, .aac, .aif, .aifc, .aiff, .amr, .au, .avi, .cda, .m4a, .mid, .mp3, .mp4, .mpeg, .ogg, .opus, .ra, .ram, .snd, .wav, .wma Image-bearing sources may feed Studio video generation's visual-crop pipeline; charts, photos, and diagrams may be extracted as on-screen aids.
wait_timeoutNoMax seconds to wait if wait=True (default 120)

Output Schema

NameRequiredDescription

No output parameters

source_deleteSource DeleteA

Delete source(s) permanently. IRREVERSIBLE. Requires confirm=True.

NameRequiredDescriptionDefault
confirmNoMust be True after user approval
source_idNoSource UUID to delete (single)
source_idsNoList of source UUIDs to delete (bulk, alternative to source_id)

Output Schema

NameRequiredDescription

No output parameters

source_describeSource DescribeB

Get AI-generated source summary with keyword chips.

NameRequiredDescriptionDefault
source_idYesSource UUID

Output Schema

NameRequiredDescription

No output parameters

source_get_contentSource Get ContentA

Get raw text content of a source (no AI processing).

Returns the original indexed text from PDFs, web pages, pasted text, or YouTube transcripts. Much faster than notebook_query for content export.

NameRequiredDescriptionDefault
waitNoPoll until indexed content is available
source_idYesSource UUID
wait_timeoutNoMaximum seconds to wait when ``wait`` is enabled
poll_intervalNoSeconds between readiness checks

Output Schema

NameRequiredDescription

No output parameters

source_list_driveSource List DriveA

List sources with types and Drive freshness status.

Use before source_sync_drive to identify stale sources. Returned Drive sources include can_sync to identify files eligible for a manual Drive sync attempt. An individual sync attempt may still fail.

NameRequiredDescriptionDefault
notebook_idYesNotebook UUID
skip_freshnessNoIf True, skip per-source freshness checks for faster listing

Output Schema

NameRequiredDescription

No output parameters

source_renameSource RenameB

Rename a source in a notebook.

NameRequiredDescriptionDefault
new_titleYesNew display title for the source
source_idYesSource UUID to rename
notebook_idYesNotebook UUID containing the source

Output Schema

NameRequiredDescription

No output parameters

source_sync_driveSource Sync DriveA

Sync Drive sources with latest content. Requires confirm=True.

Call source_list_drive first to identify stale sources.

NameRequiredDescriptionDefault
confirmNoMust be True after user approval
source_idsYesSource UUIDs to sync

Output Schema

NameRequiredDescription

No output parameters

studio_createStudio CreateC

Create any NotebookLM studio artifact. Unified creation tool.

Supports: audio, video, infographic, slide_deck, report, flashcards, quiz, data_table, mind_map

NameRequiredDescriptionDefault
titleNoMind Map
confirmNoMust be True after user approval
languageNo
difficultyNomedium
source_idsNoSource IDs to use (default: all sources)
descriptionNo
notebook_idYesNotebook UUID
orientationNolandscape
audio_formatNodeep_dive
audio_lengthNodefault
detail_levelNostandard
focus_promptNo
slide_formatNodetailed_deck
slide_lengthNodefault
video_formatNoexplainer
visual_styleNoauto_select
artifact_typeYesType of artifact to create: - audio: Audio Overview (podcast) - video: Video Overview - infographic: Visual infographic - slide_deck: Presentation slides (PDF) - report: Text report (Briefing Doc, Study Guide, etc.) - flashcards: Study flashcards - quiz: Multiple choice quiz - data_table: Structured data table - mind_map: Visual mind map
custom_promptNo
report_formatNoBriefing Doc
question_countNo
report_templateNolearning_overview
infographic_styleNoauto_select
video_style_promptNo

Output Schema

NameRequiredDescription

No output parameters

studio_deleteStudio DeleteA

Delete studio artifact. IRREVERSIBLE. Requires confirm=True.

NameRequiredDescriptionDefault
confirmNoMust be True after user approval
artifact_idYesArtifact UUID (from studio_status)
notebook_idYesNotebook UUID

Output Schema

NameRequiredDescription

No output parameters

studio_reviseStudio ReviseA

Revise individual slides in an existing slide deck. Creates a NEW artifact.

Only slide decks support revision. The original artifact is not modified. Poll studio_status after calling to check when the new deck is ready.

NameRequiredDescriptionDefault
confirmNoMust be True after user approval
artifact_idYesUUID of the existing slide deck to revise (from studio_status)
notebook_idYesNotebook UUID
slide_instructionsYesList of revision instructions, each with: - slide: Slide number (1-based, slide 1 = first slide) - instruction: Text describing the desired change Example: [{"slide": 1, "instruction": "Make the title larger"}]

Output Schema

NameRequiredDescription

No output parameters

studio_statusStudio StatusC

Check studio content generation status and get URLs, or rename an artifact.

NameRequiredDescriptionDefault
limitNoMaximum artifacts to return for status (1-100, default 20)
actionNoAction to perform: - status (default): List all artifacts with their status and URLs - rename: Rename an artifact (requires artifact_id and new_title) - list_types: List all supported artifact types with their optionsstatus
offsetNoNumber of artifacts to skip for status pagination
new_titleNoRequired for action="rename" - the new title for the artifact
artifact_idNoFor status, return only this artifact. Required for action="rename".
notebook_idYesNotebook UUID
include_detailsNoInclude prompts, source IDs, report content, and media details

Output Schema

NameRequiredDescription

No output parameters

tagTagA

Manage notebook tags and find relevant notebooks by tag matching.

Actions:

  • add: Add tags to a notebook for smart selection

  • remove: Remove tags from a notebook

  • list: List all tagged notebooks with their tags

  • select: Find notebooks relevant to a query using tag matching

NameRequiredDescriptionDefault
tagsNoComma-separated tags (required for add, remove; e.g. "ai,research,llm")
queryNoSearch query (required for select; e.g. "ai mcp" or "ai,mcp")
actionYesOperation to perform (add, remove, list, select)
notebook_idNoNotebook UUID (required for add, remove)
notebook_titleNoOptional display title (for add)

Output Schema

NameRequiredDescription

No output parameters

usage_getUsage GetA

Show how much of the plan's usage allowance is left, and when it resets.

Gemini Notebook meters usage as compute against two windows at once: a short rolling window and a weekly one. Both are reported, each with the percentage used, the percentage remaining and the reset time in UTC.

NameRequiredDescriptionDefault
profileNoSaved account profile, e.g. "work" or "personal". Overrides environment cookies for this call without switching the default account. Omit to use the MCP server's current authentication.

Output Schema

NameRequiredDescription

No output parameters

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updatesv0.16.0
    • Addedchat_delete
    • Addedsource_search
  2. 1 tool updatev0.15.6
    • Changedrefresh_auth1 field changed
      • addedInput schema / properties / profile
        Added value: +{
        +  "anyOf": [
        +    {
        +      "type": "string"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null
        +}
  3. 4 tool updatesv0.15.1
    • Addedalias
    • Addedchat_save_to_note
    • Changedpipeline3 fields changed
      • changedInput schema / properties / action / description
        Previous value: -"Operation to perform (run, list)"New value: +"Operation to perform (run, list, create)"
      • addedInput schema / properties / description
        Added value: +{
        +  "default": "",
        +  "description": "Pipeline description (for action=create)",
        +  "type": "string"
        +}
      • addedInput schema / properties / steps
        Added value: +{
        +  "anyOf": [
        +    {
        +      "items": {
        +        "additionalProperties": true,
        +        "type": "object"
        +      },
        +      "type": "array"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Step definitions (required for action=create)"
        +}
    • Addedprofile
  4. 1 tool updatev0.13.0
    • Changeddownload_artifact1 field changed
      • changedInput schema / properties / wait_timeout / description
        Previous value: -"Maximum seconds to wait when ``wait`` is enabled"New value: +"Service polling budget when ``wait`` is enabled; internal\nCDN retries and the file transfer can extend total wall time"
  5. 2 tool updatesv0.12.0
    • Addedreport
    • Changedstudio_create1 field changed
      • addedInput schema / properties / report_template
        Added value: +{
        +  "default": "learning_overview",
        +  "type": "string"
        +}
  6. 1 tool updatev0.11.4
    • Changedusage_get1 field changed
      • addedInput schema / properties / profile
        Added value: +{
        +  "anyOf": [
        +    {
        +      "type": "string"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Saved account profile, e.g. \"work\" or \"personal\". Overrides\nenvironment cookies for this call without switching the default\naccount. Omit to use the MCP server's current authentication."
        +}
  7. 1 tool updatev0.11.3
    • Addedusage_get
  8. 45 tool updatesv0.11.2
    • Changedbatch9 fields changed
      • addedInput schema / properties / action / description
        Added value: +"Operation to perform (query, add_source, create, delete, studio)"
      • addedInput schema / properties / all / description
        Added value: +"Apply to ALL notebooks"
      • addedInput schema / properties / artifact_type / description
        Added value: +"Artifact type (for action=studio): audio, video, report, etc."
      • addedInput schema / properties / confirm / description
        Added value: +"Must be True for delete action"
      • addedInput schema / properties / notebook_names / description
        Added value: +"Comma-separated notebook names or IDs"
      • addedInput schema / properties / query / description
        Added value: +"Question to ask (for action=query)"
      • addedInput schema / properties / source_url / description
        Added value: +"URL to add (for action=add_source)"
      • addedInput schema / properties / tags / description
        Added value: +"Comma-separated tags to select notebooks"
      • addedInput schema / properties / titles / description
        Added value: +"Comma-separated notebook titles (for action=create)"
    • Changedchat_configure4 fields changed
      • addedInput schema / properties / custom_prompt / description
        Added value: +"Required when goal=custom (max 10000 chars)"
      • addedInput schema / properties / goal / description
        Added value: +"default|learning_guide|custom"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
      • addedInput schema / properties / response_length / description
        Added value: +"default|longer|shorter"
    • Changedchat_export3 fields changed
      • addedInput schema / properties / conversation_id / description
        Added value: +"Optional conversation ID"
      • addedInput schema / properties / format / description
        Added value: +"Export format: 'md' or 'json' (default: 'md')"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook ID or title alias"
    • Changedchat_get2 fields changed
      • addedInput schema / properties / conversation_id / description
        Added value: +"Optional conversation ID (defaults to latest active session)"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook ID or title alias"
    • Changedchat_list2 fields changed
      • addedInput schema / properties / limit / description
        Added value: +"Max chat sessions to return (default: 20)"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook ID or title alias"
    • Changedcollection_create2 fields changed
      • addedInput schema / properties / name / description
        Added value: +"Name of the collection"
      • addedInput schema / properties / notebook_ids / description
        Added value: +"List of notebook UUIDs to include in the collection (optional)"
    • Changedcollection_delete2 fields changed
      • addedInput schema / properties / collection_id / description
        Added value: +"UUID of the collection"
      • addedInput schema / properties / confirm / description
        Added value: +"Must be True after user approval"
    • Changedcollection_edit3 fields changed
      • addedInput schema / properties / collection_id / description
        Added value: +"UUID of the collection"
      • addedInput schema / properties / name / description
        Added value: +"New name for the collection (optional)"
      • addedInput schema / properties / notebook_ids / description
        Added value: +"New complete list of notebook UUIDs to include (optional)"
    • Changedcollection_set_emoji2 fields changed
      • addedInput schema / properties / collection_id / description
        Added value: +"UUID of the collection"
      • addedInput schema / properties / emoji / description
        Added value: +"Emoji character (use empty string \"\" to clear)"
    • Changedcross_notebook_query4 fields changed
      • addedInput schema / properties / all / description
        Added value: +"Query ALL notebooks (use with caution โ€” rate limits apply)"
      • addedInput schema / properties / notebook_names / description
        Added value: +"Comma-separated notebook names or IDs (e.g. \"AI Research, Dev Tools\")"
      • addedInput schema / properties / query / description
        Added value: +"Question to ask across notebooks"
      • addedInput schema / properties / tags / description
        Added value: +"Comma-separated tags to select notebooks (e.g. \"ai,mcp\")"
    • Changeddownload_all_artifacts7 fields changed
      • addedInput schema / properties / all_notebooks / description
        Added value: +"Sweep every notebook in the account instead of one"
      • addedInput schema / properties / artifact_types / description
        Added value: +"Restrict to these types, e.g. [\"video\", \"slide_deck\",\n\"mind_map\", \"report\"]. Default: all types."
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID (omit when all_notebooks=True)"
      • addedInput schema / properties / output_dir / description
        Added value: +"Base directory for the per-notebook folders, relative to\nthe download directory (default: the download directory itself).\nPaths outside it are refused; see download_artifact."
      • addedInput schema / properties / output_format / description
        Added value: +"For quiz/flashcards only: json|markdown|html"
      • addedInput schema / properties / skip_existing / description
        Added value: +"Skip artifacts whose target file already exists โ€”\nmakes repeated runs incremental"
      • addedInput schema / properties / slide_deck_format / description
        Added value: +"For slide decks only: pdf (default) or pptx"
    • Changeddownload_artifact9 fields changed
      • addedInput schema / properties / artifact_id / description
        Added value: +"Optional specific artifact ID (uses latest if not provided)"
      • addedInput schema / properties / artifact_type / description
        Added value: +"Type of artifact to download:\n- audio: Audio Overview (MP4/MP3)\n- video: Video Overview (MP4)\n- report: Report (Markdown)\n- mind_map: Mind Map (JSON)\n- slide_deck: Slide Deck (PDF or PPTX)\n- infographic: Infographic (PNG)\n- data_table: Data Table (CSV)\n- data_table_xlsx: Data Table Excel export (XLSX)\n- file: Generic Studio file export\n- quiz: Quiz (json|markdown|html)\n- flashcards: Flashcards (json|markdown|html)"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
      • addedInput schema / properties / output_format / description
        Added value: +"For quiz/flashcards only: json|markdown|html (default: json)"
      • addedInput schema / properties / output_path / description
        Added value: +"Where to save the file, relative to the download\ndirectory (e.g. \"podcast.m4a\" or \"My Notebook/report.md\").\nDownloads are confined to that directory; a path outside it is\nrefused. It defaults to ~/Downloads/gemini-notebook and the\noperator can move it with NOTEBOOKLM_DOWNLOAD_DIR. The saved\nabsolute path comes back in the result."
      • addedInput schema / properties / poll_interval / description
        Added value: +"Seconds between readiness checks"
      • addedInput schema / properties / slide_deck_format / description
        Added value: +"For slide_deck only: pdf (default) or pptx"
      • addedInput schema / properties / wait / description
        Added value: +"Poll while the artifact download is still propagating"
      • addedInput schema / properties / wait_timeout / description
        Added value: +"Maximum seconds to wait when ``wait`` is enabled"
    • Changedexport_artifact4 fields changed
      • addedInput schema / properties / artifact_id / description
        Added value: +"Artifact UUID to export"
      • addedInput schema / properties / export_type / description
        Added value: +"\"docs\" or \"sheets\""
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
      • addedInput schema / properties / title / description
        Added value: +"Title for exported document (optional)"
    • Changedlabel9 fields changed
      • addedInput schema / properties / action / description
        Added value: +"Operation to perform:\n- auto: AI auto-labels all sources into thematic categories\n- list: List current labels (triggers AI if none exist)\n- reorganize: Force AI re-categorization (requires confirm=True unless unlabeled_only=True)\n- create: Create a new empty label (requires name)\n- rename: Rename a label (requires label_id, name)\n- set_emoji: Set or clear emoji on a label (requires label_id, emoji)\n- move_source: Assign a source to a label (requires label_id, source_id)\n- delete: Delete label(s) permanently (requires label_id or label_ids, confirm=True)"
      • addedInput schema / properties / confirm / description
        Added value: +"Must be True for delete action and for reorganize with unlabeled_only=False"
      • addedInput schema / properties / emoji / description
        Added value: +"Emoji character for set_emoji (e.g. \"๐Ÿ“Š\"), or \"\" to clear"
      • addedInput schema / properties / label_id / description
        Added value: +"Label UUID (required for rename, set_emoji, move_source, delete)"
      • addedInput schema / properties / label_ids / description
        Added value: +"List of label UUIDs for batch delete (alternative to label_id)"
      • addedInput schema / properties / name / description
        Added value: +"Label display name (required for create and rename)"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
      • addedInput schema / properties / source_id / description
        Added value: +"Source UUID to assign (required for move_source)"
      • addedInput schema / properties / unlabeled_only / description
        Added value: +"For reorganize: if True, only label sources not yet in any label.\nIf False (default), replaces ALL existing labels from scratch (requires confirm=True)."
    • Changednote6 fields changed
      • addedInput schema / properties / action / description
        Added value: +"Operation to perform:\n- create: Create a new note\n- list: List all notes in notebook\n- update: Update an existing note\n- delete: Delete a note permanently (requires confirm=True)"
      • addedInput schema / properties / confirm / description
        Added value: +"Must be True for delete action"
      • addedInput schema / properties / content / description
        Added value: +"Note content (required for create, optional for update)"
      • addedInput schema / properties / note_id / description
        Added value: +"Note UUID (required for update/delete)"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
      • addedInput schema / properties / title / description
        Added value: +"Note title (optional for create/update)"
    • Changednotebook_create1 field changed
      • addedInput schema / properties / title / description
        Added value: +"Optional title for the notebook"
    • Changednotebook_delete2 fields changed
      • addedInput schema / properties / confirm / description
        Added value: +"Must be True after user approval"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
    • Changednotebook_describe1 field changed
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
    • Changednotebook_get1 field changed
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
    • Changednotebook_list1 field changed
      • addedInput schema / properties / max_results / description
        Added value: +"Maximum number of notebooks to return (default: 100)"
    • Changednotebook_query6 fields changed
      • addedInput schema / properties / conversation_id / description
        Added value: +"For follow-up questions"
      • addedInput schema / properties / new_conversation / description
        Added value: +"Start a fresh conversation when conversation_id is omitted"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
      • addedInput schema / properties / query / description
        Added value: +"Question to ask"
      • addedInput schema / properties / source_ids / description
        Added value: +"Source IDs to query (default: all)"
      • addedInput schema / properties / timeout / description
        Added value: +"Wall-clock query budget in seconds (default: from env NOTEBOOKLM_QUERY_TIMEOUT or 120.0; source-heavy notebooks may need 180+)"
    • Changednotebook_query_start6 fields changed
      • addedInput schema / properties / conversation_id / description
        Added value: +"For follow-up questions"
      • addedInput schema / properties / new_conversation / description
        Added value: +"Start a fresh conversation when conversation_id is omitted"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
      • addedInput schema / properties / query / description
        Added value: +"Question to ask"
      • addedInput schema / properties / source_ids / description
        Added value: +"Source IDs to query (default: all)"
      • addedInput schema / properties / timeout / description
        Added value: +"Wall-clock query budget in seconds (default: from env NOTEBOOKLM_QUERY_TIMEOUT or 120.0; source-heavy notebooks may need 180+)"
    • Changednotebook_query_status1 field changed
      • addedInput schema / properties / query_id / description
        Added value: +"The query ID returned by notebook_query_start"
    • Changednotebook_rename2 fields changed
      • addedInput schema / properties / new_title / description
        Added value: +"New title"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
    • Changednotebook_share_batch3 fields changed
      • addedInput schema / properties / confirm / description
        Added value: +"Must be True after user approval"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
      • addedInput schema / properties / recipients / description
        Added value: +"List of dicts, each with 'email' (str) and optional 'role' (str).\n        Role defaults to 'viewer'. Example: [{\"email\": \"a@b.com\", \"role\": \"editor\"}]"
    • Changednotebook_share_invite3 fields changed
      • addedInput schema / properties / email / description
        Added value: +"Email address to invite"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
      • addedInput schema / properties / role / description
        Added value: +"\"viewer\" or \"editor\" (default: viewer)"
    • Changednotebook_share_public2 fields changed
      • addedInput schema / properties / is_public / description
        Added value: +"True to enable public link, False to disable (default: True)"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
    • Changednotebook_share_status1 field changed
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
    • Changedpipeline4 fields changed
      • addedInput schema / properties / action / description
        Added value: +"Operation to perform (run, list)"
      • addedInput schema / properties / input_url / description
        Added value: +"URL variable for pipelines that need it (replaces $INPUT_URL)"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Target notebook UUID (required for action=run)"
      • addedInput schema / properties / pipeline_name / description
        Added value: +"Pipeline name (required for action=run, e.g. \"ingest-and-podcast\")"
    • Changedresearch_import5 fields changed
      • addedInput schema / properties / cited_only / description
        Added value: +"Import only sources cited by the research report.\nOverrides source_indices when enabled."
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
      • addedInput schema / properties / source_indices / description
        Added value: +"Source indices to import (default: all)"
      • addedInput schema / properties / task_id / description
        Added value: +"Research task ID"
      • addedInput schema / properties / timeout / description
        Added value: +"Import timeout in seconds (default: 300, increase for large notebooks)"
    • Changedresearch_start5 fields changed
      • addedInput schema / properties / mode / description
        Added value: +"fast (~30s, ~10 sources) | deep (~5min, ~40 sources, web only)"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Existing notebook (creates new if not provided)"
      • addedInput schema / properties / query / description
        Added value: +"What to search for (e.g. \"quantum computing advances\")"
      • addedInput schema / properties / source / description
        Added value: +"web|drive (where to search)"
      • addedInput schema / properties / title / description
        Added value: +"Title for new notebook"
    • Changedresearch_status7 fields changed
      • addedInput schema / properties / auto_import / description
        Added value: +"If True, automatically import sources when research completes.\n        If False (default), returns next_action hint to call research_import manually."
      • addedInput schema / properties / compact / description
        Added value: +"If True (default), truncate report and limit sources shown to save tokens.\n    Use compact=False to get full details."
      • addedInput schema / properties / max_wait / description
        Added value: +"Max seconds to wait (default: 900, 0=single poll)"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
      • addedInput schema / properties / poll_interval / description
        Added value: +"Seconds between polls (default: 30)"
      • addedInput schema / properties / query / description
        Added value: +"Optional query text for fallback matching when task_id changes (deep research).\nContributed by @saitrogen (PR #15)."
      • addedInput schema / properties / task_id / description
        Added value: +"Optional Task ID to poll for a specific research task."
    • Changedsave_auth_tokens5 fields changed
      • addedInput schema / properties / cookies / description
        Added value: +"Cookie header from Chrome DevTools (only needed if CLI fails)"
      • addedInput schema / properties / csrf_token / description
        Added value: +"Deprecated - auto-extracted"
      • addedInput schema / properties / request_body / description
        Added value: +"Optional - contains CSRF if extracting manually"
      • addedInput schema / properties / request_url / description
        Added value: +"Optional - contains session ID if extracting manually"
      • addedInput schema / properties / session_id / description
        Added value: +"Deprecated - auto-extracted"
    • Changedsource_add11 fields changed
      • addedInput schema / properties / doc_type / description
        Added value: +"Drive doc type: doc|slides|sheets|pdf (for source_type=drive)"
      • addedInput schema / properties / document_id / description
        Added value: +"Google Drive document ID (for source_type=drive)"
      • addedInput schema / properties / file_path / description
        Added value: +"Local file path on the machine running the MCP server\n(for source_type=file). A path on a different client/agent host\nis not accessible to the server."
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
      • addedInput schema / properties / source_type / description
        Added value: +"Type of source to add:\n- url: Web page or YouTube URL\n- text: Pasted text content\n- drive: Google Drive document\n- file: Local file upload. The canonical local-admission contract has\n    43 case-insensitive extensions. Admission does not guarantee provider\n    processing success for an individual file.\n    OFFICIAL_FILE_EXTENSIONS: .pdf, .txt, .md, .docx, .csv, .pptx, .epub, .avif, .bmp, .gif, .heic, .heif, .ico, .jp2, .jpe, .jpeg, .jpg, .png, .tif, .tiff, .webp, .3g2, .3gp, .aac, .aif, .aifc, .aiff, .amr, .au, .avi, .cda, .m4a, .mid, .mp3, .mp4, .mpeg, .ogg, .opus, .ra, .ram, .snd, .wav, .wma\n    Image-bearing sources may feed Studio video generation's visual-crop\n    pipeline; charts, photos, and diagrams may be extracted as on-screen aids."
      • addedInput schema / properties / text / description
        Added value: +"Text content to add (for source_type=text)"
      • addedInput schema / properties / title / description
        Added value: +"Display title (for text sources)"
      • addedInput schema / properties / url / description
        Added value: +"URL to add (for source_type=url)"
      • addedInput schema / properties / urls / description
        Added value: +"List of URLs to add in bulk (for source_type=url, alternative to url)"
      • addedInput schema / properties / wait / description
        Added value: +"If True, wait for source processing to complete before returning"
      • addedInput schema / properties / wait_timeout / description
        Added value: +"Max seconds to wait if wait=True (default 120)"
    • Changedsource_delete3 fields changed
      • addedInput schema / properties / confirm / description
        Added value: +"Must be True after user approval"
      • addedInput schema / properties / source_id / description
        Added value: +"Source UUID to delete (single)"
      • addedInput schema / properties / source_ids / description
        Added value: +"List of source UUIDs to delete (bulk, alternative to source_id)"
    • Changedsource_describe1 field changed
      • addedInput schema / properties / source_id / description
        Added value: +"Source UUID"
    • Changedsource_get_content4 fields changed
      • addedInput schema / properties / poll_interval / description
        Added value: +"Seconds between readiness checks"
      • addedInput schema / properties / source_id / description
        Added value: +"Source UUID"
      • addedInput schema / properties / wait / description
        Added value: +"Poll until indexed content is available"
      • addedInput schema / properties / wait_timeout / description
        Added value: +"Maximum seconds to wait when ``wait`` is enabled"
    • Changedsource_list_drive2 fields changed
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
      • addedInput schema / properties / skip_freshness / description
        Added value: +"If True, skip per-source freshness checks for faster listing"
    • Changedsource_rename3 fields changed
      • addedInput schema / properties / new_title / description
        Added value: +"New display title for the source"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID containing the source"
      • addedInput schema / properties / source_id / description
        Added value: +"Source UUID to rename"
    • Changedsource_sync_drive2 fields changed
      • addedInput schema / properties / confirm / description
        Added value: +"Must be True after user approval"
      • addedInput schema / properties / source_ids / description
        Added value: +"Source UUIDs to sync"
    • Changedstudio_create4 fields changed
      • addedInput schema / properties / artifact_type / description
        Added value: +"Type of artifact to create:\n- audio: Audio Overview (podcast)\n- video: Video Overview\n- infographic: Visual infographic\n- slide_deck: Presentation slides (PDF)\n- report: Text report (Briefing Doc, Study Guide, etc.)\n- flashcards: Study flashcards\n- quiz: Multiple choice quiz\n- data_table: Structured data table\n- mind_map: Visual mind map"
      • addedInput schema / properties / confirm / description
        Added value: +"Must be True after user approval"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
      • addedInput schema / properties / source_ids / description
        Added value: +"Source IDs to use (default: all sources)"
    • Changedstudio_delete3 fields changed
      • addedInput schema / properties / artifact_id / description
        Added value: +"Artifact UUID (from studio_status)"
      • addedInput schema / properties / confirm / description
        Added value: +"Must be True after user approval"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
    • Changedstudio_revise4 fields changed
      • addedInput schema / properties / artifact_id / description
        Added value: +"UUID of the existing slide deck to revise (from studio_status)"
      • addedInput schema / properties / confirm / description
        Added value: +"Must be True after user approval"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
      • addedInput schema / properties / slide_instructions / description
        Added value: +"List of revision instructions, each with:\n- slide: Slide number (1-based, slide 1 = first slide)\n- instruction: Text describing the desired change\nExample: [{\"slide\": 1, \"instruction\": \"Make the title larger\"}]"
    • Changedstudio_status7 fields changed
      • addedInput schema / properties / action / description
        Added value: +"Action to perform:\n- status (default): List all artifacts with their status and URLs\n- rename: Rename an artifact (requires artifact_id and new_title)\n- list_types: List all supported artifact types with their options"
      • addedInput schema / properties / artifact_id / description
        Added value: +"For status, return only this artifact. Required for action=\"rename\"."
      • addedInput schema / properties / include_details / description
        Added value: +"Include prompts, source IDs, report content, and media details"
      • addedInput schema / properties / limit / description
        Added value: +"Maximum artifacts to return for status (1-100, default 20)"
      • addedInput schema / properties / new_title / description
        Added value: +"Required for action=\"rename\" - the new title for the artifact"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID"
      • addedInput schema / properties / offset / description
        Added value: +"Number of artifacts to skip for status pagination"
    • Changedtag5 fields changed
      • addedInput schema / properties / action / description
        Added value: +"Operation to perform (add, remove, list, select)"
      • addedInput schema / properties / notebook_id / description
        Added value: +"Notebook UUID (required for add, remove)"
      • addedInput schema / properties / notebook_title / description
        Added value: +"Optional display title (for add)"
      • addedInput schema / properties / query / description
        Added value: +"Search query (required for select; e.g. \"ai mcp\" or \"ai,mcp\")"
      • addedInput schema / properties / tags / description
        Added value: +"Comma-separated tags (required for add, remove; e.g. \"ai,research,llm\")"
  9. 5 tool updatesv0.9.14
    • Addedcollection_create
    • Addedcollection_delete
    • Addedcollection_edit
    • Addedcollection_list
    • Addedcollection_set_emoji

TDQS

B3/5.0

Scored across 55 tools

Disambiguation2/5

Several tools have overlapping or hard-to-distinguish retrieval/organization purposes: notebook_query, source_search, cross_notebook_query, batch query, and research_start all relate to finding or asking about content. Vague unified tools like alias, tag, note, pipeline, label, report, batch, and profile require action parameters and add ambiguity, while profile/active_profile/profiles are especially easy to confuse.

Naming Consistency3/5

Most resource-specific tools use a readable noun_verb pattern (notebook_create, source_add, studio_status), but many unified tools are bare nouns or vague action containers (alias, tag, note, pipeline, label, report, batch, profile). The mix of noun_verb, verb_noun, and single-word names is understandable but not predictable.

Tool Count1/5

With 55 tools, the surface is far too large for a coherent MCP server. Many variants and unified action tools could be consolidated into fewer, better-scoped tools.

Completeness4/5

Coverage is broad: notebooks, sources, chat, studio artifacts, research, collections, tags, labels, sharing, auth, batch operations, and usage are all represented. Minor lifecycle gaps remain, such as limited collection retrieval or source content update, but the core NotebookLM workflows are well covered.

Maintenance

ActivityNo data
ResponsivenessOutdated data

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    Not graded
    maintenance
    Enables interaction with Google's NotebookLM through natural language, allowing users to create and manage notebooks, add sources from URLs/YouTube/Google Drive, query AI for insights, generate audio podcasts and other studio content, and perform AI-powered research and analysis.
    32
    3
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables interaction with Google NotebookLM through natural language to create and manage notebooks, add sources from URLs/YouTube/Google Drive, perform AI-powered research and analysis, generate audio podcasts, videos, infographics, and slide decks from notebook content.
    32
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to interact with Google NotebookLM, including listing and managing notebooks and sources, asking grounded questions with citations, and generating audio overviews, briefings, quizzes, and mind maps.
    13
    MIT