Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Nebula Notebook

MCP server by jzhoulab Verified · npm:nebula-notebook

Nebula Notebook is a notebook server that lets AI agents such as Claude Code and Codex edit and run cells through MCP. It is for data scientists and developers who want an agent and a Jupyter notebook working in the same files. It runs real Jupyter kernels.

  • Score 85
  • 2 stars
  • 2.8k a week
  • MIT
  • Updated

Install Nebula Notebook

Built from the published package, never by AI.

claude mcp add nebula-notebook -- npx -y nebula-notebook

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Nebula Notebook in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the nebula-notebook block.

About

Nebula Notebook is a web notebook that runs on your own machine or on a remote server, such as a cluster login node. It runs real Jupyter kernels, including Python, Julia and R, and works with the files on the server. Agents can connect through the MCP adapter package, nebula-notebook-mcp, or through the nebula CLI. Each notebook has a built-in agent terminal, and per-cell optimistic concurrency keeps agent edits from silently overwriting the user's changes.

The project suits people who run notebooks with AI coding assistants and want undo history, autosave, and git-friendly .qmd and .py notebooks. It also suits users on HPC clusters, since the kernel menu can allocate a SLURM compute job. Access is protected with TOTP two-factor authentication, with optional passkeys.

Written from the project's README and checked against it.

Tools it gives your assistant

  • connect_serverConnects the agent to a Nebula server at a base URL, once per session.
  • Cell read, edit and runLets agents read, edit and execute notebook cells through the MCP or the nebula CLI.
  • Kernel and file managementLets agents manage Jupyter kernels and files on the server.
  • Cluster compute allocationLets agents allocate cluster compute when a SLURM scheduler is present.
  • Agent skill installThe nebula CLI can be installed as a Claude Code skill with nebula setup-skill.

What you need

  • Node.js 20 or later
  • Python 3.10 or later with ipykernel on the server machine
  • An authenticator app for TOTP two-factor login
  • Node.js 20 or later on an agent machine that runs outside Nebula

Try asking

  • Connect to my Nebula server at localhost:3000 and open the analysis notebook.
  • Read the failing cell in my notebook, fix it, and rerun it.
  • Search my notebook for every plot call and list the cell numbers.

Good to know

  • npm releases are snapshots, so the latest changes need a source install.
  • Building from source needs devDependencies, so NODE_ENV=production must not skip them.
  • Other kernels such as R need extra setup, described in the project docs.
  • A passkey is bound to the hostname it was enrolled at.

Security check

B
  • Runs a script automatically when the package is installedIn package.json: "postinstall":

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Nebula Notebook

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Nebula Notebook: common questions

Does Nebula Notebook work with Claude Code and Codex?

The source says Claude Code, Codex and Cursor can drive notebooks through the MCP server or the nebula CLI. Agents can also be launched from the notebook's built-in terminal.

Can it run on a remote server or HPC cluster?

Yes. The source describes running the server on a cluster login node, browsing it through an SSH tunnel, and running kernels on SLURM compute nodes.

How is access protected?

Nebula uses TOTP two-factor authentication with a 6-digit code. Passkeys can be added as a faster sign-in option.

How do I install Nebula Notebook?

In Claude Code run claude mcp add nebula-notebook -- npx -y nebula-notebook. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Nebula Notebook the official server?

Nebula Notebook is published by npm:nebula-notebook from its verified domain in the official MCP Registry.

Is Nebula Notebook free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Nebula Notebook safe to use?

It scores 85 of 100. Grades: maintenance A, licence A, quality C. Security check: grade B (runs a script automatically when the package is installed). Review the code before you install. How grades work.

What are alternatives to Nebula Notebook?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Nebula Notebook work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Nebula Notebook Install

Add to stack

Loading.