shreyu258/Jupyter_MCP_Server
If you are the rightful owner of Jupyter_MCP_Server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
JupyterMCP connects Jupyter Notebook to Claude AI through the Model Context Protocol (MCP), enabling AI-assisted code execution and more.
JupyterMCP is an integration tool that connects Jupyter Notebook with Claude AI using the Model Context Protocol (MCP). This integration allows for seamless interaction between Claude AI and Jupyter Notebooks, enabling features such as AI-assisted code execution, data analysis, and visualization. The system is composed of a WebSocket server, a client JavaScript, and an MCP server, which together facilitate two-way communication, cell manipulation, notebook management, and output retrieval. The setup requires Python 3.12 or newer, the 'uv' package manager, and the Claude AI desktop application. Once installed, users can start a Jupyter Notebook server, select the 'jupyter-mcp' kernel, and initialize the WebSocket server to enable Claude AI's interaction with the notebook.
Features
- Two-way communication: Connect Claude AI to Jupyter Notebook through a WebSocket-based server.
- Cell manipulation: Insert, execute, and manage notebook cells.
- Notebook management: Save notebooks and retrieve notebook information.
- Cell execution: Run specific cells or execute all cells in a notebook.
- Output retrieval: Get output content from executed cells with text limitation options.
Tools
ping
Check server connectivity.
insert_and_execute_cell
Insert a cell at the specified position and execute it.
save_notebook
Save the current Jupyter notebook.
get_cells_info
Get information about all cells in the notebook.
get_notebook_info
Get information about the current notebook.
run_cell
Run a specific cell by its index.
run_all_cells
Run all cells in the notebook.
get_cell_text_output
Get the output content of a specific cell.
get_image_output
Get the images output of a specific cell.
edit_cell_content
Edit the content of an existing cell.
set_slideshow_type
Set the slide show type for cell.