NotebookLM MCP
Provides access to Google NotebookLM, enabling creation and management of notebooks, adding sources, asking research questions with citations, and generating or downloading artifacts such as audio, video, quizzes, reports, and mind maps.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
notebooklm-mcp
Model Context Protocol (MCP) server that exposes Google NotebookLM inside Claude Desktop via the unofficial
notebooklm-pylibrary.
Create notebooks, add sources, chat with your research, and generate audio/video/quiz/report artifacts — all from a Claude Desktop conversation.
⚠️ Important
This project relies on undocumented Google RPC APIs via notebooklm-py. It is intended for personal, private use only:
Not production-ready
Not affiliated with or endorsed by Google
APIs may break without notice
Use a dedicated Google account
Rate limits apply to heavy operations (audio, video, quiz, etc.)
Related MCP server: notebooklm-mcp
Features
10 MCP tools wrapping the full NotebookLM workflow
Fire-and-poll pattern for long-running artifact generation (audio/video take 10-45 min)
German tool output (Claude-friendly Hinweise & Fehlermeldungen)
Graceful auth handling with clear re-login instructions
Single-file server — no package, no build system, just
python server.pystdio transport — designed for local Claude Desktop
Available Tools
Tool | Type | Description |
| read | List all notebooks with ID, title, source count |
| write | Create a new notebook |
| write | Add a web or YouTube URL as a source |
| write | Upload a local file (PDF/TXT/MD/DOCX) as a source |
| read | List sources of a notebook with status |
| read | Ask a RAG question (returns answer + citations) |
| write | Start artifact generation (fire) → returns task_id |
| read | Poll generation status |
| write | Download a finished artifact |
| write | Start a web research session (fast/deep) |
Supported Artifact Types
Type | Default | Format Overrides |
| MP3 | — |
| MP4 | — |
| JSON |
|
| JSON |
|
|
| |
| PNG | — |
| JSON | — (synchronous) |
| CSV | — |
| Markdown | — |
Quick Start
Prerequisites
Python ≥ 3.10 (3.13 recommended)
Google account with NotebookLM access
1. Clone
git clone https://github.com/cosrv/notebooklm-mcp.git
cd notebooklm-mcp2. Install dependencies
pip install "mcp[cli]>=1.0.0" "notebooklm-py>=0.3.0" "pydantic>=2.0.0" "httpx>=0.25.0"3. Authenticate with NotebookLM (one time)
notebooklm-py ships with a CLI that handles Google login via Playwright:
playwright install chromium
notebooklm loginA browser opens. Sign in with your Google account, close the browser — done. Cookies are stored in ~/.notebooklm/storage_state.json.
Verify:
notebooklm list4. Configure Claude Desktop
Open ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows) and add:
{
"mcpServers": {
"notebooklm": {
"command": "python3",
"args": ["/ABSOLUTE/PATH/TO/notebooklm-mcp/server.py"]
}
}
}Replace the absolute path with your clone location. See claude_desktop_config.example.json for a full example.
Important:
python3must be the same interpreter you installednotebooklm-pyinto. If you have multiple Python versions, use the absolute interpreter path, e.g./Library/Frameworks/Python.framework/Versions/3.13/bin/python3on macOS.
5. Restart Claude Desktop
Quit Claude Desktop completely (Cmd+Q on macOS) and reopen it. The nlm_* tools will appear.
6. Try it
Ask Claude:
"List my NotebookLM notebooks."
"Create a notebook called 'Research' and add https://example.com as a source."
"Generate an audio overview of the notebook and download it when ready."
Fire-and-Poll Pattern
Artifact generation runs asynchronously on Google's infrastructure (audio: 10-20 min, video: 15-45 min). The server uses a fire-and-poll pattern so Claude doesn't block:
nlm_generate→ returns atask_idimmediatelynlm_get_status→ poll every 30-60 secondsOnce
status: completed→nlm_download
Exception: mind-map is synchronous — call nlm_download directly after nlm_generate.
Downloads
All downloads land in ~/notebooklm-downloads/. The folder is created automatically on first launch.
Authentication Lifecycle
NotebookLM cookies expire every few weeks. When they do, every tool returns a clear message:
❌ NotebookLM-Authentifizierung abgelaufen oder nicht vorhanden.
So behebst du das:
1. Terminal öffnen
2. `notebooklm login` ausführen (öffnet Browser)
3. Mit deinem Google-Account anmelden
4. Browser schließen — fertig.
Danach Claude Desktop neu starten.Re-run notebooklm login and restart Claude Desktop.
File Structure
notebooklm-mcp/
├── server.py # FastMCP lifespan + 10 tools + entry point
├── models.py # Pydantic input models + enums
├── helpers.py # Constants, auth helpers, download mapping
├── pyproject.toml # Dependencies (no build system)
├── claude_desktop_config.example.json
├── README.md
├── CONTRIBUTING.md
├── SECURITY.md
├── CHANGELOG.md
└── LICENSE # Apache 2.0Design principle: every file stays under 600 lines. The server is intentionally a single-file module with two small helpers, no package indirection.
Troubleshooting
Tools don't show up in Claude Desktop
Verify JSON config is valid:
python3 -c "import json; json.load(open('<path>'))"Check Claude Desktop logs:
~/Library/Logs/Claude/mcp*.logEnsure the absolute path to
server.pyis correctFully quit and restart Claude Desktop — not just close the window
ModuleNotFoundError: notebooklm
The Python interpreter Claude Desktop uses doesn't have notebooklm-py installed. Use an absolute path in command pointing to the interpreter that has the packages.
AuthError or storage_state.json not found
Run notebooklm login in the same Python environment you're using for the server.
Rate limits
Audio, video, quiz, flashcards, slide-deck, and infographic generation can fail under Google's rate limits. This is an API limitation, not a bug. Wait 5-10 minutes and retry, or fall back to the NotebookLM web UI.
Reliable operations: notebooks, sources, chat, mind-map, report, data-table.
Design Decisions
See CHANGELOG.md for the full list. Highlights:
Fire-and-poll over blocking waits (generation can take 45 min)
Separate
add_url/add_filetools — no heuristic dispatchSingle-file server — no package, no build system
Module split at 600 LOC — server.py, models.py, helpers.py
Specific exception handling —
AuthError,FileNotFoundError,ValueError— no keyword matching
Contributing
See CONTRIBUTING.md. PRs welcome, but note this is a hobby project — response times may vary.
Security
See SECURITY.md. Do not open public issues for security concerns.
License
Apache 2.0 © 2026 cosrv and contributors
Acknowledgements
notebooklm-pyby @teng-lin — the actual RPC clientmcp— the Python MCP SDK and FastMCP frameworkAnthropic — for Claude Desktop and the Model Context Protocol
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Google NotebookLM via natural language: create notebooks, add sources (PDF, URL, YouTube) and ask gr
Google Gemini Notebook (NotebookLM): notebooks, sources, cited chat, podcasts, video, slides
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceIntegrates Google NotebookLM into Claude to allow users to manage notebooks, add sources, and generate diverse content like podcasts, slides, and reports. It enables natural language interaction with notebook sources across Claude Desktop and Claude Code.63-
- AlicenseBqualityAmaintenanceEnables AI assistants to programmatically interact with Google NotebookLM, allowing them to create and manage notebooks, add sources, query content, generate audio/video, and perform research tasks through natural language commands.5518,759 PyPI6,558MIT
- AlicenseNot gradedqualityDmaintenanceEnables querying Google NotebookLM notebooks directly from Claude Desktop (MCP) and Claude Code (CLI), providing citation-backed answers from Gemini.MIT
- AlicenseNot gradedqualityDmaintenanceGives Claude Desktop full control over Google NotebookLM via 56 MCP tools — manage notebooks, sources, chat, artifacts, notes, sharing, research, and export.1MIT