home / mcp / notebooklm mcp server
MCP server for NotebookLM - Let your AI agents (Claude Code, Codex) research documentation directly with grounded, citation-backed answers from Gemini. Persistent auth, library management, cross-client sharing. Zero hallucinations, just your knowledge base.
Configuration
View docs{
"mcpServers": {
"pleaseprompto-notebooklm-mcp": {
"command": "npx",
"args": [
"-y",
"notebooklm-mcp@latest"
]
}
}
}You can run the NotebookLM MCP Server to let your CLI agents chat directly with NotebookLM, enabling zero-hallucination answers sourced from your own notebooks. This server acts as a bridge between your agent and NotebookLM, so you can build complete, correct code with contextual insights drawn from your documents.
Set up the MCP server in your preferred client, authenticate, and then point your agent to your NotebookLM knowledge base. Once connected, your agent can ask NotebookLM questions, receive synthesized, source-backed answers, and proceed to implement code or workflows with improved accuracy. You can save NotebookLM notebooks to a library and have Claude automatically select the right notebook for your task. Use the client’s chat prompts to reference your NotebookLM link when you start a new task, e.g. when you say you are building with a specific library and provide the NotebookLM link.
Prerequisites: ensure you have Node.js and npm installed on your machine.
Install the MCP server for your MCP client. Use the command that fits your client from the options below. Each snippet is a direct command you can run in your terminal.
# Claude Code client
claude mcp add notebooklm npx notebooklm-mcp@latest
```
```bash
# Codex client
codex mcp add notebooklm -- npx notebooklm-mcp@latest
```
```bash
# Gemini client
gemini mcp add notebooklm npx notebooklm-mcp@latest
```
```bash
# Cursor client (example for ~/.cursor/mcp.json)
# Add the following to your Cursor MCP config
```
{
"mcpServers": {
"notebooklm": {
"command": "npx",
"args": ["-y", "notebooklm-mcp@latest"]
}
}
}
```
```bash
# amp client
amp mcp add notebooklm -- npx notebooklm-mcp@latest
```
```bash
# VS Code client
code --add-mcp '{"name":"notebooklm","command":"npx","args":["notebooklm-mcp@latest"]}'
```
```bash
# Generic MCP config for other clients
# Copy this and adjust your client accordingly
{
"mcpServers": {
"notebooklm": {
"command": "npx",
"args": ["notebooklm-mcp@latest"]
}
}
}
```
"],"language":null}]} ,{"heading":"Additional configuration and notes","blocks":[{"type":"paragraph","text":"There are no server URLs or HTTP endpoints to configure for this MCP setup; the integration is performed through local MCP clients that start the NotebookLM MCP server as a local process. If you want to use a specific client, follow the matching installation snippet above and ensure the client can launch the MCP server as shown." ,"items":null,"language":null},{"type":"paragraph","text":"Environment considerations: you may manage multiple MCP profiles and disable certain tools per session. See the Tool Profiles section for options to tailor the MCP server usage to your workflow." ,"items":null,"language":null}]} ,{Optimize token usage by choosing a profile that matches your needs. The profiles differ in the number of tools loaded and capabilities exposed to the MCP server.
- minimal: suitable for quick questions and simple research. - standard: adds library management and notebook handling capabilities. - full: enables the complete feature set including cleanup and advanced library operations.
You can switch profiles or disable specific tools. Configuration can be done via the CLI or environment variables. See the following examples to adjust your setup.
# Check current settings
npx notebooklm-mcp config get
# Set a profile
npx notebooklm-mcp config set profile standard
# Disable specific tools
npx notebooklm-mcp config set disabled-tools "cleanup_data,re_auth"
# Reset to defaults
npx notebooklm-mcp config reset
`Chrome automation runs locally on your machine. Credentials stay on your device. For best security, use a dedicated Google account for NotebookLM access.