npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

antigravity-notebooklm-mcp

v1.0.0

Published

Advanced Model Context Protocol (MCP) server for Google NotebookLM.

Readme

Antigravity NotebookLM MCP

Advanced Model Context Protocol (MCP) server for Google NotebookLM. Built for AI agents to autonomously research, manage knowledge bases, and generate multimedia artifacts using Google's NotebookLM engine.

🚀 Key Features

  • Robust Authentication:
    • Browser Auth: Safe, undetectable remote-debugging login flow (bypasses Google bot detection).
    • Manual Auth: Fallback for headless environments.
  • Deep Research: Autonomous web research agent integration with automated source importing.
  • Full Notebook Management: CRUD operations for Notebooks.
  • Advanced Source Control:
    • Add Text, URLs, PDFs, and Drive files.
    • Sync: Keep Drive sources up-to-date.
    • Check Freshness: Monitor source status.
  • Studio & Artifacts:
    • Generate Audio Overviews, Mind Maps, Quizzes, Study Guides.
    • Manage Studio: List and delete generated artifacts to keep projects clean.
  • Chat Configuration: Set specific goals ("critique", "summary") and custom system prompts for your notebook.

🛠️ Installation

npm install
npm run build

🔐 Authentication (The Antigravity Way)

This server overcomes common bot detection issues using a dedicated Chrome automation workflow.

Method 1: Browser Auth (Recommended)

This launches a specialized Chrome instance. You simply log in manually, and the MCP extracts the credentials automatically.

# Run the auth helper
node build/browser-auth.js

Method 2: Manual Token

If you are on a headless server, you can manually inject cookies:

  1. Open NotebookLM in your local browser.
  2. Copy your Cookie header from DevTools (Network tab).
  3. Use the authenticate tool in Claude/MCP with method: "manual".

Credentials are securely stored in ~/.notebooklm-mcp/auth.json.

📦 Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "notebooklm": {
      "command": "node",
      "args": ["/absolute/path/to/antigravity-notebooklm-mcp/build/index.js"]
    }
  }
}

🧰 Available Tools

| Tool | Action | Description | |------|--------|-------------| | manage_notebook | list, get, create, rename, delete, configure_chat | Full lifecycle management. configure_chat sets prompts/goals. | | manage_source | add, rename, delete, sync, check_freshness | Manage knowledge sources. Supports syncing Drive files. | | manage_studio | list, delete | Manage generated artifacts (Audio, Video, Mind Maps). | | query_notebook | N/A | Ask questions grounded in your sources. | | perform_deep_research | N/A | Execute multi-step deep web research and import findings. | | generate_artifact | audio, video, quiz, slides, mind_map... | Generate multimedia content from your notes. | | authenticate | browser, manual | Update session credentials. |

🏗️ Architecture

This project uses a direct reverse-engineered RPC client (NotebookLMClient) wrapped in an MCP Server. It includes an Orchestrator layer for handling complex, multi-step asynchronous operations like Deep Research and Polling.

⚠️ Notes

  • Deep Research operations can take 3-5 minutes. The server handles polling, but be patient.
  • Audio Generation is a heavy task; ensure you have enough sources before generating.

License

MIT