Files

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