Logotipo de Notebooklm MCP

Notebooklm MCP

Comunidad
alfredang

Bridge Google NotebookLM with Claude via MCP. Full programmatic access to create notebooks, manage sources, and generate AI-powered content — podcasts, videos, slides, mind maps, quizzes, flashcards, and reports — all through natural language.

Editoralfredang
Repositorionotebooklm-mcp
IdiomaPython
Forks
35
Estrellas
58
Herramientas disponibles
0
Tipo de transportestdio
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    Notebooklm MCP ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés de la comunidad en el repositorio

    58 estrellas y 35 forks en el repositorio enlazado.

NotebookLM MCP for Claude (Desktop & CLI)

A powerful MCP (Model Context Protocol) server that brings Google NotebookLM into Claude Desktop and Claude Code.

Features

  • Research: List and create notebooks
  • Content: Add URLs, text, and files as sources
  • Generation: Create Podcasts, Videos, Slides, Mind Maps, Infographics, Quizzes, Flashcards, and Reports
  • Natural Interaction: Chat directly with your sources using Claude's reasoning

Prerequisites

1. Install uv (Python Package Manager)

bash
# Using curl
curl -LsSf https://astral.sh/uv/install.sh | sh

# Or with Homebrew (macOS)
brew install uv

Default install location: ~/.local/bin/uv

powershell
# Using PowerShell
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

# Or with Scoop
scoop install uv

# Or with winget
winget install --id=astral-sh.uv -e

Default install location: %USERPROFILE%\.local\bin\uv.exe

Verify installation:

bash
uv --version

2. Clone and Install Dependencies

bash
# Clone the repository
git clone https://github.com/alfredang/notebooklm-mcp.git

# Navigate to the project folder
cd notebooklm-mcp

# Install dependencies (includes notebooklm-py and fastmcp)
uv sync

This will:

  • Create a .venv virtual environment
  • Install notebooklm-py (Python client for NotebookLM API)
  • Install fastmcp (MCP server framework)

Note: These dependencies are required for both Claude Desktop and Claude Code.


Step 1: Authenticate with NotebookLM

NotebookLM uses browser-based authentication. You must login once to save your session cookies.

bash
cd notebooklm-mcp
uv run notebooklm login

What happens:

  1. A browser window will open automatically
  2. Log in to your Google account
  3. Navigate to NotebookLM if not redirected automatically
  4. Wait until the terminal displays "Success"
  5. Close the browser

Verify authentication:

bash
uv run python -c "
from notebooklm import NotebookLMClient
import asyncio
async def test():
    client = await NotebookLMClient.from_storage()
    async with client:
        notebooks = await client.notebooks.list()
        print(f'Authenticated! Found {len(notebooks)} notebooks.')
asyncio.run(test())
"

You should see: Authenticated! Found X notebooks.


Step 2: Test the MCP Server

Before configuring Claude, verify the server starts correctly:

bash
cd notebooklm-mcp
uv run python server.py

Expected output:

Starting NotebookLM MCP server...
NotebookLM client initialized successfully
Starting MCP server 'NotebookLM' with transport 'stdio'

Press Ctrl+C (or Cmd+C on Mac) to stop the server after confirming it works.


Step 3: Setup for Claude Desktop

3.1 Find Your Paths

You'll need two paths for the configuration:

Find your uv path:

bash
which uv

Example output: /Users/yourname/.local/bin/uv

powershell
where uv

Example output: C:\Users\yourname\.local\bin\uv.exe

Find your project path:

bash
cd notebooklm-mcp && pwd

Example output: /Users/yourname/projects/notebooklm-mcp

powershell
cd notebooklm-mcp; (Get-Location).Path

Example output: C:\Users\yourname\projects\notebooklm-mcp

3.2 Open the Config File

From Claude Desktop (Recommended):

  1. Open Claude Desktop
  2. Go to Settings (gear icon) → Developer → Edit Config
  3. This opens claude_desktop_config.json in your default editor

Or manually:

~/Library/Application Support/Claude/claude_desktop_config.json

%APPDATA%\Claude\claude_desktop_config.json

3.3 Add the MCP Server Configuration

Important: Replace <UV_PATH> and <PROJECT_PATH> with your actual paths from Step 3.1

json
{
  "mcpServers": {
    "notebooklm": {
      "command": "<UV_PATH>",
      "args": [
        "--directory",
        "<PROJECT_PATH>",
        "run",
        "python",
        "server.py"
      ]
    }
  }
}

Example with real paths:

json
{
  "mcpServers": {
    "notebooklm": {
      "command": "/Users/yourname/.local/bin/uv",
      "args": [
        "--directory",
        "/Users/yourname/projects/notebooklm-mcp",
        "run",
        "python",
        "server.py"
      ]
    }
  }
}
json
{
  "mcpServers": {
    "notebooklm": {
      "command": "<UV_PATH>",
      "args": [
        "--directory",
        "<PROJECT_PATH>",
        "run",
        "python",
        "server.py"
      ]
    }
  }
}

Example with real paths:

json
{
  "mcpServers": {
    "notebooklm": {
      "command": "C:\\Users\\yourname\\.local\\bin\\uv.exe",
      "args": [
        "--directory",
        "C:\\Users\\yourname\\projects\\notebooklm-mcp",
        "run",
        "python",
        "server.py"
      ]
    }
  }
}

Note: On Windows, use double backslashes (\\) in JSON paths.

3.4 Restart Claude Desktop

PlatformHow to Restart
macOSPress Cmd+Q to fully quit, then reopen
WindowsRight-click tray icon → Quit, then reopen

Look for the hammer icon in the chat input area - this indicates MCP tools are available.

3.5 Verify Connection

In Claude Desktop, type:

List my NotebookLM notebooks

Claude should use the list_notebooks tool and display your notebooks.


Step 4: Setup for Claude Code (CLI)

Prerequisites: Complete Steps 1-2 first (install dependencies with uv sync and authenticate with uv run notebooklm login).

4.1 Add the MCP Server

Replace <PROJECT_PATH> with your actual project path:

bash
claude mcp add notebooklm -- uv --directory <PROJECT_PATH> run python server.py

Example:

bash
claude mcp add notebooklm -- uv --directory /Users/yourname/projects/notebooklm-mcp run python server.py
powershell
claude mcp add notebooklm -- uv --directory <PROJECT_PATH> run python server.py

Example:

powershell
claude mcp add notebooklm -- uv --directory C:\Users\yourname\projects\notebooklm-mcp run python server.py

4.2 Verify the Server is Added

bash
claude mcp list

You should see notebooklm in the list.

4.3 Test in Claude Code

Start a new Claude Code session:

bash
claude

Then ask:

List my NotebookLM notebooks

Usage Examples

Once configured, use natural language commands in Claude Desktop or Claude Code:

TaskExample Command
List notebooks"Show me all my NotebookLM notebooks"
Create notebook"Create a new notebook called 'Research Project'"
Add URL source"Add this URL to my notebook: https://example.com/article"
Generate podcast"Generate a podcast for notebook ID xyz123"
Create slides"Make a slide deck from my 'Research Project' notebook"
Generate mind map"Create a mind map for notebook abc456"
Create quiz"Generate a quiz based on my notebook sources"
Make flashcards"Create study flashcards from this notebook"

Available Tools

ToolDescription
list_notebooksList all notebooks in your account
create_notebookCreate a new notebook
add_source_urlAdd a website URL as a source
add_source_textAdd raw text as a source
ask_notebookAsk a question based on notebook sources
get_notebook_summaryGet summary and key insights
generate_audio_overviewGenerate a podcast-style audio
generate_video_overviewGenerate a video overview
generate_slide_deckGenerate PowerPoint-style slides
generate_mind_mapGenerate an interactive mind map
generate_infographicGenerate a visual infographic
generate_quizGenerate quiz questions
generate_flashcardsGenerate study flashcards
generate_summary_reportGenerate a briefing document
generate_data_tableExtract data into a table

Troubleshooting

"Server disconnected" or "Failed to spawn process"

Cause: Claude Desktop can't find uv because it doesn't inherit your shell's PATH.

Solution: Use the full absolute path to uv in the config (see Step 3.1).


"Command not found: uv"

Add to your shell profile (~/.zshrc or ~/.bashrc):

bash
export PATH="$HOME/.local/bin:$PATH"

Then reload:

bash
source ~/.zshrc  # or source ~/.bashrc

Add to your PATH:

  1. Open System Properties → Environment Variables
  2. Under "User variables", edit Path
  3. Add: %USERPROFILE%\.local\bin
  4. Restart your terminal

MCP Server Not Appearing in Claude Desktop

Cause: Invalid JSON in config file or Claude not restarted properly.

Solution:

  1. Validate your JSON at https://jsonlint.com/
  2. Ensure no trailing commas in the JSON
  3. Fully quit and reopen Claude Desktop

"NotebookLM client not initialized"

Cause: Server started before authentication was complete.

Solution:

  1. Run uv run notebooklm login first
  2. Restart Claude Desktop or re-add the MCP server in Claude Code

Check Claude Desktop Logs

bash
# View recent logs
tail -100 ~/Library/Logs/Claude/mcp*.log

# Or open in Finder
open ~/Library/Logs/Claude/
powershell
# View logs folder
explorer "$env:APPDATA\Claude\logs"

Remove and Re-add MCP Server (Claude Code)

If issues persist:

bash
claude mcp remove notebooklm
claude mcp add notebooklm -- uv --directory <PROJECT_PATH> run python server.py

Updating

To update the NotebookLM library:

bash
cd notebooklm-mcp
uv sync --upgrade

Project Structure

notebooklm-mcp/
├── server.py          # MCP server implementation
├── pyproject.toml     # Project dependencies
├── README.md          # This file
├── SKILL.md           # Claude Code skill definition
└── .venv/             # Virtual environment (auto-created)

License

MIT License

Usa el MCP de Notebooklm MCP con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado Notebooklm MCP, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade Notebooklm MCP como servidor

Cuando el estado del conector sea «Listo», haz clic en «Editar servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en «Editar servidores».
  3. Pega la configuración del servidor MCP de Notebooklm MCP.
  4. Guarda la lista de servidores.
  5. Actualiza si quieres comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Editar servidores»
{
  "mcpServers": {
    "alfredang-notebooklm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Usa la conexión con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de Notebooklm MCP y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de Notebooklm MCP.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Notebooklm MCP para ayudarme con esta tarea?
Notebooklm MCP
Claro. Lo he leído.
Esto es lo que he encontrado con Notebooklm MCP.

Preguntas frecuentes

¿Para qué sirve el servidor MCP Notebooklm MCP?

Notebooklm MCP es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas externas y acceder a información de contexto de fuentes externas. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP Notebooklm MCP con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar Notebooklm MCP con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el servidor MCP Notebooklm MCP con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves API y herramientas MCP en un solo espacio de trabajo. Con Notebooklm MCP conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu trabajo con los chats en TypingMind.

¿Cómo conecto el servidor MCP Notebooklm MCP a TypingMind?

Notebooklm MCP funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP Notebooklm MCP en TypingMind?

Notebooklm MCP ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves API con TypingMind para usar el servidor MCP Notebooklm MCP?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves API, prompts y configuración MCP. Si Notebooklm MCP requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇