Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/jacob-bd/notebooklm-mcp-cli/llms.txt

Use this file to discover all available pages before exploring further.

NotebookLM CLI & MCP Server (notebooklm-mcp-cli) gives developers full programmatic control over Google NotebookLM. Install one Python package and get both the nlm command-line interface for scripting and automation, and the notebooklm-mcp server that exposes 35 tools to any MCP-compatible AI assistant — Claude, Gemini, Cursor, GitHub Copilot, and more.

Installation

Install with uv, pip, or pipx and get both the CLI and MCP server in one package.

Authentication

Authenticate via auto browser extraction or manual cookie import. Supports multiple Google accounts.

CLI Reference

Every nlm command and flag — notebooks, sources, studio, research, sharing, and more.

MCP Server

Connect AI assistants to NotebookLM with 35 MCP tools. Auto-configure for Claude, Gemini, Cursor, and more.

What you can do

notebooklm-mcp-cli covers the full NotebookLM workflow — from creating a notebook to downloading a finished podcast:

Notebooks

Create, query, rename, and delete notebooks. Get AI summaries of entire notebooks.

Sources

Add URLs, files, YouTube videos, text, and Google Drive documents as sources.

Studio Content

Generate audio podcasts, video overviews, reports, quizzes, flashcards, infographics, and slide decks.

Research

Run AI-powered web and Drive research, then automatically import the discovered sources.

Sharing

Enable public links, invite collaborators, and run batch operations across multiple notebooks.

Workflows

End-to-end pipeline examples: research → podcast, multi-format generation, and more.

Quick start

1

Install the package

Install with uv (recommended) to get both nlm and notebooklm-mcp:
uv tool install notebooklm-mcp-cli
2

Authenticate

Open a browser, log in to Google NotebookLM, and extract cookies automatically:
nlm login
3

Wire up your AI assistant

Add the MCP server to your AI tool of choice — no JSON editing needed:
nlm setup add claude-code   # Claude Code
nlm setup add gemini        # Gemini CLI
nlm setup add cursor        # Cursor
nlm setup add github-copilot # GitHub Copilot
4

Try a command

List your notebooks from the terminal or let your AI assistant do it naturally:
nlm notebook list
This package uses internal, undocumented Google APIs. It works with personal Google accounts (free and Pro tiers). Enterprise/Workspace accounts are supported via NOTEBOOKLM_BASE_URL. APIs may change without notice.

Two ways to use

CLI — nlm

Use nlm directly in your terminal for scripting, automation, and interactive use. Supports both noun-first (nlm notebook create) and verb-first (nlm create notebook) command styles.

MCP Server — notebooklm-mcp

Connect Claude, Gemini, Cursor, and other MCP-compatible AI assistants to NotebookLM. Use natural language to manage notebooks and generate content.

Build docs developers (and LLMs) love