thezakuloGet the newsletter
← All setup guides

Setup guide · 5 steps · about 15 minutes

How to start using roomi-fields/gemini-notebook-mcp

A tool that automates Google Gemini Notebook (formerly NotebookLM) through a local HTTP REST API and an MCP server, giving citation-backed Q&A, Studio content generation (audio, video, infographic, report, presentation, data table), chat history, and multi-account rotation.

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)

  1. Clone the repository

    Download the source into a local directory.

    git clone https://github.com/roomi-fields/gemini-notebook-mcp.git
    cd notebooklm-mcp
  2. Install and build

    Install dependencies and compile the project. Node 22 or newer is required.

    npm install && npm run build
  3. Log 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-auth
  4. Start the REST API

    Launch the HTTP server, which listens on port 3000.

    npm run start:http
  5. Ask 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.

Try these first

Get every issue by email

One email a week with the written issue. Free, one-click unsubscribe

Subscribe