@m4ykeldev/notebooklm-mcp 0.1.25 β 0.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +76 -64
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,63 +1,56 @@
|
|
|
1
1
|
# π§ NotebookLM MCP Server
|
|
2
2
|
|
|
3
|
-
###
|
|
3
|
+
### Bridge the Gap Between Google NotebookLM and Your AI Workspace
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@m4ykeldev/notebooklm-mcp)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
[](https://github.com/m4yk3ldev/notebooklm-mcp/actions)
|
|
7
8
|
|
|
8
|
-
Stop
|
|
9
|
+
Stop jumping between browser tabs. **NotebookLM MCP** brings the full analytical power of [Google NotebookLM](https://notebooklm.google.com) directly into your local terminal, IDE, and AI assistants like Claude, Cursor, and VS Code.
|
|
9
10
|
|
|
10
|
-
|
|
11
|
+
Manage notebooks, ingest diverse sources, trigger deep research, and generate studio-quality contentβall via a single, standardized Model Context Protocol (MCP) interface.
|
|
11
12
|
|
|
12
13
|
---
|
|
13
14
|
|
|
14
|
-
##
|
|
15
|
+
## π₯ Key Capabilities
|
|
15
16
|
|
|
16
|
-
-
|
|
17
|
-
- π **
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
- π¨ **Studio Content**: Generate Audio Overviews, infographics, slide decks, and briefing docs on the fly.
|
|
17
|
+
- β‘ **Seamless Authentication**: Log in once with `notebooklm-mcp auth`. Our automated CDP-based flow handles secure cookie extraction so you can focus on your data.
|
|
18
|
+
- π **Resilient Connectivity**: Built-in background session restoration. If your session expires, the server transparently reconnects without breaking your workflow.
|
|
19
|
+
- π **Universal Ingestion**: Instantly add URLs, YouTube transcripts, Google Drive files, or raw text snippets to any notebook.
|
|
20
|
+
- π΅οΈ **Autonomous Research**: Harness Google's Deep Research engine. Start a task, poll its progress, and import structured insights directly into your project.
|
|
21
|
+
- π **Creative Studio**: Programmatically generate Audio Overviews (podcasts), Briefing Docs, Infographics, Slide Decks, and Quizzes from your sources.
|
|
22
22
|
|
|
23
23
|
---
|
|
24
24
|
|
|
25
|
-
##
|
|
25
|
+
## π Quick Start
|
|
26
26
|
|
|
27
|
-
### 1.
|
|
27
|
+
### 1. Installation
|
|
28
28
|
|
|
29
|
+
Run it instantly with `npx`:
|
|
29
30
|
```bash
|
|
30
31
|
npx -y @m4ykeldev/notebooklm-mcp serve
|
|
31
32
|
```
|
|
32
33
|
|
|
33
|
-
Or install globally:
|
|
34
|
-
|
|
34
|
+
Or install globally for better performance:
|
|
35
35
|
```bash
|
|
36
36
|
npm install -g @m4ykeldev/notebooklm-mcp
|
|
37
|
-
notebooklm-mcp serve
|
|
38
37
|
```
|
|
39
38
|
|
|
40
|
-
### 2.
|
|
39
|
+
### 2. The "One-Click" Login
|
|
41
40
|
|
|
42
|
-
|
|
41
|
+
Say goodbye to manual cookie hunting. Our smart auth flow does the heavy lifting for you.
|
|
43
42
|
|
|
44
43
|
```bash
|
|
45
44
|
notebooklm-mcp auth
|
|
46
45
|
```
|
|
47
|
-
|
|
48
|
-
- **How it works**: A dedicated, secure Chrome profile opens.
|
|
49
|
-
- **Persistence**: Log in once, and the session is saved.
|
|
50
|
-
- **Automation**: The server automatically detects your session and synchronizes cookies.
|
|
51
|
-
- **Reliability**: If your session expires, the server **effortlessly restores it** in the background.
|
|
52
|
-
|
|
53
|
-
*Prefer the old way? Use `notebooklm-mcp auth --manual` for traditional copy-paste extraction.*
|
|
46
|
+
*A secure Chrome window will open. Simply log into your Google account, and we'll handle the rest. Your session is stored locally and securely.*
|
|
54
47
|
|
|
55
48
|
---
|
|
56
49
|
|
|
57
|
-
## π€
|
|
50
|
+
## π€ AI Assistant Integration
|
|
58
51
|
|
|
59
52
|
### Claude Desktop / Claude Code
|
|
60
|
-
Add
|
|
53
|
+
Add the following to your `mcpServers` configuration:
|
|
61
54
|
|
|
62
55
|
```json
|
|
63
56
|
{
|
|
@@ -70,68 +63,87 @@ Add this to your `mcpServers` configuration:
|
|
|
70
63
|
}
|
|
71
64
|
```
|
|
72
65
|
|
|
73
|
-
### Cursor / VS Code
|
|
74
|
-
1.
|
|
66
|
+
### Cursor / VS Code (Composer)
|
|
67
|
+
1. Navigate to **MCP Settings**.
|
|
75
68
|
2. Add a new server named `NotebookLM`.
|
|
76
|
-
3. Set type to `command` and
|
|
69
|
+
3. Set type to `command` and enter: `npx -y @m4ykeldev/notebooklm-mcp serve`.
|
|
77
70
|
|
|
78
71
|
---
|
|
79
72
|
|
|
80
|
-
## π
|
|
73
|
+
## π Complete Tool Reference (32)
|
|
81
74
|
|
|
82
|
-
|
|
75
|
+
Every tool is designed to work seamlessly within your AI's context window.
|
|
76
|
+
|
|
77
|
+
### π Notebook Management
|
|
83
78
|
| Tool | Description |
|
|
84
79
|
| :--- | :--- |
|
|
85
|
-
| `notebook_list` |
|
|
86
|
-
| `notebook_create` |
|
|
87
|
-
| `notebook_get` |
|
|
88
|
-
| `notebook_describe` | Get
|
|
89
|
-
|
|
90
|
-
|
|
80
|
+
| `notebook_list` | Get an overview of all your notebooks, including titles, source counts, and ownership metadata. |
|
|
81
|
+
| `notebook_create` | Create a new NotebookLM project instantly from your terminal or AI assistant. |
|
|
82
|
+
| `notebook_get` | Retrieve deep metadata and a full list of sources for a specific notebook. |
|
|
83
|
+
| `notebook_describe` | Get a high-level, AI-generated summary of everything inside a notebook. |
|
|
84
|
+
| `notebook_rename` | Update the title of an existing notebook. |
|
|
85
|
+
| `notebook_delete` | Permanently remove a notebook (requires explicit confirmation). |
|
|
86
|
+
|
|
87
|
+
### π Source Ingestion & Management
|
|
91
88
|
| Tool | Description |
|
|
92
89
|
| :--- | :--- |
|
|
93
|
-
| `notebook_add_url` |
|
|
94
|
-
| `
|
|
95
|
-
| `
|
|
96
|
-
| `
|
|
97
|
-
|
|
98
|
-
|
|
90
|
+
| `notebook_add_url` | Add any website or YouTube video as a source. Transcripts are automatically handled. |
|
|
91
|
+
| `notebook_add_text` | Ingest raw text snippets or local file contents directly into your project. |
|
|
92
|
+
| `notebook_add_drive` | Connect and import documents, sheets, or slides from your Google Drive. |
|
|
93
|
+
| `source_describe` | Get detailed AI analysis, summaries, and key topics for any individual source. |
|
|
94
|
+
| `source_get_content` | Extract the full underlying text of a source for processing by other AI tools. |
|
|
95
|
+
| `source_list_drive` | List all Drive-based sources and check if they are up-to-date with the original files. |
|
|
96
|
+
| `source_sync_drive` | Sync selected Google Drive sources to pull the latest changes into NotebookLM. |
|
|
97
|
+
| `source_delete` | Remove a specific source from your notebook. |
|
|
98
|
+
|
|
99
|
+
### π¬ Research & Deep Analysis
|
|
99
100
|
| Tool | Description |
|
|
100
101
|
| :--- | :--- |
|
|
101
|
-
| `research_start` | Launch
|
|
102
|
-
| `
|
|
103
|
-
| `research_import` |
|
|
102
|
+
| `research_start` | Launch an autonomous research task using Google's engine (Web or Drive sources). |
|
|
103
|
+
| `research_status` | Track the progress of active research tasks and view discovered insights. |
|
|
104
|
+
| `research_import` | Instantly import the findings of a research task as new sources in your notebook. |
|
|
105
|
+
| `notebook_query` | Ask complex, grounded questions. Answers are cited directly from your sources. |
|
|
106
|
+
| `chat_configure` | Fine-tune your AI's behavior by setting specific goals or preferred response lengths. |
|
|
104
107
|
|
|
105
|
-
### π¬ Studio (Content Generation)
|
|
108
|
+
### π¬ Studio (AI Content Generation)
|
|
106
109
|
| Tool | Description |
|
|
107
110
|
| :--- | :--- |
|
|
108
|
-
| `audio_overview_create` |
|
|
109
|
-
| `
|
|
110
|
-
| `
|
|
111
|
-
| `
|
|
111
|
+
| `audio_overview_create` | Transform your notebook's sources into a professional, podcast-style audio discussion. |
|
|
112
|
+
| `video_overview_create` | Generate a structured video explainer based on your project data. |
|
|
113
|
+
| `report_create` | Create professional Briefing Docs, Study Guides, or Blog Posts tailored to your sources. |
|
|
114
|
+
| `slide_deck_create` | Turn your research into a presenter-ready slide deck automatically. |
|
|
115
|
+
| `infographic_create` | Visualize complex data and relationships with an AI-generated infographic. |
|
|
116
|
+
| `flashcards_create` | Generate interactive study flashcards to master your notebook's content. |
|
|
117
|
+
| `quiz_create` | Create a comprehensive quiz to test knowledge grounded in your provided sources. |
|
|
118
|
+
| `data_table_create` | Extract and organize information into a structured, downloadable data table. |
|
|
119
|
+
| `mind_map_create` | Build a visual mind map connecting the core concepts of your notebook. |
|
|
120
|
+
| `studio_status` | Check the generation status of your Studio artifacts and get download links. |
|
|
121
|
+
| `studio_delete` | Clean up your workspace by deleting old Studio artifacts. |
|
|
122
|
+
|
|
123
|
+
### π Authentication Helpers
|
|
124
|
+
| Tool | Description |
|
|
125
|
+
| :--- | :--- |
|
|
126
|
+
| `refresh_auth` | Manually trigger a session refresh if you encounter connection issues. |
|
|
127
|
+
| `save_auth_tokens` | Manually save cookie data (legacy fallback method). |
|
|
112
128
|
|
|
113
129
|
---
|
|
114
130
|
|
|
115
|
-
##
|
|
131
|
+
## π‘ Pro Tips
|
|
116
132
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
# Manage authentication tokens
|
|
122
|
-
notebooklm-mcp auth --show-tokens
|
|
123
|
-
```
|
|
133
|
+
- **Custom Timeouts**: Working with massive sources? Increase the timeout:
|
|
134
|
+
`notebooklm-mcp serve --query-timeout 120000`
|
|
135
|
+
- **Check Connections**: Use `auth --show-tokens` to verify your session validity.
|
|
124
136
|
|
|
125
137
|
---
|
|
126
138
|
|
|
127
|
-
## π‘
|
|
139
|
+
## π‘ Security & Privacy
|
|
128
140
|
|
|
129
|
-
- **
|
|
130
|
-
- **Unofficial**: This project is not affiliated with Google. It
|
|
141
|
+
- **Local Storage**: Your authentication data is stored exclusively on your machine at `~/.notebooklm-mcp/auth.json`. It is never transmitted to any third-party server except Google.
|
|
142
|
+
- **Unofficial Tool**: This project is an independent community effort and is not affiliated with Google. It interfaces with internal endpoints and may be affected by changes to the NotebookLM web platform.
|
|
131
143
|
|
|
132
144
|
## π License
|
|
133
145
|
|
|
134
|
-
|
|
146
|
+
Open-source and available under the [MIT License](LICENSE).
|
|
135
147
|
|
|
136
148
|
---
|
|
137
|
-
|
|
149
|
+
Crafted with precision for the AI-first developer. Part of the [Model Context Protocol](https://modelcontextprotocol.io) ecosystem.
|
package/package.json
CHANGED