Practical Notes
- Exposes 35 MCP tools (disable it when not needed to preserve context window)
- One install yields both
nlm(CLI) andnotebooklm-mcp(MCP server) - GitHub stars/forks (verified): see Source & Thanks
If you want NotebookLM inside your agent workflow, this project gives you two practical layers:
- CLI layer (
nlm) for scripting: list/create notebooks, add sources, share, export, etc. - MCP layer (
notebooklm-mcp) for natural-language tool calls from your assistant.
A reliable setup path:
- Install via pip/pipx/uv.
- Authenticate with
nlm login(auto mode launches a dedicated browser profile and persists cookies). - Use
nlm setup add <client>to configure your AI tool without hand-editing JSON.
Because it exposes many tools, keep it off when you’re not actively using NotebookLM — it’s easy to burn context budget accidentally.
FAQ
Q: How do I authenticate?
A: Run nlm login (auto mode launches a browser and extracts cookies).
Q: Which AI tools are supported?
A: Use nlm setup add <client> for supported clients, or generate JSON with nlm setup add json.
Q: How do I troubleshoot?
A: Run nlm doctor to diagnose installation, auth, and client configuration issues.