Notebooklm-Unofficial-API-MCP
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-Unofficial-API-MCPshow me my recent notebooks"
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-Unofficial-API-MCP
A thin wrapper around notebooklm-py
(MIT licensed, by Teng Lin) — the unofficial Python client/MCP server for Google
NotebookLM. This project depends on notebooklm-py rather than vendoring it, and
adds project-specific MCP tools on top of its stock tool set (notebooks, sources,
chat, studio artifact generation, deep research, sharing).
Why a wrapper
notebooklm-py already ships a complete MCP server (notebooklm-mcp). This
wrapper exists so custom tools can be layered on without forking upstream —
notebooklm.mcp.server.create_server() is called and its returned FastMCP
instance is extended in src/notebooklm_wrapper/server.py.
Related MCP server: NotebookLM MCP Server
Getting started
Each person who runs this needs their own authenticated session — there is
no shared credential in this repo, and none is possible: notebooklm-py is
unofficial and works by driving your own Google account, not a documented API.
1. Prerequisites
Python 3.10+
uv(recommended) orpip
2. Clone and install
git clone https://github.com/DevstackK/Notebooklm-Unoffical-API-MCP.git
cd Notebooklm-Unoffical-API-MCP
uv sync
# or: pip install -e .3. Authenticate with your own Google account
Pick one:
A — Browser login (Playwright), simplest first run:
uv run playwright install chromium # one-time browser download
uv run notebooklm loginThis opens a Chromium window; sign in to the Google account whose NotebookLM
notebooks you want the server to access, then close it. The session is saved
to a local profile (storage_state.json) — nothing is uploaded anywhere.
B — Import cookies from a browser you're already logged into:
uv pip install "notebooklm-py[cookies]"
uv run notebooklm login --browser-cookies # reads from Chrome by default
uv run notebooklm login --browser-cookies=firefox # or another supported browserSkips the Playwright/Chromium download entirely — useful if you're already signed into NotebookLM in your regular browser.
Verify it worked:
uv run notebooklm statusIf you ever need to switch Google accounts: uv run notebooklm login --fresh.
4. Run the MCP server
uv run notebooklm-unofficial-mcp5. Point Claude Code (or another MCP client) at it
claude mcp add notebooklm-unofficial -- uv run --directory /path/to/Notebooklm-Unoffical-API-MCP notebooklm-unofficial-mcpSwap /path/to/Notebooklm-Unoffical-API-MCP for wherever you cloned it. Any
MCP-compatible client (Claude Desktop, etc.) can point at the same
notebooklm-unofficial-mcp command over stdio.
Adding a tool
Add @mcp.tool()-decorated functions inside _register_custom_tools in
src/notebooklm_wrapper/server.py.
License
MIT — see LICENSE. Not affiliated with Google or the notebooklm-py
project; "unofficial" in the name reflects that both this wrapper and its
upstream dependency use NotebookLM's undocumented web API.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP-native notes and memory for ChatGPT, Claude, and other AI tools.
System-of-record notebook for AI coding agents: pages, datastores, tasks, skills over MCP.
Agent-native notes, tasks, dev-docs, vaults, sync & handoffs. MCP + OpenAPI dual surface.
- TaprootOAuthcom.taproothq
Persistent memory layer for AI tools. Save and recall notes across Claude and other MCP clients.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables interaction with Google's NotebookLM via the Model Context Protocol to manage notebooks, sources, and research tasks. Users can create, query, and summarize content, as well as generate artifacts like audio overviews and slide decks using natural language.321MIT
- AlicenseAqualityCmaintenanceProvides CLI and MCP server to programmatically access Google NotebookLM, enabling AI assistants to create notebooks, add sources, generate podcasts, and more, with support for both personal and enterprise accounts.41MIT
- AlicenseNot gradedqualityCmaintenanceExposes Google NotebookLM as MCP tools, enabling management of notebooks, sources, chat, artifacts, and research via natural language.2MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that connects AI agents to Google NotebookLM, enabling natural language interaction with notebooks, including Q&A, source ingestion, and audio overview generation.2,451MIT