NotebookLM MCP Server 标志

NotebookLM MCP Server

社区
moodRobotics

Universal installer and configuration guide for NotebookLM MCP server.

发布者moodRobotics
代码仓库notebooklm-mcp-server
语言TypeScript
复刻数
12
星标数
36
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    NotebookLM MCP Server 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 36 个星标和 12 个复刻。


💡 What is this?

Google's Gemini Notebook (renamed from NotebookLM in July 2026) is the best grounded-answer engine on the market: it only answers from the sources you give it, with citations. This MCP server hands that power to your AI agents — Claude, Gemini, Antigravity, Cursor and any other MCP client — so they can build notebooks, run Deep Research, generate podcasts, videos, quizzes, flashcards, reports and mind maps, take notes, and share the results with your team. All programmatically, with zero hallucinations.

[!NOTE] NotebookLM is now Gemini Notebook. Google renamed the product on July 16, 2026 (see notebook.google). Same product, same notebooks, same API surface — this server keeps working unchanged, and the npm package keeps its notebooklm-mcp-server name.

🚀 Installation

Option 1 — Global install (recommended)

bash
npm install -g notebooklm-mcp-server

[!NOTE] The server checks for updates on startup and keeps itself current automatically.

Option 2 — Zero-install with NPX

bash
npx -y notebooklm-mcp-server auth   # authenticate
npx -y notebooklm-mcp-server start  # run the server

🔑 Authentication

  1. Run the interactive login (opens a Chromium window):
bash
npx notebooklm-mcp-server auth
  1. Sign in with your Google account. When the notebook list appears, the session cookies (including Google's rotating __Secure-1PSIDTS token) are captured and saved to ~/.notebooklm-mcp/auth.json.

  2. Done — the server loads the session automatically and refreshes the rotating token by itself.

[!TIP] If the session ever expires, run npx notebooklm-mcp-server auth again in a terminal, then call the refresh_auth MCP tool (or just restart your client) to pick up the new cookies without reconfiguring anything.

⚡ Connect Your AI Client

🤖 Claude Code

bash
claude mcp add notebooklm -- npx -y notebooklm-mcp-server start

💬 Claude Desktop

Add to claude_desktop_config.json (Settings → Developer → Edit Config):

json
{
  "mcpServers": {
    "notebooklm": {
      "command": "npx",
      "args": ["-y", "notebooklm-mcp-server", "start"]
    }
  }
}

🌌 Antigravity CLI

Antigravity's CLI manages MCP servers through a JSON config file:

  • Global: ~/.gemini/config/mcp_config.json
  • Per-workspace: .agents/mcp_config.json in your project
json
{
  "mcpServers": {
    "notebooklm": {
      "command": "npx",
      "args": ["-y", "notebooklm-mcp-server", "start"]
    }
  }
}

Then type /mcp in the Antigravity prompt panel to open the MCP Manager: check the connection status ring, reload the config, or inspect logs — no restart needed. Your agents can now cite real sources in every mission.

🖥️ Antigravity IDE

The IDE reads the same config files as the CLI (~/.gemini/config/mcp_config.json or .agents/mcp_config.json). Alternatively, open the MCP Store panel, choose Add custom server, and paste the same JSON snippet. Reload the server list and the NotebookLM tools appear in the agent's toolbox.

💎 Gemini CLI

bash
gemini mcp add notebooklm --scope user -- npx -y notebooklm-mcp-server start

⌨️ Cursor

Add to .cursor/mcp.json in your project (or ~/.cursor/mcp.json globally):

json
{
  "mcpServers": {
    "notebooklm": {
      "command": "npx",
      "args": ["-y", "notebooklm-mcp-server", "start"]
    }
  }
}

🏄 Windsurf

Add the same mcpServers block to ~/.codeium/windsurf/mcp_config.json.

🧩 VS Code (Cline)

In Cline: MCP Servers → Configure and add the same mcpServers block shown above.

📖 Tool Reference

47 tools, grouped by what they do. Full parameter signatures live in docs/TOOLS.md.

📒 Notebooks

ToolDescription
notebook_listList all notebooks with sources and metadata
notebook_createCreate a new notebook
notebook_getGet one notebook's details and source IDs
notebook_renameRename a notebook
notebook_deleteDelete a notebook (requires confirm)
notebook_summarizeAI notebook guide: summary + suggested questions
prompts_suggestAI-suggested prompts to ask about the sources

🔗 Sharing

ToolDescription
notebook_shareToggle public link and/or manage collaborators by email
notebook_share_statusRead the current sharing configuration

🖇️ Sources

ToolDescription
notebook_add_urlAdd a website or YouTube video as a source
notebook_add_textAdd pasted text as a source
notebook_add_driveAdd a Google Drive document as a source
notebook_add_local_fileUpload a local PDF / TXT / Markdown file
source_get_guideAI guide for one source: summary + key topics
source_renameRename a source
source_check_freshnessCheck if a URL/Drive source has newer content
source_syncRe-sync a Drive source to the latest content
source_deleteDelete a source (requires confirm)

💬 Chat

ToolDescription
notebook_queryAsk questions about the sources, with citations
chat_history_getRead the latest conversation's Q&A turns
chat_history_deleteClear the chat history (requires confirm)
chat_configureSet the chat persona (default / learning guide / custom) and response length

🔍 Research

ToolDescription
research_startLaunch web or Drive research (fast ≈30s / deep ≈5min)
research_pollCheck research progress and discovered sources
research_importImport the discovered sources into the notebook

🎨 Studio

ToolDescription
audio_overview_createPodcast-style Audio Overview (formats: deep dive, brief, critique, debate)
video_overview_createVideo Overview (9 visual styles, from whiteboard to anime)
report_createWritten report from the sources
flashcards_createFlashcards (quantity and difficulty options)
quiz_createInteractive quiz (quantity and difficulty options)
infographic_createInfographic (landscape / portrait / square)
slide_deck_createSlide deck
data_table_createStructured data table
studio_pollCheck generation status of all artifacts
studio_deleteDelete a studio artifact

📦 Artifacts

ToolDescription
artifact_content_getFetch generated content (quiz/flashcards HTML, mind map JSON)
artifact_renameRename an artifact
artifact_exportExport an artifact to Google Drive (Docs or Sheets)

📝 Notes & Mind Maps

ToolDescription
note_createCreate a note
note_listList all notes
note_updateUpdate a note's content/title
note_deleteDelete a note (requires confirm)
mind_map_generateGenerate a mind map JSON from sources
mind_map_saveSave a mind map to the notebook
mind_map_listList saved mind maps
mind_map_deleteDelete a mind map

⚙️ System

ToolDescription
refresh_authReload session cookies from disk after re-running auth

🧪 Recipes

Real prompts you can paste into any connected agent — it picks the right tools by itself.

🎙️ From research question to podcast

"Research the latest on solid-state batteries with deep research, build a notebook called 'Solid State 2026' with the best sources, and generate a brief audio overview in English. Give me the link when it's done."

The agent chains notebook_create → research_start(mode: deep) → research_poll → research_import → audio_overview_create(format: brief) → studio_poll, and returns the notebook URL with the finished podcast.

🎓 Study kit from your PDFs

"Take the three PDFs in ./lectures, put them in a new notebook, and make me a hard quiz plus flashcards on the key concepts. Show me the quiz questions here."

The agent runs notebook_add_local_file per PDF, then quiz_create(difficulty: hard) + flashcards_create, polls with studio_poll, and pulls the questions out with artifact_content_get.

👥 Team briefing, shared

"Build a briefing notebook from these five links about our competitor, write a report, export it to Google Docs, and share the notebook with ana@example.com as a viewer."

The agent chains notebook_add_url ×5 → report_create → studio_poll → artifact_export(format: docs) → notebook_share(user_email, user_role: viewer) — and your teammate finds the notebook and the Doc waiting.

🛠️ Troubleshooting

SymptomFix
auth warns the API rejected your cookies right after loginYour Google account enforces Device Bound Session Credentials (DBSC) — default-on for Workspace and most personal accounts. DBSC ties the session to a device-held key, so cookies exported from the browser are refused by the API. Cookie-extraction clients cannot bypass this; use a Google account without DBSC enforcement.
Authentication expired right after logging inUpdate to ≥ 3.0.8 — older versions missed Google's rotating __Secure-1PSIDTS token. The server now captures and auto-refreshes it.
Authentication failed after weeks of useGoogle sessions eventually expire. Run npx notebooklm-mcp-server auth, then call the refresh_auth tool.
Studio generation stuck on pendingLong sources take a while — keep polling studio_poll; audio/video can take several minutes.
RPC errors after a Google updateGoogle occasionally rotates internal build labels. Update the package; if it persists, open an issue.

🧑‍💻 Development

bash
git clone https://github.com/moodRobotics/notebooklm-mcp-server.git
cd notebooklm-mcp-server
npm install
npm run build
npm run typecheck

Architecture notes live in docs/ARCHITECTURE.md, the roadmap in docs/ROADMAP.md.

🌐 Localization

This README is available in English, Español, Français, Português and Deutsch. If you edit one, please keep the others in sync (npm run docs:check).

📄 License

MIT — Developed with ❤️ by moodRobotics.

[!IMPORTANT] This is an unofficial community project. It is not affiliated with or endorsed by Google. It relies on reverse-engineered internal APIs that may change without notice; use it with a Google account you are comfortable automating.

安装

TypingMind
{
  "mcpServers": {
    "notebooklm-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "notebooklm-mcp-server",
        "start"
      ]
    }
  }
}

将 NotebookLM MCP Server MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 NotebookLM MCP Server 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 NotebookLM MCP Server 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 NotebookLM MCP Server MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "notebooklm-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "notebooklm-mcp-server"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 NotebookLM MCP Server MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 NotebookLM MCP Server MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 NotebookLM MCP Server 帮我完成这项任务吗?
NotebookLM MCP Server
当然,我看过了。
以下是我使用 NotebookLM MCP Server 得到的结果。

常见问题

NotebookLM MCP Server MCP 服务器有什么用途?

NotebookLM MCP Server 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 NotebookLM MCP Server MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 NotebookLM MCP Server。

为什么在 TypingMind 中使用 NotebookLM MCP Server MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 NotebookLM MCP Server 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 NotebookLM MCP Server MCP 连接到 TypingMind?

NotebookLM MCP Server 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

NotebookLM MCP Server MCP 在 TypingMind 中提供哪些工具?

NotebookLM MCP Server 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 NotebookLM MCP Server MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 NotebookLM MCP Server 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇