Python Notebook MCP
JSON →Enables AI assistants to interact with local Jupyter notebooks (.ipynb).
Install
pip install fastmcp Tools · 16
- initialize_workspace Initialize the workspace directory for notebook operations
- create_notebook Create a new Jupyter notebook file
- open_notebook Open an existing Jupyter notebook file
- add_code_cell Add a code cell to the notebook
- add_markdown_cell Add a markdown cell to the notebook
- execute_cell Execute a specific cell in the notebook
- execute_all_cells Execute all cells in the notebook
- get_cell_output Get the output of a specific cell
- edit_cell Edit the content of a specific cell
- delete_cell Delete a specific cell from the notebook
- move_cell Move a cell to a different position in the notebook
- save_notebook Save the current notebook to disk
- close_notebook Close the current notebook
- list_notebooks List all notebooks in the workspace
- get_notebook_info Get information about the current notebook
- export_notebook Export the notebook to a different format (e.g., HTML, PDF)
Links
★ 45 GitHub stars