NotebookLM Claude Integration 标志

NotebookLM Claude Integration

组织
ray-manaloto

NotebookLM integration for Claude Desktop (MCP) and Claude Code (Plugin) - unified research assistant with notebook library management

发布者ray-manaloto
代码仓库notebooklm-claude-integration
语言Python
复刻数
5
星标数
15
可用工具
16
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

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

  • 16 个可用工具

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

  • 可直接复制的配置

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

  • 开源社区热度

    关联的代码仓库有 15 个星标和 5 个复刻。

NotebookLM Claude Integration

Complete integration of Google NotebookLM with Claude AI through both Claude Desktop (MCP) and Claude Code (Plugin).

Status: Production-ready ✅ | Built: Dec 2024 | Tested: Fully functional

What This Is

This project provides two complete integrations for using NotebookLM with Claude:

  1. Claude Desktop - MCP Server for conversational interface
  2. Claude Code CLI - Plugin for development workflow

Both allow you to query your NotebookLM notebooks directly from Claude, getting citation-backed answers from Gemini without leaving your workflow.

Quick Start

Project plan lives at docs/PROJECT_PLAN.md with topic-specific items under docs/plans/. CI details live at docs/CI.md.

Keep Pixi dependencies current (updates the lockfile, then installs from it):

bash
pixi run pixi-sync

NotebookLM end-to-end integration (uses your local Chrome auth):

bash
NOTEBOOK_IDS=pytest-patterns \
QUESTION="Summarize the key sources in this notebook." \
pixi run notebooklm-integration

AI Agent Step-by-Step (Codex CLI)

Use this sequence when an agent needs to verify the NotebookLM integration end-to-end.

  1. Install and enable the MCP server:
    bash
    uv tool install notebooklm-mcp-server
    codex mcp add notebooklm-rpc notebooklm-mcp
  2. Authenticate once (browser login) and persist cookies:
    bash
    pixi run notebooklm-auth-rpc
  3. Run the full E2E test (downloads the skill from GitHub into a temp repo and queries a notebook):
    bash
    pixi run codex-skill-e2e
  4. Optional overrides:
    bash
    NOTEBOOK_URL="https://notebooklm.google.com/notebook/<id>" \
    NOTEBOOK_NAME="My Test Notebook" \
    NOTEBOOK_DESC="Notebook for testing Codex + NotebookLM." \
    NOTEBOOK_ID="my-test-notebook" \
    pixi run codex-skill-e2e

AI Agent Step-by-Step (Codex SDK)

Use this sequence when a Codex SDK agent must validate the setup and produce a confirmed response.

  1. Ensure Codex CLI + MCP are set up (same as CLI steps above).
  2. Run the SDK verification (temp workspace, streaming output):
    bash
    SDK_ROOT=/tmp/codex-sdk-verify
    rm -rf "$SDK_ROOT" && mkdir -p "$SDK_ROOT"
    cd "$SDK_ROOT"
    
    cat <<'EOF' > package.json
    {
      "name": "codex-sdk-verify",
      "version": "0.1.0",
      "private": true,
      "type": "module",
      "scripts": { "run": "node run.mjs" },
      "dependencies": { "@openai/codex-sdk": "^0.77.0" }
    }
    EOF
    
    cat <<'EOF' > run.mjs
    import { Codex } from "@openai/codex-sdk";
    
    const prompt = [
      "Use the notebooklm-patterns skill.",
      "List all notebooks, then ask each notebook (via notebook_id) this question:",
      "'How can we improve the Codex implementation in this repo?'.",
      "Aggregate responses labeled by notebook name and include citations.",
     "If any notebook_query times out, retry once. If it still times out, record a timeout for that notebook and continue.",
    ].join(" ");
    
    const codex = new Codex();
    const thread = codex.startThread({
      workingDirectory: "/tmp/codex-skill-verify",
      sandboxMode: "read-only",
      approvalPolicy: "never",
    });
    
    const { events } = await thread.runStreamed(prompt);
    for await (const event of events) {
      if (event.type === "item.completed" && event.item?.type === "agent_message") {
        console.log(event.item.text);
      }
      if (event.type === "turn.failed") {
        console.error("Codex SDK turn failed:", event.error?.message ?? event.error);
      }
    }
    EOF
    
    npm install
    npm run run

For Claude Code (Plugin)

bash
# 1. Ensure NotebookLM MCP server is configured
uv tool install notebooklm-mcp-server
claude mcp add notebooklm-rpc -- notebooklm-mcp

# 2. Add the plugin marketplace from GitHub
claude plugin marketplace add ray-manaloto/notebooklm-claude-integration

# 3. Install the plugin (project scope)
claude plugin install notebooklm@notebooklm-plugin --scope project

# 4. Verify installation
claude plugin marketplace list  # Should show: notebooklm-plugin
claude plugin list              # Should show: notebooklm

# 5. Restart Claude Code, then:
/nlm auth rpc                      # First-time authentication
/nlm list                          # List notebooks
/nlm ask "Your question"           # Query the notebook

For local development (if you cloned this repo):

bash
claude plugin marketplace add .

For Claude Desktop (MCP)

bash
npm install -g notebooklm-mcp

Alternate NotebookLM MCP (HTTP/RPC, jacob-bd)

This repo also supports the HTTP/RPC-based MCP server from jacob-bd/notebooklm-mcp, which exposes additional tools (notebook creation, Drive sync, Studio artifacts).

Install + auth:

bash
uv tool install notebooklm-mcp-server
GOOGLE_ACCOUNT=ray.manaloto@gmail.com pixi run notebooklm-auth-rpc

Pixi task (recommended for repeatable runs):

bash
pixi run notebooklm-auth-rpc

Override account:

bash
GOOGLE_ACCOUNT=your@email pixi run notebooklm-auth-rpc

Register the MCP server:

bash
codex mcp add notebooklm-rpc -- notebooklm-mcp

Notes:

  • This server uses cookie extraction; persist cookies with save_auth_tokens.
  • Tool names include notebook_list, notebook_query, and source_sync_drive.
  • Use notebooklm-patterns for RPC-first guidance.
  • Override the account used for cookie extraction with GOOGLE_ACCOUNT=your@email.

Recommended Setup (RPC-first)

Use notebooklm-rpc as the default server for full feature parity:

  • notebooklm-rpc (expanded toolset, Drive sync, Studio artifacts)

If auth fails, re-run pixi run notebooklm-auth-rpc and retry.

When to Use This Repo vs. jacob-bd Only

You can use jacob-bd/notebooklm-mcp directly if you only need the RPC server tools. This repo adds:

  • Codex/Claude CLI wiring (/nlm commands, skills, tool routing).
  • Repeatable Pixi tasks for validation and multi-notebook queries.
  • Centralized MCP configuration and agent playbooks.

Add to claude_desktop_config.json:

json
{
  "mcpServers": {
    "notebooklm-rpc": {
      "command": "notebooklm-mcp"
    }
  }
}

Restart Claude Desktop, then:

Add my notebook: https://notebooklm.google.com/notebook/YOUR_ID

Repository Structure

notebooklm-claude-integration/
├── plugins/                         # Claude Code Plugin
│   └── notebooklm/
│       ├── .claude-plugin/
│       │   ├── plugin.json          # Plugin manifest
│       │   └── marketplace.json     # Marketplace manifest
│       ├── commands/
│       │   └── nlm.md               # /nlm command (ask, add, list, select, auth)
│       ├── agents/
│       │   └── research-agent.md    # Proactive research agent
│       ├── skills/
│       │   └── notebooklm-patterns/
│       │       └── SKILL.md         # MCP tools reference & troubleshooting
│       └── README.md
│
├── auth-layer/                      # Multi-backend authentication (NEW)
│   ├── src/
│   │   ├── backends/
│   │   │   ├── cdp.ts               # Chrome DevTools Protocol
│   │   │   ├── keychain.ts          # macOS Keychain storage
│   │   │   └── persistent.ts        # Playwright persistent context
│   │   ├── auth-manager.ts          # Main orchestrator
│   │   ├── cli.ts                   # nlm-auth CLI tool
│   │   └── types.ts                 # TypeScript types
│   ├── package.json
│   └── README.md
│
├── mcp-config/                      # MCP configuration utilities
│   ├── servers.json                 # Unified MCP server config
│   ├── env.example                  # Environment variable template
│   └── README.md                    # Pixi-first install instructions
│
├── docs/                            # Documentation
│   ├── CLAUDE_DESKTOP_SETUP.md
│   ├── CLAUDE_CODE_SETUP.md
│   ├── API_REFERENCE.md
│   └── TROUBLESHOOTING.md
│
├── examples/                        # Usage examples
│
└── tests/                           # Test suite

Codex Skill E2E Test

Use the Pixi task to download the skill from GitHub into a temp repo, load it, and run an end-to-end NotebookLM query through Codex CLI.

Prereqs:

  • codex CLI installed
  • NotebookLM MCP server added: codex mcp add notebooklm-rpc notebooklm-mcp
  • NotebookLM authentication completed at least once

Run:

bash
pixi run codex-skill-e2e

Optional overrides:

bash
NOTEBOOK_URL="https://notebooklm.google.com/notebook/<id>" \
NOTEBOOK_NAME="My Test Notebook" \
NOTEBOOK_DESC="Notebook for testing Codex + NotebookLM." \
NOTEBOOK_ID="my-test-notebook" \
pixi run codex-skill-e2e

Validation checklist (expected results):

  • RPC auth is valid (cookies persisted via save_auth_tokens)
  • The target notebook exists in notebook_list
  • A response is returned with citations

See docs/CODEX_PLAYBOOK.md for a full Codex CLI/SDK validation runbook.

Recommended validation run:

bash
pixi run codex-validate-setup

Codex Improvement Notes

  • Use notebook_id for multi-notebook queries to avoid shared state.
  • Retry a timed-out notebook_query once, then record a timeout and continue.

Codex Multi-Notebook Query

Run a single question across all notebooks and aggregate results (uses notebook_id to avoid shared state conflicts):

bash
pixi run codex-ask-all

Optional override:

bash
QUESTION="What are the key risks in this architecture?" pixi run codex-ask-all

RPC Auth Refresh

If RPC auth expires, refresh cookies:

bash
pixi run notebooklm-auth-rpc

Pixi RPC Task Runner

All NotebookLM MCP tools are available as pixi run nlm-* tasks (1:1 mapping). See docs/API_REFERENCE.md for the full task list and argument conventions.

Use the notebooklm-rpc server after the file-mode auth:

bash
NOTEBOOK_IDS=pytest-patterns \
QUESTION="Summarize the key sources in this notebook." \
pixi run codex-ask-all-rpc

Filter by notebook IDs (comma-separated):

bash
NOTEBOOK_IDS=pytest-patterns \
QUESTION="Provide modern best practices for integration tests without mocks." \
pixi run codex-ask-all

Validation checklist (expected results):

  • Each notebook returns a labeled section
  • Citations are included when NotebookLM provides them
  • Timeouts are retried once and reported

Repo Hygiene (Pixi-Only)

Install the pre-commit hook to block bash scripts and non-Pixi commands:

bash
pixi run hooks-install

Run locally on demand:

bash
pixi run hooks-run

Codex Multi-Notebook Query (Subagent-aware)

If Codex supports subagents or task parallelism, this script asks a subagent per notebook; otherwise it falls back to sequential queries:

bash
pixi run codex-ask-all-subagents

SDK example:

bash
cd codex-sdk-test
QUESTION="Summarize auth flow changes." npm run test:notebooklm-ask-all

Auth Bootstrap (Recommended for Multi-Process)

Run the auth flow once, then fan out workers that reuse the cookie file:

bash
pixi run notebooklm-auth-rpc

Plugin Commands

CommandDescription
/nlm ask <question>Ask a question to a notebook by ID
/nlm listList all notebooks
/nlm create <name>Create a new notebook
/nlm auth rpcSave RPC auth cookies

Features

Claude Code Plugin

  • ✅ /nlm command with subcommands
  • ✅ Research agent with automatic follow-up questions
  • ✅ Library management (add, list, select, search)
  • ✅ Uses existing NotebookLM MCP server
  • ✅ Citation-backed answers from Gemini
  • ✅ Troubleshooting skill with MCP tools reference

Claude Desktop (MCP)

  • ✅ Natural language notebook queries
  • ✅ Automatic notebook discovery
  • ✅ Citation-backed answers
  • ✅ Multi-notebook support
  • ✅ Persistent authentication

Architecture

┌─────────────┐         ┌──────────────┐         ┌─────────────┐
│   Claude    │────────>│   Plugin     │────────>│ NotebookLM  │
│  Code CLI   │         │  Commands    │         │ MCP Server  │
└─────────────┘         └──────────────┘         └─────────────┘
                               │                        │
                               │                        v
                               │                 ┌─────────────┐
                               │                 │ Auth Helper │
                               v                 │ (cookies)   │
                        ┌──────────────┐         └─────────────┘
                        │ MCP Tools    │                │
                        │ - notebook_list│              v
                        │ - notebook_query│     ┌─────────────┐
                        │ - notebook_add_url│   │ NotebookLM  │
                        │ - research_start│     │   (Gemini)  │
                        │ - studio_status│      └─────────────┘
                        └──────────────┘

The plugin uses the NotebookLM MCP server which handles:

  • Browser automation via Playwright
  • Google authentication
  • Notebook library management
  • Session handling

Use Cases

Quick Research:

bash
/nlm ask "How do I implement OAuth2 in FastAPI?"
# Get instant answer with citations from your docs

Add Documentation:

bash
/nlm source add-url <notebook_id> <url>
# Adds a URL source to a notebook

Deep Research (via agent):

"Research authentication patterns from my documentation"
# research-agent activates, asks follow-up questions, synthesizes answer

Requirements

For Claude Code Plugin:

  • Claude Code CLI
  • NotebookLM MCP server (notebooklm-mcp-server)
  • Google Chrome browser (for auth)
  • Google account with NotebookLM access

For Claude Desktop:

  • Claude Desktop
  • notebooklm-mcp package

Installation Options

Project Scope (Recommended)

bash
claude plugin install notebooklm@notebooklm-plugin --scope project

User Scope (All Projects)

bash
claude plugin install notebooklm@notebooklm-plugin --scope user

Local Scope (Gitignored)

bash
claude plugin install notebooklm@notebooklm-plugin --scope local

Authentication Options

The plugin supports multiple authentication backends (tried in priority order):

BackendPlatformDescription
CDPAllConnect to existing Chrome session (best UX)
KeychainmacOSStored cookies in system keychain
PersistentAllPlaywright browser profile
ManualAllInteractive browser login (fallback)

RPC Server (Default: File Mode)

For the HTTP/RPC server, default to file-mode auth:

bash
notebooklm-mcp-auth --file

This writes cookies to ~/.notebooklm-mcp/auth.json for RPC use.

Reuse on future runs: if ~/.notebooklm-mcp/auth.json exists, you can skip login.
If auth breaks: re-run notebooklm-mcp-auth --file to refresh cookies.

Validate auth without re-login:

bash
pixi run notebooklm-auth-check-rpc

Recommended: Chrome Remote Debugging (No Popups!)

bash
# 1. Start Chrome with remote debugging
open -a "Google Chrome" --args --remote-debugging-port=9222  # macOS

# 2. Login to NotebookLM in Chrome (one-time)
# Navigate to https://notebooklm.google.com and login with Google

# 3. Now queries use your existing session - no popups!
/nlm ask "How do I implement OAuth?"

Tip: Add to ~/.zshrc or ~/.bashrc:

bash
alias chrome-debug='open -a "Google Chrome" --args --remote-debugging-port=9222'

Troubleshooting

Not Authenticated

bash
# Run notebooklm-mcp-auth and complete login
notebooklm-mcp-auth

# Save RPC auth cookies
/nlm auth rpc

Rate Limited (50 queries/day free tier)

  • Wait for daily reset, or
  • Re-run notebooklm-mcp-auth with a different Google account

Wrong Notebook

bash
/nlm list           # See all notebooks
# Re-run /nlm ask with the correct notebook_id

See TROUBLESHOOTING.md for complete guide.

Documentation

Security & Privacy

  • ✅ All data stored locally by MCP server
  • ✅ No data sent to third parties
  • ✅ Browser session managed by MCP server
  • ✅ Credentials never logged
  • ⚠️ Consider dedicated Google account
  • ⚠️ NotebookLM terms of service apply

License

MIT License - see LICENSE

Related Projects


Built with ❤️ for efficient development workflows

Last Updated: December 2024

安装

TypingMind
{
  "mcpServers": {
    "notebooklm-claude-integration": {
      "command": "npx",
      "args": [
        "-y",
        "notebooklm-mcp@latest"
      ]
    }
  }
}

可用工具

  • ask_question

    Conversational Research Partner (NotebookLM • Gemini 2.5 • Session RAG)

    No Active Notebook

    • Visit https://notebooklm.google to create a notebook and get a share link
    • Use add_notebook to add it to your library (explains how to get the link)
    • Use list_notebooks to show available sources
    • Use select_notebook to set one active

    Auth tip: If login is required, use the prompt 'notebooklm.auth-setup' and then verify with the 'get_health' tool. If authentication later fails (e.g., expired cookies), use the prompt 'notebooklm.auth-repair'.

    Tip: Tell the user you can manage NotebookLM library and ask which notebook to use for the current task.

  • add_notebook

    PERMISSION REQUIRED — Only when user explicitly asks to add a notebook.

    Conversation Workflow (Mandatory)

    When the user says: "I have a NotebookLM with X"

    1. Ask URL: "What is the NotebookLM URL?"
    2. Ask content: "What knowledge is inside?" (1–2 sentences)
    3. Ask topics: "Which topics does it cover?" (3–5)
    4. Ask use cases: "When should we consult it?"
    5. Propose metadata and confirm:
      • Name: [suggested]
      • Description: [from user]
      • Topics: [list]
      • Use cases: [list] "Add it to your library now?"
    6. Only after explicit "Yes" → call this tool

    Rules

    • Do not add without user permission
    • Do not guess metadata — ask concisely
    • Confirm summary before calling the tool

    Example

    User: "I have a notebook with n8n docs" You: Ask URL → content → topics → use cases; propose summary User: "Yes" You: Call add_notebook

    How to Get a NotebookLM Share Link

    Visit https://notebooklm.google/ → Login (free: 100 notebooks, 50 sources each, 500k words, 50 daily queries)

    1. Cl
  • list_notebooks

    List all library notebooks with metadata (name, topics, use cases, URL). Use this to present options, then ask which notebook to use for the task.

  • get_notebook

    Get detailed information about a specific notebook by ID

  • select_notebook

    Set a notebook as the active default (used when ask_question has no notebook_id).

    When To Use

    • User switches context: "Let's work on React now"
    • User asks explicitly to activate a notebook
    • Obvious task change requires another notebook

    Auto-Switching

    • Safe to auto-switch if the context is clear and you announce it: "Switching to React notebook for this task..."
    • If ambiguous, ask: "Switch to [notebook] for this task?"

    Example

    User: "Now let's build the React frontend" You: "Switching to React notebook..." (call select_notebook)

  • update_notebook

    Update notebook metadata based on user intent.

    Pattern

    1. Identify target notebook and fields (topics, description, use_cases, tags, url)
    2. Propose the exact change back to the user
    3. After explicit confirmation, call this tool

    Examples

    • User: "React notebook also covers Next.js 14" You: "Add 'Next.js 14' to topics for React?" User: "Yes" → call update_notebook

    • User: "Include error handling in n8n description" You: "Update the n8n description to mention error handling?" User: "Yes" → call update_notebook

    Tip: You may update multiple fields at once if requested.

  • remove_notebook

    Dangerous — requires explicit user confirmation.

    Confirmation Workflow

    1. User requests removal ("Remove the React notebook")
    2. Look up full name to confirm
    3. Ask: "Remove '[notebook_name]' from your library? (Does not delete the actual NotebookLM notebook)"
    4. Only on explicit "Yes" → call remove_notebook

    Never remove without permission or based on assumptions.

    Example: User: "Delete the old React notebook" You: "Remove 'React Best Practices' from your library?" User: "Yes" → call remove_notebook

  • search_notebooks

    Search library by query (name, description, topics, tags). Use to propose relevant notebooks for the task and then ask which to use.

  • get_library_stats

    Get statistics about your notebook library (total notebooks, usage, etc.)

  • list_sessions

    List all active sessions with stats (age, message count, last activity). Use to continue the most relevant session instead of starting from scratch.

  • close_session

    Close a specific session by session ID. Ask before closing if the user might still need it.

  • reset_session

    Reset a session's chat history (keep same session ID). Use for a clean slate when the task changes; ask the user before resetting.

  • get_health

    Get server health status including authentication state, active sessions, and configuration. Use this to verify the server is ready before starting research workflows.

    If authenticated=false and having persistent issues: Consider running cleanup_data(preserve_library=true) + setup_auth for fresh start with clean browser session.

  • setup_auth

    Google authentication for NotebookLM access - opens a browser window for manual login to your Google account. Returns immediately after opening the browser. You have up to 10 minutes to complete the login. Use 'get_health' tool afterwards to verify authentication was saved successfully. Use this for first-time authentication or when auto-login credentials are not available. For switching accounts or rate-limit workarounds, use 're_auth' tool instead.

    TROUBLESHOOTING for persistent auth issues: If setup_auth fails or you encounter browser/session issues:

    1. Ask user to close ALL Chrome/Chromium instances
    2. Run cleanup_data(confirm=true, preserve_library=true) to clean old data
    3. Run setup_auth again for fresh start This helps resolve conflicts from old browser sessions and installation data.
  • re_auth

    Switch to a different Google account or re-authenticate. Use this when:

    • NotebookLM rate limit is reached (50 queries/day for free accounts)
    • You want to switch to a different Google account
    • Authentication is broken and needs a fresh start

    This will:

    1. Close all active browser sessions
    2. Delete all saved authentication data (cookies, Chrome profile)
    3. Open browser for fresh Google login

    After completion, use 'get_health' to verify authentication.

    TROUBLESHOOTING for persistent auth issues: If re_auth fails repeatedly:

    1. Ask user to close ALL Chrome/Chromium instances
    2. Run cleanup_data(confirm=false, preserve_library=true) to preview old files
    3. Run cleanup_data(confirm=true, preserve_library=true) to clean everything except library
    4. Run re_auth again for completely fresh start This removes old installation data and browser sessions that can cause conflicts.
  • cleanup_data

    ULTRATHINK Deep Cleanup - Scans entire system for ALL NotebookLM MCP data files across 8 categories. Always runs in deep mode, shows categorized preview before deletion.

    ⚠️ CRITICAL: Close ALL Chrome/Chromium instances BEFORE running this tool! Open browsers can prevent cleanup and cause issues.

    Categories scanned:

    1. Legacy Installation (notebooklm-mcp-nodejs) - Old paths with -nodejs suffix
    2. Current Installation (notebooklm-mcp) - Active data, browser profiles, library
    3. NPM/NPX Cache - Cached installations from npx
    4. Claude CLI MCP Logs - MCP server logs from Claude CLI
    5. Temporary Backups - Backup directories in system temp
    6. Claude Projects Cache - Project-specific cache (optional)
    7. Editor Logs (Cursor/VSCode) - MCP logs from code editors (optional)
    8. Trash Files - Deleted notebooklm files in system trash (optional)

    Works cross-platform (Linux, Windows, macOS). Safe by design: shows detailed preview before deletion, requires explicit confirmation.

    LIBRARY PRESERVATION

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

TypingMind 在工作区级别连接 MCP 工具,因此连接 NotebookLM Claude Integration 后,您就可以在 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 Claude Integration 添加为服务器

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

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

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

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

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

常见问题

NotebookLM Claude Integration MCP 服务器有什么用途?

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

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

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

为什么在 TypingMind 中使用 NotebookLM Claude Integration MCP?

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

如何将 NotebookLM Claude Integration MCP 连接到 TypingMind?

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

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

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

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

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

Notebook Library

Complete notebook library with all available knowledge sources. Read this to discover what notebooks are available. ⚠️ If you think a notebook might help with the user's task, ASK THE USER FOR PERMISSION before consulting it: 'Should I consult the [notebook] for this task?'

相关 MCP 服务器

查看全部

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

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