notebooklm-mcp
MCP server for Google NotebookLM that allows asking questions to notebooks and managing notebook libraries via browser automation (Patchright). Designed for use with Claude Code and any MCP client.
README
notebooklm-mcp
Servidor MCP (Model Context Protocol) para o Google NotebookLM, em TypeScript/Node, via automação de browser com Patchright. Respostas ancoradas nas suas fontes (Gemini), sem API oficial. Pensado para o Claude Code e qualquer cliente MCP.
⚠️ Aviso. Projeto não-oficial, sem afiliação com o Google. A automação de uma sessão logada pode ser considerada acesso automatizado sob os Termos do NotebookLM, com risco à conta. Use por sua conta e risco. Sujeito a limites de uso (ex.: ~50 perguntas/dia no plano free).
Por que TS e não Python
O público de MCP/Claude Code sempre tem Node; Python adiciona atrito de instalação
(interpretador, venv, pip). Este projeto é um port da skill notebooklm (Python) para
TS, mantendo a lógica de automação já validada. Distribuição via npx, sem dashboard.
Instalação e uso
# 1. Login interativo (uma vez; abre o browser para você logar no Google)
npx notebooklm-mcp login
# 2. Registrar no Claude Code (consome via stdio)
claude mcp add notebooklm -- npx -y notebooklm-mcp
# Gerência da biblioteca (opcional, também há tools MCP equivalentes)
npx notebooklm-mcp notebooks add "<url>" "Meu Notebook" "Descrição" "topico1,topico2"
npx notebooklm-mcp notebooks list
Tools expostas
| Tool | Função |
|---|---|
notebooklm_ask |
Pergunta a um notebook (ativo, por id ou por URL) |
notebooklm_list_notebooks |
Lista a biblioteca |
notebooklm_add_notebook |
Adiciona notebook |
notebooklm_activate_notebook |
Define o notebook ativo |
notebooklm_remove_notebook |
Remove notebook |
notebooklm_auth_status |
Status da sessão |
Configuração (env)
| Variável | Default | Descrição |
|---|---|---|
NOTEBOOKLM_CONFIG_DIR |
~/.notebooklm-mcp |
Diretório de dados/sessão |
NOTEBOOKLM_HEADLESS |
true |
Browser headless nas perguntas |
NOTEBOOKLM_BROWSER_CHANNEL |
chrome |
Canal do Chromium (chrome/msedge/...) |
NOTEBOOKLM_DEFAULT_NOTEBOOK_URL |
— | Notebook padrão se nenhum ativo |
Veja PLAN.md para o plano de desenvolvimento e o estado de cada parte.
Dev
npm install
npm run dev -- login # roda via tsx, sem build
npm run build && npm start
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.