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

@wcg-hieule/notebooklm-mcp

v1.1.0

Published

NotebookLM MCP Server — TypeScript implementation with 14 core tools for AI agents

Readme

@wcg-hieule/notebooklm-mcp

MCP Server for Google NotebookLM — Full API access to NotebookLM notebooks, sources, studio, research, and sharing — from any AI agent.

npm version npm downloads License: MIT Node.js


Quick Start

Add to your mcp_config.json:

{
  "mcpServers": {
    "notebooklm": {
      "command": "npx",
      "args": ["-y", "@wcg-hieule/notebooklm-mcp"]
    }
  }
}

Authentication

This server shares auth tokens with the Python NotebookLM CLI. Run nlm login first:

# Install Python CLI
pipx install notebooklm-tools

# Login (opens Chrome for cookie extraction)
nlm login

Or set cookies manually via environment variable:

NOTEBOOKLM_COOKIES="SID=xxx; HSID=xxx; ..." npx @wcg-hieule/notebooklm-mcp

Environment Variables

| Variable | Required | Default | Description | |----------|:--------:|---------|-------------| | NOTEBOOKLM_COOKIES | ❌ | (from auth cache) | Full cookie header string | | NOTEBOOKLM_CSRF_TOKEN | ❌ | (auto-extracted) | CSRF token | | NOTEBOOKLM_SESSION_ID | ❌ | (auto-extracted) | Session ID | | NOTEBOOKLM_HL | ❌ | en | Language code | | NOTEBOOKLM_QUERY_TIMEOUT | ❌ | 120 | Query timeout in seconds | | NOTEBOOKLM_MCP_DEBUG | ❌ | false | Enable debug logging |


Tools (32)

📓 Notebooks

| Tool | Description | |------|-------------| | notebook_list | List all notebooks | | notebook_get | Get notebook details | | notebook_describe | Describe notebook content | | notebook_create | Create a new notebook | | notebook_rename | Rename a notebook | | notebook_delete | Delete a notebook |

📎 Sources

| Tool | Description | |------|-------------| | source_add | Add a source to a notebook | | source_list_drive | List Drive files available as sources | | source_sync_drive | Sync Drive sources | | source_rename | Rename a source | | source_delete | Delete a source | | source_describe | Describe a source | | source_get_content | Get source content |

💬 Querying & Chat

| Tool | Description | |------|-------------| | notebook_query | Query a notebook with a question | | chat_configure | Configure chat settings |

🎙️ Studio

| Tool | Description | |------|-------------| | studio_create | Generate audio overview (podcast) | | studio_status | Check studio generation status | | studio_delete | Delete a studio artifact | | studio_revise | Revise a studio artifact |

🔬 Research

| Tool | Description | |------|-------------| | research_start | Start a deep research session | | research_status | Check research status | | research_import | Import research results to notebook |

📤 Sharing & Export

| Tool | Description | |------|-------------| | notebook_share_status | Get sharing status | | notebook_share_public | Make notebook public | | notebook_share_invite | Invite collaborators | | notebook_share_batch | Batch sharing operations | | export_artifact | Export studio artifact | | download_artifact | Download studio artifact | | note | Add or manage notes |

🔐 Auth & Server

| Tool | Description | |------|-------------| | refresh_auth | Refresh authentication tokens | | save_auth_tokens | Save tokens to cache | | server_info | Get server info and status |


Compatibility

Works with any MCP-compatible AI client:

  • ✅ Gemini CLI / Antigravity IDE
  • ✅ Claude Desktop
  • ✅ VS Code Copilot
  • ✅ Cursor

License

MIT © wcg-hieule