Claude Code is the best AI coder. NotebookLM is the best AI researcher. Now you can merge them — and set it up in 60 seconds.

This guide walks you through connecting Claude Code to NotebookLM so you can research, generate podcasts, build slide decks, create mind maps, and more — all from one conversation in your terminal.


What This Does

Once connected, you can tell Claude Code to do anything NotebookLM can do:

  • Create notebooks and add sources (YouTube links, docs, URLs)
  • Generate podcasts from your research
  • Build slide decks from any topic
  • Create mind maps and infographics
  • Write research summaries from multiple sources
  • Research a topic and start building — no tab switching, no copy-pasting

All from a single Claude Code conversation.


What You Need


Step-by-Step Setup

Step 1: Find the GitHub Repo

Go to GitHub and search for notebooklm-py, or go directly to:

👉 https://github.com/teng-lin/notebooklm-py

Click the green Code button and copy the repo link.

Step 2: Clone It With Claude Code

Open Claude Code in your terminal and paste the link. Tell Claude:

"Clone this and set it up."

Claude will handle the rest — cloning the repo, installing dependencies, and configuring the connection.

Step 3: Authenticate With Google

During setup, Claude will prompt you to log into your Google account. This gives NotebookLM access to your notebooks.

Log in. That's it. They're connected.


How to Use It

Once connected, you talk to Claude Code like normal — but now it has full access to NotebookLM's capabilities.

Create a Notebook + Generate a Podcast

"Create a notebook, add these YouTube links, and make me a podcast."

Claude creates the notebook, imports your sources, and generates an audio podcast summary.

Build a Slide Deck From Research

"Research [topic] and build me a slide deck."

Claude pulls sources, synthesizes the information, and outputs a presentation.

Generate Mind Maps and Infographics

"Take these 3 articles and create a mind map of the key concepts."

Claude processes the sources through NotebookLM and returns a structured visual breakdown.

Research + Build in One Conversation

"Research OpenClaw and build me a project with what you find."

Claude pulls the sources, gets the answers, and starts building — no switching tabs, no copy-pasting. Just one conversation.


Quick Reference

Pro Tip: The easiest way to set this up is to just give Claude Code the GitHub link and say "clone this and set it up." It handles the pip install, Playwright setup, and skill installation automatically.


Pro Tips

Start with a simple notebook. Your first command should be something like "Create a notebook and add this YouTube link." See how it works before going multi-source.

Stack your sources. NotebookLM gets more powerful with more context. Throw in YouTube links, articles, and docs — then ask Claude to synthesize across all of them.

Use it for content research. Need to script a video? Tell Claude to research the topic via NotebookLM, summarize the key points, then draft a script — all in one session.

Combine with other Claude Code skills. Voice mode, MCP servers, slash commands — they all work alongside the NotebookLM integration. Layer them for maximum leverage.


How It Works Under the Hood

The notebooklm-py library uses undocumented Google APIs + browser automation to interface with NotebookLM programmatically. When installed as a Claude Code skill, it gives Claude direct access to create notebooks, manage sources, and trigger NotebookLM's generation features — all through natural language.


Want more Claude Code guides? Check out the full library of setup guides, cheat sheets, and skill tutorials in the Lead Magnet Hub.

Disclaimer: This guide is based on publicly available information as of March 2026. The notebooklm-py library is a community project and uses undocumented Google APIs. Features and availability may change. Always refer to the official GitHub repo for the latest updates.