notebooklm-mcp
Exposes Google NotebookLM through Google's internal APIs using an authenticated Google account session. Provides tools to list the user's notebooks, fetch notebook metadata and its attached sources, add new sources (web URLs, plain text, PDF/DOCX files) to a notebook, and ask grounded questions that are answered only from a notebook's sources with inline citations.
Allows YouTube links to be ingested as sources into a NotebookLM notebook, so their content becomes part of the grounded corpus that can then be queried.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
notebooklm-mcp
A Model Context Protocol (MCP) server that exposes Google NotebookLM to any MCP-compatible AI client — Claude Desktop, Cursor, VS Code, Gemini Antigravity, and more.
Disclaimer — This server uses Google's undocumented internal APIs via notebooklm-py. It is intended for personal and research use. The API may change without notice.
Available tools
Tool | Description |
| List all notebooks for the authenticated user |
| Get metadata and sources for a notebook |
| Attach a URL, plain text, or local file (PDF/DOCX) to a notebook |
| Ask a grounded question and receive an answer cited from sources |
Related MCP server: NotebookLM MCP Server
Requirements
Python 3.10+
Git
A Google account with access to NotebookLM
Installation
Vibecoder? Paste
prompt.mdinto your AI assistant for a guided one-shot setup.
git clone https://github.com/sliberta2023/notebooklm-mcp.git
cd notebooklm-mcp
pip install -e .
playwright install chromiumAuthentication
NotebookLM uses Google session cookies. Run the one-time login to save your session locally:
python -m notebooklm loginA Chromium window opens. Log in with your Google account, wait until the NotebookLM homepage is fully loaded, then press ENTER in the terminal.
Your session is saved to ~/.notebooklm/storage_state.json. Sessions typically last 2–4 weeks. Re-run the command when you see authentication errors.
Security —
storage_state.jsoncontains session cookies. Keep it private and never commit it to version control.
Client configuration
Replace /path/to/notebooklm-mcp in all snippets below with the absolute path to the cloned repo.
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"notebooklm": {
"command": "python",
"args": ["/path/to/notebooklm-mcp/notebooklm_mcp/server.py"]
}
}
}Restart Claude Desktop after saving.
Google Antigravity (Gemini)
Create or edit .gemini/antigravity/mcp_config.json:
{
"mcpServers": {
"notebooklm": {
"command": "python",
"args": ["/path/to/notebooklm-mcp/notebooklm_mcp/server.py"]
}
}
}In the UI: click ... → MCP Servers → Manage MCP Servers → View raw config, then paste the above.
Cursor
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):
{
"mcpServers": {
"notebooklm": {
"command": "python",
"args": ["/path/to/notebooklm-mcp/notebooklm_mcp/server.py"]
}
}
}VS Code (GitHub Copilot)
Add to .vscode/mcp.json in your workspace:
{
"servers": {
"notebooklm": {
"type": "stdio",
"command": "python",
"args": ["/path/to/notebooklm-mcp/notebooklm_mcp/server.py"]
}
}
}Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"notebooklm": {
"command": "python",
"args": ["/path/to/notebooklm-mcp/notebooklm_mcp/server.py"]
}
}
}Tip — virtual environment: If you installed dependencies into a venv, point
commandat the venv Python instead:{ "command": "/path/to/notebooklm-mcp/.venv/bin/python" }
Tool reference
list_notebooks
List all notebooks for the authenticated user.
Arguments: none
Returns: JSON array of notebook objects.
[
{
"id": "494462ee-...",
"title": "Aggressive Options Trading",
"created_at": "2026-03-27 16:49:46",
"updated_at": null,
"source_count": 5
}
]get_notebook_info
Retrieve metadata and sources for a single notebook.
Argument | Type | Description |
| string | Notebook ID from |
Returns: JSON object with notebook and sources keys.
{
"notebook": { "id": "494462ee-...", "title": "Aggressive Options Trading", "source_count": 2 },
"sources": [
{ "id": "src1", "title": "Options Basics", "source_type": "pdf" },
{ "id": "src2", "title": "Investopedia ATR Guide", "source_type": "web_page", "url": "https://..." }
]
}add_source
Add a source to a notebook. Provide exactly one of the three source arguments.
Argument | Type | Description |
| string | Target notebook ID |
| string | Web URL or YouTube link to ingest |
| string | Plain-text content to upload |
| string | Absolute path to a PDF or DOCX file |
Returns: JSON object describing the created source.
{ "id": "abc...", "title": "Model Context Protocol", "source_type": "web_page", "url": "https://..." }query_notebook
Ask a grounded question. The answer is generated using only the notebook's sources.
Argument | Type | Description |
| string | Notebook to query |
| string | Natural-language question |
Returns: Plain-text answer with inline citations.
Project structure
notebooklm-mcp/
├── .github/
│ └── workflows/
│ └── ci.yml # Run tests + lint on every push / PR
├── notebooklm_mcp/
│ ├── __init__.py # Package version
│ ├── client.py # NotebookLM API layer (wraps notebooklm-py)
│ └── server.py # MCP tool definitions + entry point
├── tests/
│ └── test_tools.py # Unit tests (no auth required)
├── .gitignore
├── CHANGELOG.md
├── LICENSE
├── pyproject.toml
└── README.mdThe API layer (client.py) is decoupled from the MCP tool layer (server.py). If Google releases an official API, only client.py needs updating.
Contributing
Contributions are welcome. Please open an issue first for significant changes.
git clone https://github.com/sliberta2023/notebooklm-mcp.git
cd notebooklm-mcp
pip install -e ".[dev]"
# Run tests
pytest
# Lint
ruff check .
ruff format .Troubleshooting
Symptom | Fix |
| Run |
| Session expired — re-run |
| Ensure you ran |
| Run |
Server not listed in client | Verify the |
Tool calls time out | The Google internal endpoint may have changed; check for |
Related projects
notebooklm-py — Python client powering this server
Model Context Protocol — the open standard this server implements
License
MIT © 2026 sliberta2023
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
NotebookLM MCP server for ChatGPT, Claude and any AI agent: list notebooks, create notebook, add source, ask notebook, save note, generate Audio Overview and share notebook in your own NotebookLM account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to NotebookLM yourself; Cotlet does not store your password and you need no NotebookLM API key. About the official NotebookLM API: NotebookLM has an official API only for NotebookLM Enterprise (checked 5 Nov 2026). It is a REST API in v1alpha preview that creates, gets, lists, deletes and shares notebooks, and it needs an Enterprise license and a Google Cloud role. Setup and FAQ: https://cotlet.dev/integrations/notebooklm-api-mcp-server
Google Keep-style notes app with an MCP server for AI agents to read/write notes.
The Google Compute Engine MCP server is a fully-managed Model Context Protocol server that provides tools to manage Google Compute Engine resources through AI agents. It enables capabilities including instance management (creating, starting, stopping, resetting, listing), disk management, handling instance templates and group managers, viewing machine and accelerator types, managing images, and accessing reservation and commitment information. The server operates as a zero-deployment, enterprise-grade endpoint at https://compute.googleapis.com/mcp with built-in IAM-based security.
Notes, files, GitHub, and Drive through one MCP connection.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceSecure MCP server for querying Google NotebookLM notebooks. Enables AI assistants to list notebooks, read sources, and ask the NotebookLM AI questions about your sources.45 PyPI19MIT
- AlicenseNot gradedqualityCmaintenanceExposes Google NotebookLM as MCP tools, enabling management of notebooks, sources, chat, artifacts, and research via natural language.2MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for querying Google NotebookLM notebooks, enabling AI assistants to list notebooks, read sources, and ask questions about them.MIT
- AlicenseAqualityDmaintenanceA thin MCP wrapper around the unofficial Google NotebookLM Python client, enabling notebook management, source handling, chat, artifact generation, deep research, and sharing via MCP tools.39MIT