Connect two of the most powerful AI tools available. Run end-to-end research workflows — ingest sources, chat, generate artifacts, and download outputs — directly from your terminal.
notebooklm-pyThe open-source notebooklm-py project is the open-source tool that powers this setup. It provides the Python script for connecting to NotebookLM and the Claude Skill for proper use through the terminal.
Connects to NotebookLM from any terminal environment.
Installs as a skill so Claude can invoke it with natural language.
Notebook creation, source ingestion, analysis, generation, and downloads.
notebooklm-pynotebooklm-py exposes the full NotebookLM suite, including notebook creation, analysis, pitch deck generation, and more.
Just open your terminal and run the short code snippet below. The installation only takes a few seconds, and a browser window will pop up asking you to log into NotebookLM the first time.
# Basic installation pip install notebooklm-py # With browser login support (required for first-time setup) pip install "notebooklm-py[browser]" playwright install chromium # 1. Authenticate (opens browser) notebooklm login # Install via CLI or ask Claude Code to do it notebooklm skill install
Claude Code links to NotebookLM through the notebooklm skill. You just describe what you want in natural language, and it automatically triggers the skill to carry it out.
notebooklm create "My Research" notebooklm use <notebook_id> notebooklm source add "https://en.wikipedia.org/wiki/Artificial_intelligence" notebooklm source add "./paper.pdf"
notebooklm ask "What are the key themes?"
notebooklm generate audio "make it engaging" --wait notebooklm generate video --style whiteboard --wait notebooklm generate quiz --difficulty hard notebooklm generate flashcards --quantity more notebooklm generate slide-deck notebooklm generate infographic --orientation portrait notebooklm generate mind-map notebooklm generate data-table "compare key concepts"
notebooklm download audio ./podcast.mp3 notebooklm download video ./overview.mp4 notebooklm download quiz --format markdown ./quiz.md notebooklm download flashcards --format json ./cards.json notebooklm download slide-deck ./slides.pdf notebooklm download mind-map ./mindmap.json notebooklm download data-table ./data.csv
This pairing works especially well for:
Ingest a video URL and let NotebookLM extract structured insights automatically.
Turn source material into presentation-ready deliverables in one command.
Generate study materials from any document, PDF, or URL.
Replace [INSERT YOUTUBE URL HERE] before running.
If you have already run notebooklm login in your terminal, Claude can access your existing notebooks.
To use an existing notebook instead of creating a new one, prompt Claude like this:
"Use my existing 'Project X' notebook to add this video..."