SuperAPIAI Directory

jupyter-notebook-mcp

github.com · AI developer platforms

Interact with and control Jupyter Notebooks.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose: JupyterMCP connects Jupyter Notebook to Claude AI via the Model Context Protocol (MCP), enabling Claude to directly interact with and control notebooks for AI-assisted code execution, data analysis, and visualization.

Main capabilities: WebSocket-based bidirectional communication; cell operations (insert, execute, edit, manage); notebook management (save, retrieve info); execute specified cells or all cells; retrieve execution output (including text length limit option). Tools available to Claude include ping, insert_and_execute_cell, save_notebook, get_cells_info, get_notebook_info, run_cell, run_all_cells, get_cell_text_output, get_image_output, edit_cell_content, set_slideshow_type.

Usage: Requires Python 3.12 or newer, the uv package manager, and the Claude AI desktop app. After cloning the repository, use uv run python -m ipykernel install --name jupyter-mcp to create a virtual environment and install the kernel; configure mcpServers in claude_desktop_config.json to point to jupyter_mcp_server.py under the src directory; start Jupyter Notebook 6.x (uv run jupyter nbclassic), create a new notebook and select the jupyter-mcp kernel, run setup_jupyter_mcp_integration() in a cell to initialize the WebSocket server, then start the Claude desktop app.

Applicable scenarios: Code writing, execution, and result reading within notebooks with Claude assistance, such as data analysis and visualization.

Limitations: Only compatible with Jupyter Notebook 6.x; does not support 7.x, VS Code Notebooks, or other notebook interfaces; cell text output is limited to 1500 characters by default; does not support advanced Jupyter widget interactions; connections may time out after prolonged inactivity. This project is experimental and will run arbitrary Python code, may modify or delete data, so use it with caution and back up important projects.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools