About Pantheon-Security/notebooklm-mcp-secure
Pantheon-Security/notebooklm-mcp-secure is an MCP server published by Pantheon-Security in the Automation category: secure NotebookLM MCP Server - Query Google NotebookLM from Claude/AI agents with 17 security hardening layers. Conduid read 69 tools from its source: add_folder, add_notebook, add_source, ask_question, batch_create_notebooks, cleanup_data and 63 more. It is published to npm as @pan-sec/notebooklm-mcp and starts with npx.
The repository has 88 stars and 19 forks, is licensed MIT, and its last commit was on 3 Sep 2026. The latest release is v2026.5.0 (3 Sep 2026): Ten fixes (FX-015..FX-027), every one regression-gated. It follows v2026.4.1 (1 Jun 2026), and the 5 most recent releases go back to v2026.3.1 (25 Apr 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include google, automation and browser-automation.
Install
claude mcp add notebooklm-mcp-secure -- npx @pan-sec/notebooklm-mcp@latestnpx @pan-sec/notebooklm-mcp@latestgit clone https://github.com/Pantheon-Security/notebooklm-mcp-secureTools (69)
add_folderBulk upload PDFs/files from a local folder to a notebook| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | Preview files that would be added without actually adding them (default: false) |
| file_types | array | File extensions to include (default: [".pdf", ".txt", ".md", ".docx"]) |
| folder_path * | string | Absolute path to the folder to scan (no .. or ~ allowed) |
| notebook_id | string | Library notebook ID to add sources to |
| notebook_name_prefix | string | Prefix for auto-split notebooks when file count exceeds tier limit (default: folder name) |
| notebook_url | string | Direct notebook URL (overrides notebook_id) |
| recursive | boolean | Scan subdirectories too (default: false) |
add_notebookAdd a notebook to your library| Parameter | Type | Description |
|---|---|---|
| content_types | array | Types of content (e.g., ['documentation', 'examples', 'best practices']) |
| description * | string | What knowledge/content is in this notebook |
| name * | string | Display name for the notebook (e.g., 'n8n Documentation') |
| tags | array | Optional tags for organization |
| topics * | array | Topics covered in this notebook |
| url * | string | The NotebookLM notebook URL (must be a NotebookLM URL, e.g. https://notebook.google.com/notebook/<id>) |
| use_cases | array | When should Claude use this notebook (e.g., ['Implementing n8n workflows']) |
add_sourceAdd source to notebook| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Library notebook ID |
| notebook_url | string | Direct notebook URL (overrides notebook_id) |
| source * | object |
ask_questionQuery notebooks with source-grounded answersbatch_create_notebooksCreate multiple notebooks at once| Parameter | Type | Description |
|---|---|---|
| notebooks * | array | Array of notebooks to create (max 10) |
| show_browser | boolean | Show browser window for debugging |
| stop_on_error | boolean | Stop batch if any notebook fails (default: false) |
cleanup_dataClean up local data| Parameter | Type | Description |
|---|---|---|
| confirm * | boolean | Confirmation flag. Tool shows preview first, then user confirms deletion. Set to true only after user has reviewed the preview and explicitly confirmed. |
| include_optional | boolean | Also delete OPTIONAL categories that this server does not own — Claude project caches, editor MCP logs, and system trash. Default: false. Only set true if the user explicitly asked for those to be removed after reviewing the preview. |
| preserve_library | boolean | Preserve library.json file during cleanup. Default: false. Set to true to keep your notebook library while deleting everything else (browser data, caches, logs). |
close_sessionClose a session| Parameter | Type | Description |
|---|---|---|
| session_id * | string | The session ID to close |
collect_audit_evidenceCollect evidence package for compliance audits. Creates a verifiable package with checksums.| Parameter | Type | Description |
|---|---|---|
| from_date | string | Start date (ISO format) |
| regulation | string | Regulation to collect evidence for, or 'all' for comprehensive package |
| save_to_disk | boolean | Whether to save the evidence package to disk |
| to_date | string | End date (ISO format) |
compliance_dashboardGet comprehensive compliance dashboard with GDPR, SOC2, and CSSF status. Shows overall compliance score, health status, and key metrics.| Parameter | Type | Description |
|---|---|---|
| format | string | Output format: 'json' for structured data, 'cli' for human-readable text |
compliance_scoreGet current compliance score (0-100) for each regulation and overall. Includes detailed breakdown by category.configure_webhookSet up webhook notifications| Parameter | Type | Description |
|---|---|---|
| enabled | boolean | Enable/disable the webhook (default: true) |
| events | array | Events to subscribe to. Use ["*"] for all events. |
| format | string | Payload format (default: generic) |
| id | string | Webhook ID (for updates). Omit to create new. |
| name * | string | Display name for the webhook |
| secret | string | Secret for HMAC signature (X-Webhook-Signature header) |
| url * | string | Webhook endpoint URL (must be HTTPS, no localhost or private IPs) |
create_notebookProgrammatically create new notebooks| Parameter | Type | Description |
|---|---|---|
| auto_add_to_library | boolean | Whether to automatically add the created notebook to your library (default: true) |
| browser_options | object | Optional browser settings for debugging |
| description | string | Optional description for the notebook in your library |
| name * | string | Display name for the new notebook |
| show_browser | boolean | Show browser window (shorthand for browser_options.show) |
| sources * | array | Array of sources to add to the notebook |
| topics | array | Optional topics for categorization in your library |
deep_researchComprehensive research agent| Parameter | Type | Description |
|---|---|---|
| max_wait_seconds | number | Maximum wait time in seconds (default 5 min, max 10 min) |
| query * | string | The research question or topic to investigate |
| thinking_level | string | Controls thinking depth for research. Higher levels produce more thorough results. |
| wait_for_completion | boolean | Wait for research to complete (polls every 10s). Set to false to run in background. |
delete_documentDelete uploaded document| Parameter | Type | Description |
|---|---|---|
| confirm * | boolean | Must be true to confirm deletion. Prevents accidental permanent removal. |
| file_name * | string | File name/ID to delete (from upload_document or list_documents) |
download_audioDownload generated audio| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Library notebook ID |
| notebook_url | string | Or direct notebook URL (overrides notebook_id) |
| output_path | string | Optional output file path (absolute, no .. or ~ allowed) |
export_libraryExport library backup| Parameter | Type | Description |
|---|---|---|
| format | string | Export format (default: json) |
| output_path | string | Output file path (optional, defaults to home directory; no .. or ~ allowed) |
export_user_dataExport all user data in machine-readable format (GDPR Article 20 - Right to Data Portability).| Parameter | Type | Description |
|---|---|---|
| format | string | Export format |
| include_categories | array | Specific data categories to include (leave empty for all) |
gemini_queryFast grounded queries| Parameter | Type | Description |
|---|---|---|
| model | string | Model to use (gemini-3-flash-preview or gemini-3-pro-preview) |
| previous_interaction_id | string | Continue a previous conversation (for multi-turn) |
| query * | string | The question or prompt |
| response_schema | object | JSON schema for structured output (max ~50 fields per level). When provided, Gemini returns valid JSON matching this schema. Example: { type: 'object', properties: { name: { type: 'string' }, score: { type: 'number' } }, required: ['name'] } |
| thinking_level | string | Controls thinking depth. Higher levels produce more thorough but slower responses. |
| tools | array | Built-in tools to enable for grounding |
| urls | array | URLs to analyze (automatically enables url_context) |
generate_audioCreate Audio Overviewgenerate_audio_overviewCreate podcast-style audio| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Library notebook ID |
| notebook_url | string | Or direct notebook URL (overrides notebook_id) |
generate_compliance_reportGenerate a compliance audit report. Supports multiple report types and formats.| Parameter | Type | Description |
|---|---|---|
| format | string | Output format |
| from_date | string | Start date (ISO format). Defaults to 30 days ago. |
| report_type * | string | Type of report to generate |
| save_to_disk | boolean | Whether to save the report to disk |
| to_date | string | End date (ISO format). Defaults to now. |
generate_data_tableGenerate structured data table| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Library notebook ID |
| notebook_url | string | Or direct notebook URL (overrides notebook_id) |
generate_video_overviewCreate AI video overview (10 styles)| Parameter | Type | Description |
|---|---|---|
| format | string | Video format (explainer = full, brief = short summary) |
| notebook_id | string | Library notebook ID |
| notebook_url | string | Or direct notebook URL (overrides notebook_id) |
| style | string | Visual style for the video overview |
get_audio_statusCheck audio generation status| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Library notebook ID |
| notebook_url | string | Or direct notebook URL (overrides notebook_id) |
get_consent_statusGet current consent status for all data processing purposes.get_data_tableExtract data table as JSON| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Library notebook ID |
| notebook_url | string | Or direct notebook URL (overrides notebook_id) |
get_healthCheck server & auth status| Parameter | Type | Description |
|---|---|---|
| deep_check | boolean | If true, actually navigates to NotebookLM and verifies the chat UI loads. More reliable but slower (~5s). Use this before important query sessions. |
| notebook_id | string | Notebook to check (for deep_check). Defaults to active notebook or first available. |
get_incident_statusGet status of security incidents including open, investigating, and resolved counts.get_library_statsLibrary statisticsget_notebookGet notebook details| Parameter | Type | Description |
|---|---|---|
| id * | string | The notebook ID |
get_notebook_chat_historyExtract browser chat history| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum number of message pairs to return (default: 50, max: 500). |
| notebook_id | string | Library notebook ID. Use list_notebooks to see available notebooks. |
| notebook_url | string | Direct notebook URL (overrides notebook_id). Use for notebooks not in your library. |
| offset | number | Number of message pairs to skip from the start. Use with limit for pagination. (default: 0) |
| output_file | string | If provided, exports chat history to this JSON file instead of returning to context. Useful for large histories. |
| preview_only | boolean | If true, only returns message count and summary without content. Use this to audit before extracting full history. (default: false) |
| show_browser | boolean | Show browser window for debugging (default: false) |
get_policyGet detailed information about a specific compliance policy.| Parameter | Type | Description |
|---|---|---|
| policy_id * | string | The policy ID to retrieve |
get_project_infoGet project contextget_query_historyView past queries| Parameter | Type | Description |
|---|---|---|
| date | string | Filter queries by date (format: YYYY-MM-DD) |
| limit | number | Maximum number of entries to return (default: 50, max: 500) |
| notebook_id | string | Filter queries by notebook ID (from your library) |
| search | string | Search pattern to find in questions or answers |
| session_id | string | Filter queries by session ID |
get_quotaCheck usage quotas| Parameter | Type | Description |
|---|---|---|
| sync | boolean | If true, navigate to NotebookLM and fetch actual quota from Google's UI. More accurate but requires browser automation. Default: false (use local tracking). |
get_research_statusCheck research progress| Parameter | Type | Description |
|---|---|---|
| interaction_id * | string | The interaction ID returned from deep_research |
get_video_statusCheck video generation status| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Library notebook ID |
| notebook_url | string | Or direct notebook URL (overrides notebook_id) |
grant_consentGrant consent for a specific data processing purpose.| Parameter | Type | Description |
|---|---|---|
| legal_basis | string | Legal basis for processing |
| purpose * | string | The purpose for which consent is being granted |
list_documentsList uploaded documents| Parameter | Type | Description |
|---|---|---|
| page_size | number | Maximum number of files to return |
list_evidence_packagesList all saved evidence packages with their metadata.list_notebooksList all notebooks in librarylist_policiesList all compliance policies with their status and review dates.| Parameter | Type | Description |
|---|---|---|
| regulation | string | Filter by regulation (optional) |
list_sessionsList active sessionslist_sourcesList sources in a notebook| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Library notebook ID |
| notebook_url | string | Direct notebook URL (overrides notebook_id) |
list_webhooksList configured webhooksmanage_sourcesAdd/remove/list sourcesquery_chunked_documentQuery large documents| Parameter | Type | Description |
|---|---|---|
| file_names * | array | Array of chunk file IDs (from upload_document's allFileNames) |
| model | string | Model to use for querying and aggregation (gemini-3-flash-preview or gemini-3-pro-preview). |
| query * | string | Question to ask about the document |
query_documentQuery uploaded documents| Parameter | Type | Description |
|---|---|---|
| additional_files | array | Additional file IDs to include in the query (for multi-document analysis) |
| file_name * | string | File name/ID returned from upload_document |
| model | string | Model to use (gemini-3-flash-preview or gemini-3-pro-preview) |
| query * | string | Question to ask about the document |
re_authRe-authenticateremove_notebookRemove from library| Parameter | Type | Description |
|---|---|---|
| id * | string | The notebook ID to remove |
remove_sourceRemove source from notebook| Parameter | Type | Description |
|---|---|---|
| notebook_id | string | Library notebook ID |
| notebook_url | string | Direct notebook URL (overrides notebook_id) |
| source_id * | string | Source ID from list_sources (e.g., 'source-0') |
remove_webhookRemove a webhook| Parameter | Type | Description |
|---|---|---|
| id * | string | Webhook ID to remove |
report_security_incidentReport a security incident for investigation and tracking.| Parameter | Type | Description |
|---|---|---|
| description * | string | Detailed description of the incident |
| severity * | string | Incident severity |
| title * | string | Brief title for the incident |
| type * | string | Type of security incident |
request_data_erasureRequest erasure of personal data (GDPR Article 17 - Right to Erasure). Creates an erasure request for review.| Parameter | Type | Description |
|---|---|---|
| data_categories | array | Specific data categories to erase (leave empty for all erasable data) |
| reason | string | Reason for erasure request |
reset_sessionReset session history| Parameter | Type | Description |
|---|---|---|
| session_id * | string | The session ID to reset |
revoke_consentRevoke previously granted consent for a data processing purpose.| Parameter | Type | Description |
|---|---|---|
| purpose * | string | The purpose for which consent is being revoked |
run_health_checkRun a comprehensive health check of all compliance components.search_notebooksSearch by query| Parameter | Type | Description |
|---|---|---|
| query * | string | Search query |
select_notebookSet active notebook| Parameter | Type | Description |
|---|---|---|
| id * | string | The notebook ID to activate |
set_quota_tierSet quota tier| Parameter | Type | Description |
|---|---|---|
| tier * | string | License tier to set |
setup_authInitial authenticationsubmit_dsarSubmit a Data Subject Access Request (GDPR Article 15-17, 20). Initiates the DSAR workflow.| Parameter | Type | Description |
|---|---|---|
| data_subject_id | string | Identifier for the data subject (optional, defaults to current user) |
| details | string | Additional details or specific data categories requested |
| type * | string | Type of DSAR |
sync_librarySync library with NotebookLM| Parameter | Type | Description |
|---|---|---|
| auto_fix | boolean | Automatically remove stale library entries (default: false) |
| show_browser | boolean | Show browser window for debugging |
sync_notebookSync sources from local filestest_webhookTest webhook delivery| Parameter | Type | Description |
|---|---|---|
| id * | string | Webhook ID to test |
update_notebookUpdate notebook metadata| Parameter | Type | Description |
|---|---|---|
| content_types | array | New content types |
| description | string | New description |
| id * | string | The notebook ID to update |
| name | string | New display name |
| tags | array | New tags |
| topics | array | New topics list |
| url | string | New notebook URL (must be a NotebookLM URL, e.g. https://notebook.google.com/notebook/<id>) |
| use_cases | array | New use cases |
upload_documentUpload docs to Gemini| Parameter | Type | Description |
|---|---|---|
| display_name | string | Optional friendly name for the file |
| file_path * | string | Absolute path to the file to upload (no .. or ~ allowed) |
verify_audit_log_integrityVerify the integrity of compliance audit logs using hash chain verification.verify_evidence_integrityVerify the integrity of an evidence package using cryptographic checksums.| Parameter | Type | Description |
|---|---|---|
| package_id * | string | The evidence package ID to verify |
Security checks
Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 6.5K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- !No dynamic code executionScanned 111 source files and found 1 call to eval or shell execution, in auth-now.mjs:24. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/index.ts:34
- Starts other programs
- 2 callssrc/utils/file-permissions.ts:216, auth-now.mjs:24
- Outbound network calls
- 3 callssrc/compliance/alert-manager.ts:290, src/compliance/siem-exporter.ts:516, src/webhooks/webhook-dispatcher.ts:511
- Writes or deletes files
- 61 callssrc/auth/auth-manager.ts:1266, src/auth/auth-manager.ts:1288, src/auth/auth-manager.ts:1335
- Lockfile
- package-lock.json
Pattern matches on the source text of 111 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 6.5K words, fetched a month ago. The original in the repository is authoritative.
Read full README