NotebookLM MCP integration for OpenClaw - Automated installer and skill manager
Project description
OpenClaw NotebookLM Integration
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:
- ✅ Check prerequisites (OpenClaw, Node.js)
- 📦 Install dependencies (mcporter, notebooklm-mcp)
- 🔐 Authenticate with NotebookLM (opens Chrome)
- 📂 Create the skill in
~/.openclaw/skills/notebooklm/ - ⚙️ Configure OpenClaw to use the skill
- 🔄 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]
- OpenClaw loads the
notebooklmskill - The skill uses a wrapper script to route commands
- mcporter manages the MCP server lifecycle
- notebooklm-mcp communicates with NotebookLM
- 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:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
License
MIT License - see LICENSE file for details.
Credits
- OpenClaw: https://docs.openclaw.dev
- mcporter: https://github.com/wong2/mcporter
- notebooklm-mcp: https://github.com/wong2/notebooklm-mcp
- Model Context Protocol: https://spec.modelcontextprotocol.io
Support
Support This Project
If you find this project useful, consider buying me a coffee! ☕
Your support helps maintain and improve this project!
Made with ❤️ for the OpenClaw community
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openclaw_notebooklm-0.1.1.tar.gz.
File metadata
- Download URL: openclaw_notebooklm-0.1.1.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7500effd8a488a1effbd4a265e162918c055a8d5900bf80e82d22c478c5e884e
|
|
| MD5 |
8328034711d832999f8cc290fca7bff5
|
|
| BLAKE2b-256 |
4424940ee61d7e1335e3c8c195b558f5e0f824a58518a884d8972629d9940240
|
File details
Details for the file openclaw_notebooklm-0.1.1-py3-none-any.whl.
File metadata
- Download URL: openclaw_notebooklm-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c46448f40f58bec39341d7401d05b922c83f8f1e83cd55c9dc9bb44a24db606b
|
|
| MD5 |
84e0571d71cb6328edc117f121a8eefa
|
|
| BLAKE2b-256 |
511231e51e3fbc8821fd4e0c8cf700f04da4776b2b2e5ddfd9ee8d5576c3e17d
|