Files
python-sdk/pkg/hanzo-tools-jupyter
zeekay 8c05bf99d6 fix(ci): pin black <26.1 to avoid internal error, lower requires-python to 3.12
Black 26.1.0 crashes on multiple exception types in parentheses.
The requires-python bump to 3.14 broke CI which runs Python 3.12.
2026-03-01 16:01:16 -08:00
..
2025-12-27 15:00:11 -08:00

hanzo-tools-jupyter

Jupyter notebook tools for Hanzo MCP.

Installation

pip install hanzo-tools-jupyter

Tools

jupyter - Notebook Operations

Read and edit Jupyter notebooks.

Read notebook:

jupyter(action="read", path="/path/to/notebook.ipynb")
jupyter(action="read", path="/path/to/notebook.ipynb", cell=5)  # Specific cell

Edit cell:

jupyter(
    action="edit",
    path="/path/to/notebook.ipynb",
    cell=5,
    content="print('Hello, World!')"
)

Insert cell:

jupyter(
    action="insert",
    path="/path/to/notebook.ipynb",
    after_cell=5,
    content="# New cell",
    cell_type="markdown"
)

Delete cell:

jupyter(
    action="delete",
    path="/path/to/notebook.ipynb",
    cell=5
)

List cells:

jupyter(action="list", path="/path/to/notebook.ipynb")

Cell Types

  • code - Python code cell
  • markdown - Markdown text cell
  • raw - Raw text cell

License

MIT