JM

Jupyter MCP

Run and edit cells in a live Jupyter notebook.

📊 Data & notebooksGitHub stars1,326Updated 2026-11-14License: BSD-3-ClauseAuth: local JupyterGitHub ↗
Best for data & notebooks · tested 2026-10-21

Ran print(6*7) in a Jupyter kernel and returned 42 in both Claude Code and Cursor (3 calls in total). It needs a running Jupyter server with a token, and it failed in ChatGPT (Codex). MCP Run Python (Pydantic) also passed both clients with 2 calls, but its repo is archived, so it can't be a pick under our rule. No runner-up: MCP Python Interpreter failed to start in both clients on Oct 15. Confirmed Oct 21, 2026: a second run in Claude Code and Cursor passed again (jupyter-mcp-server 2.2.4).

Test results

Last passed 2026-10-21
Claude CodePassed2026-10-21 · install, connect, tools, agent taskTested with Claude Code 2.1.296 · jupyter_mcp_server 2.2.4 · connected in 7.7s
CursorPassed2026-10-21 · install, connect, tools, agent taskTested with Cursor CLI 2026.10.19-6bbf2c4 · jupyter_mcp_server 2.2.4 · connected in 4.6s
Claude DesktopPassed2026-10-20 · install, connect, tools, agent taskTested with Claude Desktop 2.37337.1 (Linux beta, Electron 44.7.0) · jupyter_mcp_server 2.2.4 · connected in 2.1s
ChatGPT (Codex)Failed2026-10-15 · agent task failed (no successful call to this server's tools; answer missing ['42']; no tool result containing ['42'])Tested with Codex CLI 0.162.0-alpha.17.2 · package version not recorded · connect time not recorded

Server package tested: jupyter_mcp_server 2.2.4 (uv, Python 3.12.15; resolved 2026-10-21)

Direct and key dependencies as resolved: anyio 4.15.1 · code_sandboxes 1.10.0 · datalayer_reactor 1.3.1 · fastapi 0.157.0 · httpx 0.28.1 · jupyter-collaboration 5.0.4 · jupyter-server-client 0.1.1 · jupyter_nbmodel_client 1.5.1 · jupyter_server 2.21.1 · jupyter_server_nbmodel 0.2.9 · mcp 2.3.0 · opentelemetry-api 1.45.1 · opentelemetry-sdk 1.45.1 · pycrdt 0.14.10 · pydantic 2.14.1 · pydantic_core 2.50.1 · reactor_mcp_server 1.3.1 · sse-starlette 3.5.0 · starlette 1.9.0 · typer 0.27.3 · typing_extensions 4.16.0 · uvicorn 0.54.0

All 139 resolved dependencies
annotated-doc==0.0.5
annotated-types==0.8.0
anyio==4.15.1
argon2-cffi==25.1.0
argon2-cffi-bindings==26.1.0
arrow==1.4.0
asttokens==3.0.2
async-lru==2.4.0
attrs==26.1.0
babel==2.18.0
beautifulsoup4==4.15.0
bleach==6.4.0
certifi==2026.10.19
cffi==2.1.1
charset-normalizer==3.5.2
click==8.5.0
code_sandboxes==1.10.0
comm==0.2.3
cryptography==50.0.2
datalayer_reactor==1.3.1
debugpy==1.8.22
defusedxml==0.7.1
executing==2.3.0
Faker==40.43.0
fastapi==0.157.0
fastjsonschema==2.22.2
fqdn==1.6.0
h11==0.16.0
httpcore==1.0.9
httpcore2==2.16.0
httpx==0.28.1
httpx2==2.16.0
idna==3.20
ipykernel==7.4.0
ipython==9.17.1
ipython_pygments_lexers==1.1.1
isoduration==20.11.0
jedi==0.20.1
Jinja2==3.1.6
json5==0.17.3
jsonpointer==3.4
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
jupyter-collaboration==5.0.4
jupyter-collaboration-ui==3.0.4
jupyter-docprovider==3.0.4
jupyter-events==0.12.1
jupyter-lsp==2.3.1
jupyter-mimetypes==0.2.0
jupyter-server-client==0.1.1
jupyter-server-ydoc==3.0.4
jupyter-ydoc==4.1.1
jupyter_builder==1.2.3
jupyter_client==8.10.0
jupyter_core==5.9.1
jupyter_kernel_client==1.0.2
jupyter_nbmodel_client==1.5.1
jupyter_server==2.21.1
jupyter_server_fileid==0.10.0
jupyter_server_nbmodel==0.2.9
jupyter_server_terminals==0.5.4
jupyterlab==4.6.4
jupyterlab_pygments==0.3.0
jupyterlab_server==2.28.1
lark==1.3.1
markdown-it-py==4.2.0
MarkupSafe==3.0.4
matplotlib-inline==0.2.2
mcp==2.3.0
mcp-types==2.3.0
mdurl==0.1.2
mistune==3.4.0
nbclient==0.11.0
nbconvert==7.17.2
nbformat==5.11.1
nest-asyncio2==1.7.4
notebook_shim==0.2.4
opentelemetry-api==1.45.1
opentelemetry-sdk==1.45.1
opentelemetry-semantic-conventions==0.66b1
packaging==26.3
pandocfilters==1.5.1
parso==0.8.7
pexpect==4.9.0
platformdirs==4.13.5
pluggy==1.7.0
prometheus_client==0.26.0
prompt_toolkit==3.0.53
psutil==7.2.2
ptyprocess==0.7.0
pure_eval==0.2.4
pyarrow==26.0.0
pycparser==3.11
pycrdt==0.14.10
pycrdt-store==0.1.5
pycrdt-websocket==0.16.5
pydantic==2.14.1
pydantic_core==2.50.1
Pygments==2.21.0
PyJWT==2.15.1
python-dateutil==2.9.0.post0
python-dotenv==1.2.4
python-json-logger==4.2.0
python-multipart==0.0.32
PyYAML==6.0.3
pyzmq==27.2.0
reactor_mcp_server==1.3.1
referencing==0.37.0
requests==2.34.2
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rfc3987-syntax==1.1.0
rich==15.0.0
rpds-py==2026.9.1
Send2Trash==2.1.0
shellingham==1.5.4
six==1.17.0
soupsieve==3.0.3
sqlite-anyio==0.2.10
sse-starlette==3.5.0
stack-data==0.6.3
starlette==1.9.0
terminado==0.18.1
tinycss2==1.5.1
tornado==6.5.10
traitlets==5.16.1
truststore==0.10.5
typer==0.27.3
typing-inspection==0.4.4
typing_extensions==4.16.0
tzdata==2026.5
uri-template==1.3.0
urllib3==2.8.0
uvicorn==0.54.0
wcwidth==0.9.3
webcolors==25.10.0
webencodings==0.6.1
websocket-client==1.9.2
websockets==17.3

Captured with: uvx --from jupyter-mcp-server python (importlib.metadata in the same uvx env; equivalent to uv pip freeze).

Full result per app: Does it work with Claude Code? · Does it work with Cursor? · Does it work with Claude Desktop? · Does it work with ChatGPT (Codex)?

Protocol: starts, 18 tools listed · 2026-10-20 · connected in 6.6s
🧪 Test-box note: Tested against a local JupyterLab (127.0.0.1:8888, test token) started by the harness.

Real test

Passed

One run from our records. When two runs share a date, we show a failure if there is one.

Client
Cursor · Cursor CLI 2026.10.19-6bbf2c4
Date
Oct 21, 2026
The task we gave
Using only the jupyter MCP tools, run print(6*7) in the notebook kernel and reply with the output.
What it promised
details not recorded for this run
What happened

Tool calls:

jupyter:list_filesjupyter:use_notebookjupyter:execute_code

Other calls recorded:

getMcpToolsToolCall

Tool result

{"success": {"content": [{"text": {"text": "Showing 0-1 of 1 files\n\nPath\tType\tSize\tLast_Modified\nnotebook.ipynb\tnotebook\t59B\t2026-10-21 05:37:42"}}], "isError": false, "structuredContent": {"kind": "files.list", "result": "Showing 0-1 of 1 files\n\nPath\tType\tSize\tLast_Modified\nnotebook.ipynb\tnotebook\t59B\t2026-10-21 05:37:42"}, "systemReminders": []}}

Agent reply

I’ll use the Jupyter MCP directly to connect to the active notebook kernel, execute `print(6*7)`, and then return the exact output.I found `notebook.ipynb`; next I’ll attach it to a fresh kernel and run the code there.`42`
Verdict
Passed

Install

claude mcp add jupyter -e JUPYTER_URL=http://127.0.0.1:8888 -e JUPYTER_TOKEN=your-jupyter-token -e DOCUMENT_URL=http://127.0.0.1:8888 -e DOCUMENT_TOKEN=your-jupyter-token -e RUNTIME_URL=http://127.0.0.1:8888 -e RUNTIME_TOKEN=your-jupyter-token -e DOCUMENT_ID=notebook.ipynb -e ALLOW_IMG_OUTPUT=false -- uvx jupyter-mcp-server

Run in your terminal. This exact command is what our harness runs in Claude Code; see the results above.

{
  "mcpServers": {
    "jupyter": {
      "command": "uvx",
      "args": [
        "jupyter-mcp-server"
      ],
      "env": {
        "JUPYTER_URL": "http://127.0.0.1:8888",
        "JUPYTER_TOKEN": "your-jupyter-token",
        "DOCUMENT_URL": "http://127.0.0.1:8888",
        "DOCUMENT_TOKEN": "your-jupyter-token",
        "RUNTIME_URL": "http://127.0.0.1:8888",
        "RUNTIME_TOKEN": "your-jupyter-token",
        "DOCUMENT_ID": "notebook.ipynb",
        "ALLOW_IMG_OUTPUT": "false"
      }
    }
  }
}

Save as .cursor/mcp.json. This exact config is what our harness runs in Cursor; see the results above.

{
  "mcpServers": {
    "jupyter": {
      "command": "uvx",
      "args": [
        "jupyter-mcp-server"
      ],
      "env": {
        "JUPYTER_URL": "http://127.0.0.1:8888",
        "JUPYTER_TOKEN": "your-jupyter-token",
        "DOCUMENT_URL": "http://127.0.0.1:8888",
        "DOCUMENT_TOKEN": "your-jupyter-token",
        "RUNTIME_URL": "http://127.0.0.1:8888",
        "RUNTIME_TOKEN": "your-jupyter-token",
        "DOCUMENT_ID": "notebook.ipynb",
        "ALLOW_IMG_OUTPUT": "false"
      }
    }
  }
}

Add to claude_desktop_config.json and restart Claude Desktop. Tested on the Linux beta; see the results above.

[mcp_servers.jupyter]
command = "uvx"
args = ["jupyter-mcp-server"]
env = { JUPYTER_URL = "http://127.0.0.1:8888", JUPYTER_TOKEN = "your-jupyter-token", DOCUMENT_URL = "http://127.0.0.1:8888", DOCUMENT_TOKEN = "your-jupyter-token", RUNTIME_URL = "http://127.0.0.1:8888", RUNTIME_TOKEN = "your-jupyter-token", DOCUMENT_ID = "notebook.ipynb", ALLOW_IMG_OUTPUT = "false" }

Add to ~/.codex/config.toml (shared by the ChatGPT (Codex) CLI and the ChatGPT desktop app; Codex runs inside the ChatGPT desktop app). Tested with the ChatGPT (Codex) CLI bundled in the ChatGPT desktop app; see the results above.

Not connecting? Troubleshooting: Claude Code · Cursor · Claude Desktop · ChatGPT (Codex)

Test history

DateCheckResultVersions tested
2026-10-21Claude CodePassed
install, connect, tools, agent task
Claude Code 2.1.296 · jupyter_mcp_server 2.2.4
2026-10-21CursorPassed
install, connect, tools, agent task
Cursor CLI 2026.10.19-6bbf2c4 · jupyter_mcp_server 2.2.4
2026-10-20Protocol (direct stdio)Protocol: starts, 18 tools listedjupyter_mcp_server 2.2.4 · server reported v2.2.4
2026-10-20Claude DesktopPassed
install, connect, tools, agent task
Claude Desktop 2.37337.1 (Linux beta, Electron 44.7.0) · jupyter_mcp_server 2.2.4
2026-10-20Protocol (direct stdio)Protocol: starts, 18 tools listed2.2.4
2026-10-20Claude DesktopPassed
install, connect, tools, agent task
Claude Desktop 2.37337.1 (Linux beta, Electron 44.7.0) · jupyter_mcp_server 2.2.4
2026-10-15ChatGPT (Codex)Failed
agent task failed (no successful call to this server's tools; answer missing ['42']; no tool result containing ['42'])
Codex CLI 0.162.0-alpha.17.2 · package version not recorded
2026-10-15ChatGPT (Codex)Failed
agent task failed (no successful call to this server's tools; answer missing ['42']; no tool result containing ['42'])
Codex CLI 0.162.0-alpha.17.2 · package version not recorded
2026-10-13Protocol (direct stdio)Protocol: starts, 18 tools listed2.2.4
2026-10-13CursorPassed
install, connect, tools, agent task
Cursor CLI 2026.10.12-d47ca18 · package version not recorded
2026-10-13Claude CodePassed
install, connect, tools, agent task
Claude Code 2.1.296 · package version not recorded

Tested on ToolPassed badge

ToolPassed: passed Claude Code, Cursor, Claude Desktop

Maker of Jupyter MCP? It passed in Claude Code, Cursor, Claude Desktop on 2026-10-21. Add this free badge to your README; it links back to this listing. Free, no strings: the badge never changes a result.

[![Tested on ToolPassed](https://toolpassed.com/badge/mcp/jupyter.svg)](https://toolpassed.com/mcp/jupyter/)

Tools seen by our harness (18)

clear_cell_outputconnect_to_jupyterdelete_celledit_cell_sourceexecute_cellexecute_codeinsert_cellinsert_execute_code_celllist_fileslist_kernelslist_notebooksmove_celloverwrite_cell_sourceread_cellread_notebookrestart_notebookunuse_notebookuse_notebook
Featured