NotebookLM MCP CLI

raw JSON →
0.5.31 verified Mon Apr 27 auth: no python

Unified CLI and MCP server for Google NotebookLM. Version 0.5.31, actively developed with frequent releases.

pip install notebooklm-mcp-cli
error AssertionError: Request already responded to
cause HTTP transport in stateless mode (default) causes MCP SDK double-response crash on slow Google API calls.
fix
Add --no-stateless to your MCP server startup arguments.
error Auth loop: refresh_auth keeps returning false success
cause NOTEBOOKLM_COOKIES env var set with expired cookies; tool keeps reloading stale cookies.
fix
Unset NOTEBOOKLM_COOKIES and run nlm login to generate fresh tokens.
breaking HTTP transport now defaults to stateless mode. Use `--no-stateless` to opt out.
fix Add `--no-stateless` to your MCP server args if you encounter double-response crashes.
gotcha Stale NOTEBOOKLM_COOKIES env var causes auth loop.
fix Clear the env var and re-run `nlm login`.

Authenticate and list your NotebookLM notebooks.

nlm login
nlm notebooks list