notebooklm-py
Unofficial Python client, CLI, and agent skill for Google NotebookLM
What it is
A Python library and command-line tool that drives Google NotebookLM (now Gemini Notebook) through its undocumented internal APIs. It can create notebooks, bulk-add sources such as URLs, PDFs, and YouTube videos, ask cited questions, generate audio overviews, slide decks, quizzes, and mind maps, and download the results in formats the web interface doesn't offer. Developers and researchers use it to script research pipelines or plug NotebookLM into coding agents like Claude Code and Codex through the bundled skill and MCP server.
