Unofficial Python API and agentic skill for Google Gemini Notebook. Provides programmatic access to NotebookLM/Gemini Notebook features via Python, CLI, REST, and MCP server; focuses on agent integration, data export, and batch operations.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
Unofficial Python API and agentic skill for Google Gemini Notebook (NotebookLM). Enables programmatic access to NotebookLM features via Python, CLI, REST server, and MCP server, with integrations for AI agents like Claude Code, Codex, and OpenClaw. The project emphasizes agent workflows, multi-format content generation, and bulk exports.
How it works
The project exposes a Python API, a CLI, an MCP server, and a REST server to interact with NotebookLM. It supports creating and managing notebooks, sources (URLs, files, Drive, etc.), chat, notes, source labels, and research agents. Content generation includes audio, video, slides, infographics, quizzes, flashcards, reports, data tables, and mind maps, with multiple download formats. It also provides programmatic export and Obsidian/knowledge-graph integration workflows. The library enables agent orchestration and memory by exposing skills, scheduling, and vault layout for agent-driven workflows.
Getting started
Installation guidance is provided in the docs. Quickstart for the CLI/agents:
uv tool install "notebooklm-py[browser]" # or: pipx install "notebooklm-py[browser]"
notebooklm login
notebooklm auth check --test --json
Alternatively, install as a library:
uv add notebooklm-py
Or via plain pip in a virtualenv:
python3 -m venv .venv && source .venv/bin/activate
pip install "notebooklm-py[browser]"
Recent releases
Latest release: v0.8.0 (2026-08-03) with integrations enabling NotebookLM access from AI agents and HTTP clients via two new adapters built over the shared _app/ core — an MCP server and an [ADR-0021]-based setup. Other 0.8.0 series include v0.8.0rc1 (2026-07-22) (release-candidate) and beta pre-releases v0.8.0b5 (2026-07-17), v0.8.0b4 (2026-07-17), v0.8.0b3 (2026-07-16).
Traction
18451 stars • 52 open issues • 2478 forks
Behind the repo
Not provided in the snippet.
Caveats
MIT license; Python-based, unofficial library relying on undocumented Google APIs that can change. Created 2026-01-07; last push 2026-08-04. Highly experimental for prototypes and personal projects; heavy usage may be throttled by Google APIs. Authentication supports interactive Playwright login, browser cookies import, or master-token auth. Documentation notes Linux troubleshooting if Playwright Chromium install issues occur.






