Built from the official docs: GitHub - roomi-fields/gemini-notebook-mcp: Google Gemini Notebook (formerly NotebookLM) over MCP + a local HTTP REST API. Citation-backed Q&A, full Studio generation, chat history, multi-account rotation. For Claude Code, Codex, Cursor, n8n, Zapier, Make. · raw.githubusercontent.com · checked 25 November 2026
HTTP REST API (curl / n8n / Zapier / Make)
Clone the repository
Download the source into a local directory.
git clone https://github.com/roomi-fields/gemini-notebook-mcp.git cd notebooklm-mcpInstall and build
Install dependencies and compile the project. Node 22 or newer is required.
npm install && npm run buildLog into Google once
Run the one-time interactive login; a visible Chrome window opens for you to sign in, and the saved session is reused afterward. Use a dedicated Google account for automation.
npm run setup-authStart the REST API
Launch the HTTP server, which listens on port 3000.
npm run start:httpAsk a question
Send a citation-backed question to a notebook and get a JSON response. Replace the placeholder with your own notebook ID.
curl -X POST http://localhost:3000/ask \ -H 'Content-Type: application/json' \ -d '{"question": "Summarize chapter 3", "notebook_id": "<your-notebook-id>", "source_format": "json"}'
Check it worked
The POST to http://localhost:3000/ask returns a JSON answer with citations for your notebook.