notebook

notebook is a command for coding agents from datalayer/jupyter-mcp-server. It costs 0 tokens per session (230 once invoked), scanned A, original, BSD-3-Clause.

A command for opening and inspecting a Datalayer notebook, an online document that combines code, results, and notes.

In plain words
What is it for?
Use it to list available notebooks, select one by name or path, connect to it, and summarize its cells and execution state.
Why use it?
It avoids guessing which notebook to use and shows what it contains and where its last execution stopped before work begins.

Command

Part of the datalayer plugin — 3 commands, 1 MCP server shipped together

About the project

Jupyter MCP Server is a Model Context Protocol server that lets AI agents connect to and manage Jupyter notebooks in real time. It supports notebooks running locally or on hosted platforms, and its catalogue add-ons provide commands and skills for working with those notebooks.

datalayer/jupyter-mcp-server · 1,271 stars · on GitHub

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.

agentmods
npx agentmods add commands/datalayer/jupyter-mcp-server/notebook
Clone the repo
git clone --depth 1 https://github.com/datalayer/jupyter-mcp-server

Or install datalayer, the plugin that ships this one along with the rest of its 3 commands, 1 MCP server.

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 notebook

README.md
[![agentmods](https://agentmods.dev/badge/commands/datalayer/jupyter-mcp-server/notebook.svg)](https://agentmods.dev/commands/datalayer/jupyter-mcp-server/notebook)
Your own site
<a href="https://agentmods.dev/commands/datalayer/jupyter-mcp-server/notebook"><img src="https://agentmods.dev/badge/commands/datalayer/jupyter-mcp-server/notebook.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 230 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00230
Opus 5 $0.00000 $0.00115
Sonnet 5 $0.00000 $0.00046
Haiku 4.5 $0.00000 $0.00023

Measured 5d ago against content hash edecaa4b3460, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

notebook 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 5d 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.

extensions/claude-plugin/commands/notebook.md · 28 lines

What it actually says


description: Open a Datalayer notebook and work in it argument-hint: [notebook name or path]

Connect to a Datalayer notebook and make it the one we work in.

Steps:

  1. Call list_notebooks to see what this account can reach.
  2. If $ARGUMENTS is empty, show the list and ask which notebook to open. Otherwise pick the notebook whose name or path best matches $ARGUMENTS; if several match, list the candidates and ask rather than guessing.
  3. Call use_notebook with a short, stable alias and the notebook's path.
  4. Call read_notebook with the brief format and summarise what the notebook contains — how many cells, what it appears to be about, and where its last execution stopped.

Do not create a notebook unless you were asked to. If nothing matches, say so and list what is available.

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. 5d ago First seen · 28 lines · 0 tokens per session scan A edecaa4b3460

Subscribe to this mod's changes

notebook is a command published in the GitHub repository datalayer/jupyter-mcp-server (1,271 stars, last pushed today), licensed BSD-3-Clause. It costs nothing until one of its globs matches a file; then it loads 230 tokens. 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-08-30.