Use this file to discover all available pages before exploring further.
The management commands cover everything outside of notebooks and content: persisted configuration settings, short-name aliases for long IDs, per-notebook chat configuration, note management, diagnostics, artifact export, and MCP server setup for AI tool integrations.
Write a single configuration value. Changes take effect immediately for subsequent commands.
nlm config set auth.default_profile worknlm config set output.format jsonnlm config set output.color falsenlm config set output.short_ids true
Available settings
Key
Default
Description
output.format
table
Default output format: table or json
output.color
true
Enable coloured terminal output
output.short_ids
true
Show shortened IDs in table output
auth.browser
auto
Preferred browser for login: auto, chrome, arc, brave, edge, chromium, vivaldi, opera. Falls back to auto if the chosen browser is not found.
auth.default_profile
default
Profile used when --profile is not specified. The MCP server always uses the active default profile — changing this setting instantly switches the MCP server’s Google account.
Once an alias is defined it works anywhere an ID is accepted:
# All equivalent after: nlm alias set research <notebook-id>nlm notebook get researchnlm source list researchnlm audio create research --confirmnlm notebook query research "What are the key findings?"
Notebooks support attached notes — short text snippets that are stored alongside sources and included in queries. The following commands manage notes inside a notebook.
nlm note list <notebook-id>nlm note list <notebook-id> --jsonnlm note list <notebook-id> --quiet # IDs only
Note command flags
Command
Flag
Short
Description
note list
--json
-j
Output as JSON
note list
--quiet
-q
Output IDs only
note create
--content
-c
Note content (required)
note create
--title
-t
Note title (default: New Note)
note update
--content
-c
New content
note update
--title
-t
New title
note delete
--confirm
-y
Skip confirmation prompt
nlm note delete is irreversible. The note is permanently removed. Use --confirm to skip the interactive prompt in scripts.
Export any studio artifact to Google Docs (reports, study guides, etc.) or Google Sheets (data tables).
# Export a report to Google Docsnlm export artifact <notebook-id> <artifact-id> --type docs# Export a data table to Google Sheets with a custom titlenlm export artifact <notebook-id> <artifact-id> --type sheets --title "My Data Table"
nlm doctor runs a suite of checks to verify that your installation, authentication, browser, and AI tool integrations are all working correctly. Run it whenever you encounter unexpected behaviour or after a fresh install.
# Run all checksnlm doctor# Include additional detail (Python version, file paths, profile info)nlm doctor --verbose
Checks performed
Category
What is checked
Installation
Package version, nlm and notebooklm-mcp binary paths
Authentication
Profile existence, cookies present, CSRF token, associated Google account email
Browser
Chromium-based browser found on PATH, saved Chrome profile for headless re-auth
AI Tools
MCP configuration status for each supported client (Claude Code, Gemini, Cursor, Windsurf)
Each failed check includes a suggested fix, for example:
Authentication: Cookies: missing → Run nlm login to authenticate
Flags
Flag
Short
Description
--verbose
-v
Show Python version, file paths, last-validated time, and per-profile detail
nlm setup configures the NotebookLM MCP server transport for AI tools that support the Model Context Protocol. This is a one-time setup step per tool.
# Add the MCP server to a specific toolnlm setup add claude-codenlm setup add gemininlm setup add cursornlm setup add windsurfnlm setup add github-copilot# Remove the server from a toolnlm setup remove gemini# List all supported clients and their current config statusnlm setup list# Generate a JSON snippet for tools not in the registrynlm setup add json
nlm setup configures the MCP server transport layer. To install skill / reference documentation for AI coding tools that do not use MCP, use nlm skill install instead. See the MCP overview page for a full walkthrough of both.