NotebookLM MCP Server
This server acts as a bridge between AI agents and Google NotebookLM, enabling full programmatic control over notebooks, sources, and AI-generated content.
Health Check – Verify CLI availability and authentication status.
Manage Notebooks – List, create, and delete notebooks.
Add Sources – Add sources (URL, file, YouTube video, or raw text) to a notebook; type is auto-detected if not specified.
List Sources – View all sources within a specific notebook.
Get Source Text – Retrieve the full indexed text content of a specific source.
Ask Notebook – Ask natural language questions and get AI-generated answers based on notebook sources.
Get Summary – Retrieve an AI-generated summary of a notebook's content.
Get History – Access the full conversation/Q&A history for a notebook.
Generate Audio – Generate an audio overview (podcast-style) from notebook sources.
Generate Report – Generate written reports (e.g., briefing docs, study guides, blog posts) from notebook content.
Provides tools for interacting with Google NotebookLM, enabling management of notebooks, sources, audio, reports, and history.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NotebookLM MCP ServerCreate a notebook called 'Project Ideas' and add a YouTube link as a source."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NotebookLM MCP Server v1.0
Read this in other languages: Русский Production-ready, fully asynchronous Model Context Protocol (MCP) server for Google NotebookLM.
This server acts as a bridge between AI agents (like Claude Desktop, Cursor, Antigravity) and NotebookLM, allowing your AI to read your notebooks, interact with your sources, and generate reports.
Features
Asynchronous Execution: Fully utilizes
asynciofor high concurrency handling.Robust Execution: Wrap NotebookLM CLI commands with timeouts and proper error handling.
Thread Safety (Command Queue): Multiple simultaneous requests are queued safely via
asyncio.Lock().Advanced MCP Tools: Includes
create_notebook,delete_notebook,add_source,list_sources,get_source_text,generate_audio,generate_report, andget_history.Multi-language Support (i18n): All tool docstrings are in English, ensuring seamless compatibility with any LLM globally.
Network Mode (SSE Transport): Supports both Standard I/O (local) and SSE (network) transport protocols.
Retries & Caching: Temporary CLI failures are retried automatically. Read operations are cached.
Diagnostics: Built-in
health_check()tool to verify CLI availability and authentication status.
Related MCP server: notebooklm-mcp
Installation
You can install this server either automatically (recommended) or manually.
Method A: One-Click Automatic Install (Recommended)
This method automatically sets up a virtual environment, installs all dependencies (including notebooklm-py and Chromium for Playwright), and registers the server in your IDEs (Claude Desktop, Cursor, Antigravity).
Clone or download this repository:
git clone https://github.com/Vetal711/notebooklm-mcp.git cd notebooklm-mcpRun the auto-installer script:
Windows: Double-click
install.bat(or run it in the terminal).Mac/Linux: Run
bash install.sh
Authenticate with Google: Once the installation is complete, you must authenticate the CLI. Run the following command and follow the instructions in the browser window:
Windows:
venv\Scripts\notebooklm.exe loginMac/Linux:
./venv/bin/notebooklm login
Restart your IDE/Agent (Claude Desktop, Cursor, or Antigravity) and the server will be available!
Method B: Manual Installation
If you prefer to configure everything manually or use a global Python environment:
Clone the repository:
git clone https://github.com/Vetal711/notebooklm-mcp.git cd notebooklm-mcpCreate a virtual environment and install dependencies:
python -m venv venv # On Windows: venv\Scripts\pip install -e . # On Mac/Linux: ./venv/bin/pip install -e .Install the Playwright browser driver:
# On Windows: venv\Scripts\playwright install chromium # On Mac/Linux: ./venv/bin/playwright install chromiumAuthenticate:
# On Windows: venv\Scripts\notebooklm.exe login # On Mac/Linux: ./venv/bin/notebooklm loginManual Configuration for MCP Clients: Instead of running the automated configuration script, you can manually add the following JSON block to your MCP client's configuration file (e.g.,
claude_desktop_config.json,cline_mcp_settings.json, ormcp_config.json).Make sure to replace
/absolute/path/to/notebooklm-mcpwith the actual absolute path to your cloned directory.{ "mcpServers": { "NotebookLM": { "command": "/absolute/path/to/notebooklm-mcp/venv/bin/notebooklm-mcp", "args": [] } } }(Note for Windows users: Use
venv\\Scripts\\notebooklm-mcp.exeand escape backslashes in paths).Important: The server will automatically generate a
.envfile in the root folder on first run (or during installation) to handle absolute paths properly.
Troubleshooting
Error: Authentication expired
If you receive this error in Claude/Cursor, it means the Playwright session's Google tokens have expired.
WARNING: DO NOT run the login command inside the AI agent's chat or terminal! AI agents run in a background window station, which makes the popup browser window completely invisible, causing the login process to hang forever.
Solution:
Open a standard, real OS terminal (or just double-click the script).
Run
login.bat(Windows) orlogin.sh(Mac/Linux) located in the project folder.A visible browser window will appear. Complete the login, and the window will close automatically.
Ensure that your MCP client's configuration file (e.g.,
claude_desktop_config.json) includes the"cwd": "/absolute/path/to/notebooklm-mcp"parameter so it doesn't lose the session again.
Docker Deployment
To build and run via Docker:
docker build -t notebooklm-mcp .
docker run -i --rm -v ~/.notebooklm:/root/.notebooklm notebooklm-mcp(Note: You need to mount the .notebooklm config directory to share your local authentication session).
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Vetal711/notebooklm-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server