nblm-mcp
Provides access to Google NotebookLM (Gemini Notebook), including tools to list and create notebooks, manage sources, ask questions answered from those sources with citations, and generate Studio artifacts like audio overviews, briefing docs, quizzes, and mind maps.
Allows adding YouTube videos as sources to a NotebookLM notebook.
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., "@nblm-mcplist my recent notebooks and summarize the latest one"
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.
nblm-mcp
An MCP server that gives an AI agent access to Google NotebookLM (rebranded Gemini Notebook in July 2026): list and create notebooks, manage their sources, ask questions that are answered from those sources with citations, and generate Studio artifacts like audio overviews, briefing docs, quizzes and mind maps.
The point is grounding. NotebookLM answers only from the material you gave it,
so an agent that can call ask gets cited answers out of your own documents
instead of guessing — and it costs no tokens of your own context, because
Gemini does the reading server-side.
⚠️ Unofficial — read this first
Google has no public consumer API for NotebookLM. This server drives the same private web endpoints the notebooklm.google.com UI calls, authenticated with your own browser session cookies, via the MIT-licensed
notebooklm-pylibrary.
Not affiliated with or endorsed by Google.
The internal API can change without notice and break this server.
Your Google account's rate limits and daily Studio quotas apply.
Use an account you are comfortable automating. Best for personal projects, research, and prototypes.
Google does document an official API for Gemini Notebook Enterprise. If you have a Workspace/Cloud org with that feature, prefer it over this.
Install
Not on PyPI yet — install straight from this repository. uvx builds and runs
it on demand, so there is nothing to keep updated by hand:
uvx --from git+https://github.com/Diego-Dev-Moros/nblm-mcp nblm-mcpRelated MCP server: NotebookLM MCP Server
Log in once
Login needs the auth extra (Playwright) and a human at the keyboard:
uvx --from "nblm-mcp[auth] @ git+https://github.com/Diego-Dev-Moros/nblm-mcp" nblm-mcp-loginA browser window opens; sign in to NotebookLM as you normally would. The
session cookies are stored under ~/.notebooklm/ (the same profile layout
notebooklm-py uses, so an existing notebooklm login also works). The MCP
server never logs in on its own — it needs an interactive browser, which an
MCP host cannot provide.
If Playwright has no browser yet, run playwright install chromium first.
Cookies expire. When they do, tools start returning an auth error; run the login command again.
Connect it to a client
Claude Code — -s user makes it available in every project:
claude mcp add notebooklm -s user -- \
uvx --from git+https://github.com/Diego-Dev-Moros/nblm-mcp nblm-mcpClaude Desktop — add this to claude_desktop_config.json and restart the
app (macOS: ~/Library/Application Support/Claude/, Windows:
%APPDATA%\Claude\, Linux: ~/.config/Claude/):
{
"mcpServers": {
"notebooklm": {
"command": "uvx",
"args": ["--from", "git+https://github.com/Diego-Dev-Moros/nblm-mcp", "nblm-mcp"]
}
}
}Claude Desktop launches from the GUI, which does not inherit your shell's
PATH. If the server fails to start there, replace "uvx" with its absolute
path (which uvx, typically ~/.local/bin/uvx).
Either way, confirm it works by asking the agent to call auth_status.
Tools
Tool | What it does |
| Verifies the stored session with a real request; tells you if you need to log in again. |
| All notebooks the account can reach, with ids and source counts. |
| One notebook plus its sources; optionally NotebookLM's own summary. |
| Creates an empty notebook. |
| Deletes a notebook and everything in it. Requires |
| Sources in a notebook and their processing status. |
| Adds one source from a URL (web, YouTube, Drive), pasted text, or a local file. |
| Removes a source. Requires |
| Asks the notebook a question; returns the answer plus citations resolved to source titles. |
| Past question/answer turns for the notebook's conversation. |
| Generated Studio artifacts and their status — also how you poll a running generation. |
| Generates audio, video, report, study_guide, quiz, flashcards, infographic, slide_deck, or mind_map. |
| Downloads a completed artifact to a file on the machine running the server. |
Notes on behavior
Destructive tools are gated.
delete_notebookanddelete_sourcerefuse to run withoutconfirm=true, so a stray tool call can't destroy a notebook.Generation is slow and quota-bound.
generate_artifactreturns as soon as the job is queued (wait=false, the default) and tells the agent to polllist_artifacts. Passwait=trueto block instead; it waits up toNBLM_GENERATION_TIMEOUTseconds.File paths are server-side.
add_source(file_path=...)anddownload_artifactread and write on the host running the MCP server, which is not necessarily where the user's chat client runs.
Configuration
All optional — see .env.example. A .env in the working
directory is loaded if present.
Variable | Default | Purpose |
| active profile | Which stored login to use, for multiple Google accounts. |
| resolved from profile | Explicit path to a |
|
| Where |
|
| Seconds to wait for an artifact when |
|
| Seconds to wait for a new source to finish processing. |
Development
uv venv && uv pip install -e ".[dev]"
uv run pytest
uv run ruff check src testsThe test suite runs the tools against an in-memory fake client — it never touches Google, so it is safe and fast to run anywhere.
Prior art
notebooklm-py does the hard part
— reverse-engineering and maintaining the private batchexecute protocol — and
ships its own, larger MCP server. This project is a smaller, opinionated tool
surface on top of that library: fewer tools, confirmation gates on destructive
operations, and citation-resolved answers.
License
MIT — see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables 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.11
- Alicense-qualityDmaintenanceEnables AI agents to programmatically access Google NotebookLM through browser automation for managing notebooks, sources, and chat interactions. It supports automated content generation including audio overviews, study guides, and quizzes directly within AI workflows.329MIT
- AlicenseBqualityFmaintenanceEnables AI agents to interact with Google NotebookLM for grounded, hallucination-free answers through notebook management, source management, research, and generation tools.2932922MIT
- AlicenseBqualityAmaintenanceEnables AI assistants to programmatically interact with Google NotebookLM, allowing them to create and manage notebooks, add sources, query content, generate audio/video, and perform research tasks through natural language commands.435,890MIT
Related MCP Connectors
Google NotebookLM via natural language: create notebooks, add sources (PDF, URL, YouTube) and ask gr
AI access to your aNotepad online notes: read, search, write, and organize via 22 tools.
Your company's brain for AI agents. Cited, permission-aware knowledge across every system.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/Diego-Dev-Moros/nblm-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server