Skip to content
FunCoding

Search

Search docs, Skills and MCP

notebooklm-skill

NotebookLM does the research, Claude writes the content. Research → Synthesis → Content Creation → Publishing. Claude Code Skill + MCP Server.

README

notebooklm-skill

Source-grounded NotebookLM automation for terminals and AI agents.

CI PyPI Python License: MIT

繁體中文

notebooklm-skill gives humans and MCP clients one consistent interface for Google NotebookLM. It creates notebooks from URLs, raw text, and local files; asks grounded questions with citation metadata; completes fast or deep web research; and generates or downloads NotebookLM artifacts.

The project is built around notebooklm-py 0.7.x and includes:

  • a JSON-first core CLI;
  • five end-to-end research pipelines;
  • a 13-tool FastMCP server;
  • profile-aware authentication and Skill installers;
  • one shared compatibility layer, so CLI, pipelines, and MCP use the same behavior.

This is an unofficial integration with NotebookLM's web API. Google can change the service, availability, quotas, or artifact behavior without notice.

Quick start

Isolated source install

The installer creates a dedicated virtual environment, installs Chromium, links five commands into ~/.local/bin, and installs the Claude Code Skill using the standard directory layout.

git clone https://github.com/claude-world/notebooklm-skill.git
cd notebooklm-skill
./install.sh

notebooklm-auth setup
notebooklm-skill list

Ensure ~/.local/bin is on PATH.

PyPI or uvx

# Persistent virtual environment
python3 -m venv .venv
source .venv/bin/activate
python -m pip install notebooklm-skill
python -m playwright install chromium
notebooklm-auth setup

# Or run without a persistent install
uvx --from notebooklm-skill notebooklm-auth setup
uvx --from notebooklm-skill notebooklm-skill list

Direct upstream login is also available:

uvx --from notebooklm-py notebooklm login

Sessions are profile-aware. Select one with --profile NAME before a CLI subcommand, or set NOTEBOOKLM_PROFILE.

To use the locally installed Google Chrome instead of bundled Chromium:

notebooklm-auth setup --browser chrome --fresh

Core CLI

All successful commands print structured JSON to stdout. Diagnostics go to stderr; authentication errors return exit code 4 and argument errors return exit code 2.

# Mixed-source ingestion with truthful per-source outcomes
notebooklm-skill create \
  --title "Research" \
  --sources https://example.com/article \
  --files ./paper.pdf \
  --text-sources "Interview notes" \
  --strict

notebooklm-skill ask \
  --notebook "Research" \
  --query "Which conclusions have the strongest evidence?"

notebooklm-skill research \
  --notebook "Research" \
  --query "Recent independent evaluations" \
  --mode deep --max-sources 10

notebooklm-skill generate \
  --notebook "Research" \
  --type slides --lang zh-TW \
  --output ./output/deck.pptx --output-format pptx

notebooklm-skill list-artifacts --notebook "Research" --type slides

Commands resolve an exact ID, unique title, or unique title substring. Use IDs for repeatable automation. Deletes require --yes; downloads refuse existing files or symlinks unless an explicit safe overwrite is requested with --force.

Artifact types

TypeDefault downloadNotes
audioM4Adeep-dive, brief, critique, or debate
videoMP4explainer/brief and multiple visual styles
cinematicMP4cinematic video workflow
slidesPDFPDF or PPTX
reportMarkdownbriefing, study guide, blog, or custom
study-guideMarkdownreport shortcut
quizJSONJSON, Markdown, or HTML
flashcardsJSONJSON, Markdown, or HTML
mind-mapJSONimmediate generation result
infographicPNGorientation, detail, and style options
data-tableCSVstructured extraction

Use notebooklm-skill generate --help for the live option matrix. Long-running generations support --no-wait, and later downloads can select --artifact-id.

Pipelines

notebooklm-pipeline research-to-article \
  --sources https://example.com/a https://example.com/b \
  --title "Evidence review" --audience "engineers"

notebooklm-pipeline research-to-social \
  --files ./brief.pdf --platform linkedin --variants 3

notebooklm-pipeline batch-digest \
  --rss https://example.com/feed.xml --max-entries 20 --qa-count 5

notebooklm-pipeline generate-all \
  --files ./paper.pdf --types audio slides report mind-map \
  --output-dir ./output --artifact-concurrency 2

trend-to-content requires the optional trend-pulse command. Pipelines return drafts and local artifacts; they do not publish to social platforms or remote CMSs.

MCP server

The default stdio transport is suitable for Claude Code, Cursor, and other MCP clients:

{
  "mcpServers": {
    "notebooklm": {
      "command": "uvx",
      "args": ["--from", "notebooklm-skill", "notebooklm-mcp"]
    }
  }
}

The 13 tools cover notebook CRUD, mixed sources, grounded chat, summaries, artifact generation/list/download, full research lifecycles, research pipelines, and trend research. Notebook deletion requires confirm=true.

Optional HTTP mode is deliberately loopback-only:

notebooklm-mcp --http --host 127.0.0.1 --port 8765

Do not expose it directly to a network. See SECURITY.md.

Additional commands

CommandPurpose
notebooklm-authSetup, verify, or clear a selected auth profile
notebooklm-install-skillInstall SKILL.md for a user or project, with safe backups
notebooklm-install-skill --scope project
notebooklm-auth --profile work verify

Development

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e '.[dev]'
ruff check .
ruff format --check .
mypy scripts mcp_server
pytest --cov --cov-report=term-missing
python -m build
twine check dist/*

More detail: setup guide, Skill instructions, API compatibility notes, and changelog.

License

MIT

Similar MCP servers

54yyyu/zotero-mcp5.3k

zotero-mcp

Zotero MCP: Connects your Zotero research library with Claude and other AI assistants via the Model Context Protocol to discuss papers, get summaries, analyze citations, and more.

Science

u14app/deep-research4.7k

deep-research

Use any LLMs (Large Language Models) for Deep Research. Support SSE API and MCP server.

Science

Ryze-AI-Adgent/open-seo-mcp-skills4.6k

open-seo-mcp-skills

Free SEO MCP server + open-source SEO and GEO skills for Claude: keyword research, rank tracking, audits, backlinks, AI visibility on your real GSC/GA4/ads data. claude mcp add ryze --transport http https://connector.get-ryze.ai/mcp

Science

blazickjp/arxiv-mcp-server3.2k

arxiv-mcp-server

A local MCP server for agent literature work. Original-LaTeX section reads, BibTeX from arXiv metadata, and topic watches. Papers stay on disk. Search is optional.

Science

openags/paper-search-mcp2.8k

paper-search-mcp

MCP, CLI, Skills for searching and downloading academic papers from multiple sources like arXiv, PubMed, bioRxiv, etc.

Science

genomoncology/biomcp649

biomcp

BioMCP: Biomedical Model Context Protocol

Science