1. Conduid
  2. Developer Tools
  3. datalayer/jupyter-mcp-server
MCP server · Developer Tools

datalayer/jupyter-mcp-server

🪐 🔧 Model Context Protocol (MCP) Server for Jupyter.

Unclaimed BSD-3-Clause devtools
87Strong

Scored 5 hours ago · breakdown

About datalayer/jupyter-mcp-server

datalayer/jupyter-mcp-server is an MCP server published by datalayer in the Developer Tools category: 🪐 🔧 Model Context Protocol (MCP) Server for Jupyter. Conduid read 18 tools from its source: clear_cell_output, connect_to_jupyter, delete_cell, edit_cell_source, execute_cell, execute_code and 12 more. It is published to PyPI as jupyter_mcp_server and runs with uvx.

The repository has 1.3K stars and 210 forks, is licensed BSD-3-Clause, and its last commit was on 1 Dec 2026. The latest release is v2.2.5 (5 Nov 2026). It follows v2.2.4 (11 Oct 2026), and the 5 most recent releases go back to v2.2.1 (20 Sep 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include devtools.

Install

Claude Code
claude mcp add jupyter-mcp-server -- uvx jupyter-mcp-server@latest
Run
uvx jupyter-mcp-server@latest
uvx
uvx jupyter_mcp_server
pip
pip install jupyter_mcp_server
From source
git clone https://github.com/datalayer/jupyter-mcp-server

Tools (18)

clear_cell_outputClear the outputs and execution count of a single code cell in the currently
ParameterTypeDescription
cell_idstringAddress the cell by its notebook cell id instead of its index. An index is a position, and a position stops being true the moment anyone inserts a cell above it; an id does not. Every result says which id it acted on, so read a cell once and address it by id afterwards. Given both, the id wins.
cell_indexintegerIndex of the code cell to clear (0-based). Omit when passing cell_id.
notebook_namestringTarget this specific connected notebook instead of the currently activated one. Use when multiple clients share this server, to avoid racing the shared 'current notebook' pointer. Omit to use the currently activated notebook.
connect_to_jupyterConnect to a Jupyter server dynamically with URL and token.
ParameterTypeDescription
document_providerstringWhich backend holds the notebook documents
jupyter_tokenstringJupyter server authentication token
jupyter_url *stringJupyter server URL to connect to (e.g., 'http://localhost:8888')
delete_cellDelete specific cells from the currently activated notebook and return the cell source of deleted cells (if include_source=True).
ParameterTypeDescription
cell_ids_to_deletearrayAddress the cells by their notebook cell ids instead of their indices. Safer for a multi-cell delete than indices, which shift as earlier cells go. Given both, the ids win; every id is checked before any cell is deleted, so a bad one fails the whole call rather than half-deleting the notebook.
cell_indicesarrayList of cell indices to delete (0-based). Omit when passing cell_ids_to_delete.
include_sourcebooleanWhether to include the source of deleted cells
notebook_namestringTarget this specific connected notebook instead of the currently activated one. Use when multiple clients share this server, to avoid racing the shared 'current notebook' pointer. Omit to use the currently activated notebook.
edit_cell_sourcePerform a surgical find-and-replace within a cell's source (like an editor's Edit tool).
ParameterTypeDescription
cell_idstringAddress the cell by its notebook cell id instead of its index. An index is a position, and a position stops being true the moment anyone inserts a cell above it; an id does not. Every result says which id it acted on, so read a cell once and address it by id afterwards. Given both, the id wins.
cell_indexintegerIndex of the cell to edit (0-based). Omit when passing cell_id.
new_string *stringReplacement string
notebook_namestringTarget this specific connected notebook instead of the currently activated one. Use when multiple clients share this server, to avoid racing the shared 'current notebook' pointer. Omit to use the currently activated notebook.
old_string *stringExact string to find in cell source
replace_allbooleanReplace all occurrences (default: first only)
execute_cell
ParameterTypeDescription
cell_idstringAddress the cell by its notebook cell id instead of its index. An index is a position, and a position stops being true the moment anyone inserts a cell above it; an id does not. Every result says which id it acted on, so read a cell once and address it by id afterwards. Given both, the id wins.
cell_indexintegerIndex of the cell to execute (0-based). Omit when passing cell_id.
notebook_namestringTarget this specific connected notebook instead of the currently activated one. Use when multiple clients share this server, to avoid racing the shared 'current notebook' pointer. Omit to use the currently activated notebook.
progress_intervalintegerSeconds between progress updates (MCP keepalive + optional stream log)
streambooleanEnable streaming progress (including time indicator) updates for long-running cells
timeoutintegerMaximum seconds to wait for execution (0 = use config default)
execute_codeExecute code directly in a kernel (not saved to notebook).
ParameterTypeDescription
code *stringCode to execute (supports magic commands with %, shell commands with !)
kernel_idstringTarget an existing kernel by ID (e.g. a raw kernel with no notebook). If omitted, uses the current notebook's kernel.
progress_intervalintegerSeconds between MCP progress keepalive updates during long-running execution
timeoutintegerMaximum seconds to wait for execution (0 = use config default)
insert_cellInsert a cell to specified position from the currently activated notebook.
ParameterTypeDescription
cell_index *integerTarget index for insertion (0-based), use -1 to append at end
cell_source *stringSource content for the cell
cell_type *stringType of cell to insert
notebook_namestringTarget this specific connected notebook instead of the currently activated one. Use when multiple clients share this server, to avoid racing the shared 'current notebook' pointer. Omit to use the currently activated notebook.
insert_execute_code_cellInsert a cell at specified index from the currently activated notebook and then execute it with timeout and return it's outputs
ParameterTypeDescription
cell_index *integerIndex of the cell to insert and execute (0-based)
cell_source *stringCode source for the cell
notebook_namestringTarget this specific connected notebook instead of the currently activated one. Use when multiple clients share this server, to avoid racing the shared 'current notebook' pointer. Omit to use the currently activated notebook.
progress_intervalintegerSeconds between progress updates (MCP keepalive + optional stream log)
streambooleanEnable streaming progress (including time indicator) updates for long-running cells
timeoutintegerMaximum seconds to wait for execution (0 = use config default)
list_filesList all files and directories recursively in the Jupyter server's file system.
ParameterTypeDescription
limitintegerMaximum number of items to return (0 means no limit)
pathstringThe starting path to list from (empty string means root directory)
patternstringGlob pattern to filter file paths
start_indexintegerStarting index for pagination (0-based)
list_kernelsList all available kernels in the Jupyter server.
list_notebooksList all notebooks that have been used via use_notebook tool
move_cellMove a cell from source_index to target_index within the currently activated notebook.
ParameterTypeDescription
notebook_namestringTarget this specific connected notebook instead of the currently activated one. Use when multiple clients share this server, to avoid racing the shared 'current notebook' pointer. Omit to use the currently activated notebook.
source_cell_idstringAddress the cell to move by its id rather than its index.
source_indexintegerIndex of the cell to move (0-based). Omit when passing source_cell_id.
target_cell_idstringPut the moved cell where this cell is now, addressed by id rather than by an index that the move itself will shift.
target_indexintegerDestination index where the cell will end up (0-based). Omit when passing target_cell_id.
overwrite_cell_sourceReplace the entire source of a cell in the currently activated notebook.
ParameterTypeDescription
cell_idstringAddress the cell by its notebook cell id instead of its index. An index is a position, and a position stops being true the moment anyone inserts a cell above it; an id does not. Every result says which id it acted on, so read a cell once and address it by id afterwards. Given both, the id wins.
cell_indexintegerIndex of the cell to overwrite (0-based). Omit when passing cell_id.
cell_source *stringNew complete cell source
notebook_namestringTarget this specific connected notebook instead of the currently activated one. Use when multiple clients share this server, to avoid racing the shared 'current notebook' pointer. Omit to use the currently activated notebook.
read_cellRead a cell as readable text entries.
ParameterTypeDescription
cell_idstringAddress the cell by its notebook cell id instead of its index. An index is a position, and a position stops being true the moment anyone inserts a cell above it; an id does not. Every result says which id it acted on, so read a cell once and address it by id afterwards. Given both, the id wins.
cell_indexintegerIndex of the cell to read (0-based). Omit when passing cell_id.
include_outputsbooleanInclude outputs in the response (only for code cells)
notebook_namestringTarget this specific connected notebook instead of the currently activated one. Use when multiple clients share this server, to avoid racing the shared 'current notebook' pointer. Omit to use the currently activated notebook.
restart_notebookRestart the kernel for a specific notebook.
ParameterTypeDescription
notebook_name *stringNotebook identifier to restart
unuse_notebookUnuse from a specific notebook and release its resources.
ParameterTypeDescription
notebook_name *stringNotebook identifier to disconnect
use_notebookConnect to or create a notebook by path and activate it for following cell operations.
ParameterTypeDescription
kernel_idstringExisting kernel to use for this notebook. When provided, use_notebook verifies it is alive and creates a Jupyter session binding the notebook to it when no session exists (or switches an already-connected notebook to that kernel). When omitted, a sandbox already selected with use_sandbox is reused; otherwise, if the notebook has a live Jupyter session, use_notebook triggers use_sandbox for that session and says so in the reply. With neither, no kernel is created. Pass 'NEW' to start an isolated kernel.
modestringNotebook operation mode: 'connect' to connect to existing and activate it, 'create' to create new and activate it
notebook_namestringOptional unique identifier for the notebook. When omitted, defaults to the notebook path.
notebook_path *stringPath to the notebook file, relative to the Jupyter server root (e.g. 'notebook.ipynb')
use_notebook_by_nameSwitch the active notebook to an already-connected notebook by its registered name.
ParameterTypeDescription
notebook_name *stringIdentifier of an already-connected notebook to activate (registered earlier via use_notebook).

Security checks

  • ✓README presentThe repository's README runs to about 2.3K words.
  • ✓License declaredThe repository declares the BSD-3-Clause license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionScanned 73 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v2.2.5Release 2.2.5 · 5 Nov 2026🚀 Release 2.2.5 🔗 Links PyPI Docker Hub What's Changed ci: harden the GitHub Actions workflows by @echarles in https://github.com/datalayer/jupyter-mcp-server/pull/489 docs: remove the star history chart from the README by @echarles in…
v2.2.4Release 2.2.4 · 11 Oct 2026🚀 Release 2.2.4 🔗 Links PyPI Docker Hub What's Changed jupyter-mcp-sandboxes 0.2.7: code-sandboxes 1.10.0 by @echarles in https://github.com/datalayer/jupyter-mcp-server/pull/475 Pass per-call execution timeouts through to the kernel by…
v2.2.3Release 2.2.3 · 26 Sep 2026🚀 Release 2.2.3 🔗 Links PyPI Docker Hub What's Changed fix(healthz): report the installed package version by @serhiizghama in https://github.com/datalayer/jupyter-mcp-server/pull/465 Bind streamable-HTTP to loopback by default and decouple…
v2.2.2Release 2.2.2 · 21 Sep 2026🚀 Release 2.2.2 🔗 Links PyPI Docker Hub What's Changed The sandbox toolset is named for its subject by @echarles in https://github.com/datalayer/jupyter-mcp-server/pull/468 Extensions: one page, and how this server is assembled from them…
v2.2.1Release 2.2.1 · 20 Sep 2026🚀 Release 2.2.1 🔗 Links PyPI Docker Hub What's Changed The server's own tools are contributions too by @echarles in https://github.com/datalayer/jupyter-mcp-server/pull/467 Full Changelog:…

README

The repository's README runs to about 2.3K words, fetched 20 days ago. The original in the repository is authoritative.

Read full README
Questions

About datalayer/jupyter-mcp-server

How do I install datalayer/jupyter-mcp-server?

In Claude Code, run claude mcp add jupyter-mcp-server -- uvx jupyter-mcp-server@latest. Other MCP clients take the command after "--" in their server configuration.

Is datalayer/jupyter-mcp-server safe to use with an AI agent?

Its trust score is 87 out of 100 (strong). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. It has no ConduID identity yet, so agent calls to it are not receipted.

Is datalayer/jupyter-mcp-server still maintained?

Yes — the latest release is v2.2.5 (5 Nov 2026), and the last commit was 20 hours ago. The repository has 1.3K stars and 33 open issues.

What tools does datalayer/jupyter-mcp-server provide?

Conduid read 18 tools from the source: clear_cell_output, connect_to_jupyter, delete_cell, edit_cell_source, execute_cell, execute_code, insert_cell, insert_execute_code_cell and 10 more. 16 of them publish their parameters, listed under Tools above.

What license is datalayer/jupyter-mcp-server released under?

The repository declares the BSD-3-Clause license. That applies to the latest release, v2.2.5, as well.