Skip to main content

NotebookLM MCP integration for OpenClaw - Automated installer and skill manager

Project description

OpenClaw NotebookLM Integration

PyPI version Python Support License: MIT

One-command installer for integrating Google NotebookLM with OpenClaw via MCP.

What This Does

This package automatically sets up a NotebookLM skill in OpenClaw, allowing your AI agents to:

  • 📚 List all your NotebookLM notebooks
  • 📝 Create new notebooks with sources
  • 🔍 Query notebooks with natural language
  • 📊 Generate study guides
  • 🔗 Add sources (URLs, text, files) to notebooks

Quick Start

Installation

pip install openclaw-notebooklm

Setup

Run the installer:

openclaw-notebooklm-install

The installer will:

  1. ✅ Check prerequisites (OpenClaw, Node.js)
  2. 📦 Install dependencies (mcporter, notebooklm-mcp)
  3. 🔐 Authenticate with NotebookLM (opens Chrome)
  4. 📂 Create the skill in ~/.openclaw/skills/notebooklm/
  5. ⚙️ Configure OpenClaw to use the skill
  6. 🔄 Restart the OpenClaw daemon

That's it! 🎉

Usage

From OpenClaw Agents

Start a new OpenClaw session and ask:

List my NotebookLM notebooks
Create a NotebookLM notebook called "AI Research" with this URL: https://example.com
Ask my "Project Notes" notebook: What are the key takeaways?
Generate a study guide for my "Machine Learning" notebook

From Command Line

# List notebooks
~/.openclaw/skills/notebooklm/notebooklm.sh list

# Create a notebook
~/.openclaw/skills/notebooklm/notebooklm.sh create "My Notebook" source_url=https://example.com

# Query a notebook
~/.openclaw/skills/notebooklm/notebooklm.sh ask <notebook-id> "Summarize this"

# Generate study guide
~/.openclaw/skills/notebooklm/notebooklm.sh study_guide <notebook-id>

Requirements

  • OpenClaw: Must be installed and configured
  • Node.js: Required for npm packages (mcporter, notebooklm-mcp)
  • Google Account: For NotebookLM authentication

How It Works

graph LR
    A[OpenClaw Agent] --> B[notebooklm skill]
    B --> C[notebooklm.sh wrapper]
    C --> D[mcporter]
    D --> E[notebooklm-mcp server]
    E --> F[NotebookLM API]
  1. OpenClaw loads the notebooklm skill
  2. The skill uses a wrapper script to route commands
  3. mcporter manages the MCP server lifecycle
  4. notebooklm-mcp communicates with NotebookLM
  5. Responses flow back to the agent

Troubleshooting

Skill not visible to agent

Problem: Agent says "I don't have the notebooklm skill"

Solution:

  • Exit your current OpenClaw session
  • Start a new session (skills are snapshot at session start)

Authentication expired

Problem: "Error: Not authenticated to NotebookLM"

Solution:

notebooklm-mcp-auth

mcporter not found

Problem: "mcporter: command not found"

Solution:

npm install -g mcporter

Permission denied

Problem: Can't access mcporter config

Solution: The installer places config at ~/.openclaw/mcporter.json which is accessible. If you move it, update the path in ~/.openclaw/openclaw.json:

{
  "skills": {
    "entries": {
      "notebooklm": {
        "env": {
          "MCPORTER_CONFIG": "/path/to/your/mcporter.json"
        }
      }
    }
  }
}

File Locations

After installation:

~/.openclaw/
├── skills/
│   └── notebooklm/
│       ├── SKILL.md              # Skill metadata
│       └── notebooklm.sh         # Wrapper script
├── mcporter.json                  # mcporter config
└── openclaw.json                  # Updated with skill entry

~/.notebooklm-mcp/
└── auth.json                      # NotebookLM auth tokens

Development

Local Installation

git clone https://github.com/yourusername/openclaw-notebooklm.git
cd openclaw-notebooklm
pip install -e .

Run Installer

openclaw-notebooklm-install

Uninstall

# Remove the skill
rm -rf ~/.openclaw/skills/notebooklm

# Remove config entries (manual edit)
# Edit ~/.openclaw/openclaw.json and remove the "notebooklm" entry

# Restart daemon
openclaw daemon restart

Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

License

MIT License - see LICENSE file for details.

Credits

Support


Made with ❤️ for the OpenClaw community

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openclaw_notebooklm-0.1.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openclaw_notebooklm-0.1.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file openclaw_notebooklm-0.1.0.tar.gz.

File metadata

  • Download URL: openclaw_notebooklm-0.1.0.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for openclaw_notebooklm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a817e3a9663cccdb05dab449eb074777c787c276a7ed3135392bba42bf4c4d1f
MD5 be7de06f59e49ae79bdba93f234a2a50
BLAKE2b-256 f79c06be153fadf9bb47777084a6bf268d1b851d6af51a0aed8ae2eddd002c94

See more details on using hashes here.

File details

Details for the file openclaw_notebooklm-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for openclaw_notebooklm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 344900e5b2f0da8c09479d39320f362780c193be6ee9cd6e743ab6b84f40d28c
MD5 7249b6ccf11b21d26ca48ae02ed8ba2c
BLAKE2b-256 9f4b9b067393924053422b5d2e6f74e57840431108d6d094510e426322955a11

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page