Jupyter_MCP_Server
by shreyu258
JupyterMCP connects Jupyter Notebook to Claude AI through the Model Context Protocol (MCP), enabling AI-assisted code execution, data analysis, visualization, and more. This integration allows Claude to directly interact with and control Jupyter Notebooks.
Last updated: N/A
What is Jupyter_MCP_Server?
JupyterMCP is a system that integrates Jupyter Notebook with Claude AI using the Model Context Protocol (MCP). It allows Claude to interact with and control Jupyter Notebooks, enabling AI-assisted code execution, data analysis, and visualization.
How to use Jupyter_MCP_Server?
First, install the necessary prerequisites and clone the repository. Then, create a virtual environment and install the jupyter-mcp
kernel. Configure Claude desktop integration by modifying the claude_desktop_config.json
file. Start the Jupyter Notebook server with the jupyter-mcp
kernel and initialize the WebSocket server in a notebook cell. Finally, launch Claude desktop with MCP enabled.
Key features of Jupyter_MCP_Server
Two-way communication between Claude AI and Jupyter Notebook
Cell manipulation (insert, execute, manage)
Notebook management (save, retrieve info)
Cell execution (specific or all cells)
Output retrieval (text limitation options)
Use cases of Jupyter_MCP_Server
AI-assisted code execution
AI-driven data analysis
Automated visualization generation
Interactive debugging with AI
FAQ from Jupyter_MCP_Server
What is the Model Context Protocol (MCP)?
What is the Model Context Protocol (MCP)?
The Model Context Protocol (MCP) is a standard that allows AI models like Claude to interact with external tools and environments, such as Jupyter Notebooks.
What versions of Jupyter Notebook are supported?
What versions of Jupyter Notebook are supported?
The instructions specify Jupyter Notebook version 6.x.
What Python version is required?
What Python version is required?
Python 3.12 or newer is recommended, though older versions may work.
How do I configure Claude to use JupyterMCP?
How do I configure Claude to use JupyterMCP?
You need to edit the claude_desktop_config.json
file to include the JupyterMCP server configuration, specifying the command and arguments to run the jupyter_mcp_server.py
script.
What tools does Claude have access to once connected?
What tools does Claude have access to once connected?
Claude has access to tools like 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
, and set_slideshow_type
.