NotebookLM MCP Server
Provides tools for interacting with Google NotebookLM, enabling users to list available notebooks, retrieve their data sources, and perform natural language queries to receive AI-generated, citation-backed answers.
Click on "Deploy 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 Server What are the key findings in my 'Market Research' notebook?"
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
This is an unofficial Model Context Protocol (MCP) server for Google NotebookLM, allowing AI agents and assistants (like Google Antigravity, Claude Code, Cursor, etc.) to query your Notebooks and retrieve citation-backed answers.
Prerequisites
Python 3.10+
A Google NotebookLM session cookie.
Related MCP server: notebooklm-py-diet-mcp
Installation
Clone this repository.
Initialize and activate a virtual environment:
python3 -m venv .venv source .venv/bin/activateInstall dependencies:
pip install .
Configuration
You need to authenticate the unofficial API so it can access your Notebooks.
Authenticate via Playwright: Run the interactive login command provided by
notebooklm-py:uv run notebooklm login # or if using a standard python venv: notebooklm loginThis will open a Chromium browser window where you can log in to your Google Account. Once logged in and on the NotebookLM page, close the browser. The session will be saved locally.
Usage
Start the MCP server over stdio using the command-line entry point:
uv run python -m mcp_notebooklm
# or if using standard python venv:
python -m mcp_notebooklmServer Tools
This server exposes the following MCP tools:
list_notebooks: Lists all your Notebooks (returns their IDs and Titles).get_notebook_sources: Retrieves the data sources for a specific notebook.ask_notebook: Passes a natural language query to a specific notebook and returns the AI-generated answer.select_notebook: Selects a notebook by ID and creates a local directory for it.create_note: Creates a new text note in the specified notebook.download_notes: Downloads all notes from a specific notebook into a local subfolder.generate_audio: Generates an Audio Overview (podcast) for a notebook.generate_video: Generates a Video Overview for a notebook.generate_slides: Generates a Slide Deck for a notebook.generate_infographic: Generates an Infographic for a notebook.generate_report: Generates a Report (Briefing Doc, Study Guide, Blog Post, Custom) for a notebook.
Using with Claude Desktop or Antigravity
Add this to your MCP settings configuration (mcp.json or equivalent):
{
"mcpServers": {
"notebooklm": {
"command": "/path/to/your/virtualenv/bin/python",
"args": [
"-m",
"mcp_notebooklm"
],
"cwd": "/path/to/this/repo"
}
}
}Available Tools
11 toolsask_notebookC
Ask a question to a specific NotebookLM notebook and get an AI-generated answer.
Args: notebook_id: The ID of the NotebookLM notebook. query: The question to ask in natural language.
Inputs: notebook_id (required), query (required). Returns: result
create_noteC
Create a new note in the specified notebook.
Args: notebook_id: The ID of the NotebookLM notebook. title: The title of the new note. content: The text content of the note.
Inputs: notebook_id (required), title (required), content (required). Returns: result
download_notesA
Downloads all notes from a specific notebook into a local subfolder within the directory created for that notebook. Note: select_notebook should typically be run first to get the main folder.
Args: notebook_id: The ID of the NotebookLM notebook. subfolder_name: The name of the subfolder to save notes (default: "notes").
Inputs: notebook_id (required), subfolder_name. Returns: result
generate_audioB
Generates an Audio Overview (podcast) for a notebook.
Args: notebook_id: The ID of the NotebookLM notebook. instructions: Custom instructions for the podcast hosts.
Inputs: notebook_id (required), instructions. Returns: result
generate_infographicC
Generates an Infographic for a notebook.
Args: notebook_id: The ID of the NotebookLM notebook. instructions: Custom instructions for infographic generation.
Inputs: notebook_id (required), instructions. Returns: result
generate_reportB
Generates a Report for a notebook.
Args: notebook_id: The ID of the NotebookLM notebook. format_type: The type of report to generate. Options: BRIEFING_DOC, STUDY_GUIDE, BLOG_POST, CUSTOM. instructions: Custom instructions (required if format_type is CUSTOM).
Inputs: notebook_id (required), format_type, instructions. Returns: result
generate_slidesC
Generates a Slide Deck for a notebook.
Args: notebook_id: The ID of the NotebookLM notebook. instructions: Custom instructions for slide deck generation.
Inputs: notebook_id (required), instructions. Returns: result
generate_videoB
Generates a Video Overview for a notebook.
Args: notebook_id: The ID of the NotebookLM notebook. instructions: Custom instructions for video generation.
Inputs: notebook_id (required), instructions. Returns: result
get_notebook_sourcesC
Get all sources associated with a specific NotebookLM notebook.
Args: notebook_id: The ID of the NotebookLM notebook.
Inputs: notebook_id (required). Returns: result
list_notebooksB
List all available NotebookLM notebooks for the authenticated user.
Inputs: no named parameters. Returns: result
select_notebookC
Selects a notebook by ID and creates a local directory for it based on its title. Returns the path to the created directory.
Args: notebook_id: The ID of the NotebookLM notebook.
Inputs: notebook_id (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool has a clearly distinct purpose with no ambiguity: ask_notebook queries content, create_note adds notes, download_notes exports files, generate_* tools create different output formats, get_notebook_sources retrieves sources, list_notebooks enumerates notebooks, and select_notebook sets up local directories. The tools target different actions on notebooks without overlap.
Tool names follow a consistent verb_noun pattern throughout: ask_notebook, create_note, download_notes, generate_audio, generate_infographic, generate_report, generate_slides, generate_video, get_notebook_sources, list_notebooks, select_notebook. All use snake_case with clear verbs aligned to their functions.
With 11 tools, this is well-scoped for a NotebookLM server, covering core operations like querying, note management, content generation in multiple formats, source retrieval, and notebook selection. Each tool earns its place without bloat, fitting typical MCP server ranges.
The toolset provides comprehensive coverage for NotebookLM workflows, including CRUD-like operations (create_note, list_notebooks), content generation in various formats, and utility functions. Minor gaps exist, such as no update/delete for notes or notebooks, but agents can work around these with the available tools.
Maintenance
Related MCP Connectors
Web knowledge fetching tools for your agent.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Persistent docs and memory for AI agents — read, write, organize & search a shared workspace.
Your company's brain for AI agents. Cited, permission-aware knowledge across every system.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to interact with Google NotebookLM for grounded, hallucination-free answers through notebook management, source management, research, and generation tools.29255 npm45MIT
- AlicenseAqualityDmaintenanceConnects AI coding agents to Google NotebookLM, enabling querying notebooks, adding sources, and generating artifacts like reports, podcasts, and slide decks.141MIT
- AlicenseAqualityCmaintenanceExposes Google NotebookLM notebooks as tools for AI assistants, enabling listing, finding, and querying notebooks with grounded answers.41MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Google NotebookLM to create notebooks, add sources (PDF, URL, YouTube), and ask questions with citations.1MIT