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.
Install Nebula Notebook
Built from the published package, never by AI.
claude mcp add nebula-notebook -- npx -y nebula-notebookRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"nebula-notebook": {
"args": [
"-y",
"nebula-notebook"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"nebula-notebook": {
"args": [
"-y",
"nebula-notebook"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"nebula-notebook": {
"args": [
"-y",
"nebula-notebook"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add nebula-notebook -- npx -y nebula-notebook{
"mcpServers": {
"nebula-notebook": {
"args": [
"-y",
"nebula-notebook"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add nebula-notebook npx -y nebula-notebookGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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 →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
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.
