NotebookLM MCP Server
Enables AI agents to query and interact with Google NotebookLM notebooks to retrieve citation-backed information. It provides tools for listing notebooks, accessing source data, and asking natural language questions.
README
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.
Installation
- Clone this repository.
- Initialize and activate a virtual environment:
python3 -m venv .venv source .venv/bin/activate - Install 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:This 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.uv run notebooklm login # or if using a standard python venv: notebooklm login
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_notebooklm
Server 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"
}
}
}
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.