notebooklm

notebooklm is a skill for Claude Code, Codex from m4yk3ldev/notebooklm-mcp. It costs 123 tokens per session (1,895 once invoked), scanned A, original, MIT.

A connector for Google NotebookLM, a research notebook service that answers questions from supplied sources. It can manage notebooks, add sources, ask questions with citations, research the web or Google Drive, and create media or document summaries.

In plain words
What is it for?
Use it to collect URLs, text, files, or Drive documents; ask questions grounded in them; and create audio overviews, videos, slide decks, reports, or infographics.
Why use it?
It keeps source material and source-based questions in one place instead of requiring manual copying between tools. Citations help show where answers came from.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to collect URLs, text, files, or Drive documents; ask questions grounded in them; and create audio overviews, videos, slide decks, reports, or infographics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/m4yk3ldev/notebooklm-mcp/notebooklm
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add m4yk3ldev/notebooklm-mcp --skill notebooklm
Clone the repo
git clone --depth 1 https://github.com/m4yk3ldev/notebooklm-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for notebooklm

README.md
[![agentmods](https://agentmods.dev/badge/skills/m4yk3ldev/notebooklm-mcp/notebooklm/github.svg)](https://agentmods.dev/skills/m4yk3ldev/notebooklm-mcp/notebooklm)
Your own site
<a href="https://agentmods.dev/skills/m4yk3ldev/notebooklm-mcp/notebooklm"><img src="https://agentmods.dev/badge/skills/m4yk3ldev/notebooklm-mcp/notebooklm/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for notebooklm

Your own site · 80×15
<a href="https://agentmods.dev/skills/m4yk3ldev/notebooklm-mcp/notebooklm"><img src="https://agentmods.dev/badge/skills/m4yk3ldev/notebooklm-mcp/notebooklm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,895 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00123 $0.01895
Opus 5.5 $0.00049 $0.00758
Sonnet 5.5 $0.00025 $0.00379
Haiku 4.5 $0.00012 $0.00189

Measured 1mo ago against content hash 94025ae4839f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

notebooklm scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/notebooklm/SKILL.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

NotebookLM via MCP

This skill uses the @m4ykeldev/notebooklm-mcp server, which exposes NotebookLM as 27 MCP tools. NotebookLM has no public API; the server talks to the same internal RPC endpoint the web app uses, authenticated with the user's own Google session cookies.

Setup

Check first: if tools such as notebook_list are already available, skip this section.

  1. Authenticate once (opens Chrome, waits for the Google login, stores cookies in ~/.notebooklm-mcp/auth.json):

    npx -y @m4ykeldev/notebooklm-mcp auth
    

    Headless / CI: set NOTEBOOKLM_COOKIES instead. Fallbacks: auth --manual (paste cookies) or auth --file tokens.json.

  2. Register the server with the client.

    Claude Code:

    claude mcp add --transport stdio notebooklm -- npx -y @m4ykeldev/notebooklm-mcp serve
    

    Any JSON-configured client (Cursor, VS Code, Claude Desktop, ...):

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

    Long answers on big notebooks: append "--query-timeout", "180000" to args.

The authentication step needs the user at a browser. Ask them to run it; do not try to log in on their behalf.

Core workflow

  1. Find or create the notebook. notebook_list returns IDs, titles and sources, up to max_results (default 100); if the count reaches it, call again with a higher value. Match by title before creating a duplicate. notebook_create returns the new ID.
  2. Add sources.
    • source_add_url — web pages and YouTube links.
    • source_add_text — pass content inline, or file_path for a local file. file_path must sit under the server's working directory or the OS temp dir; for anything else, read the file and pass content.
    • source_add_drive — needs the Drive file_id, a title and the MIME doc_type (e.g. application/vnd.google-apps.document).
    • Each of these returns the new source's id. Sources take a moment to process; check with notebook_get before querying one you just added.
    • If source_add_url says NotebookLM could not fetch the page, check notebook_get before retrying: the source is sometimes listed anyway.
  3. Ask questions. notebook_query answers only from the notebook's sources, using all of them by default. Restrict with source_ids when the user cares about specific documents. For follow-ups, pass back the returned conversation_id so the follow-up keeps context (the server remembers the conversation while it keeps running).
  4. Produce output with the Studio tools (below), or summarise with notebook_summarize.

Read the full file on GitHub · 100 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +1 lines · +2 tokens per session 94025ae4839f
  2. 1mo ago First seen · 99 lines · 121 tokens per session scan A 0e3927afc653

Subscribe to this mod's changes

notebooklm is a skill published in the GitHub repository m4yk3ldev/notebooklm-mcp (26 stars, last pushed 1mo ago), licensed MIT. It adds 123 tokens to every session and 1,895 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-19.

Related

notebooklm compared with skills from other repositories

notebooklm next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
notebooklmm4yk3ldev/notebooklm-mcpSkill261mo agoMITA123Claude Code, Codex
excel-clisbroenne/mcp-server-excelSkill9842d agoMITA59Claude Code, Codex
taskade-spreadsheet-to-apptaskade/mcpSkill170yesterdayMITA145Claude Code
pdf-decompilernoobieisgod/pdf-decompiler-mcpSkill17yesterdayApache-2.0A37Claude Code, Codex
documentation-serverandrea9293/mcp-documentation-serverSkill3473mo agoMITA71Claude Code, Codex
cvxhrtips/cvxSkill86d agoApache-2.0A87Claude Code, Codex
file-conversionaadilr/changethisfile-mcpSkill610d agoMITA93Claude Code