read_cell_output
Reads the output(s) of a specific code cell by index.
How to use it
read_cell_output is exposed by the Python Notebook MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the read_cell_output tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Python Notebook MCP
uv pip install fastmcpOther tools in Python Notebook MCP (8)
Adds a new code or markdown cell at a specific index or the end.
Creates a new, empty Jupyter notebook if it doesn't exist.
Modifies the source content of an existing cell by index.
REQUIRED FIRST STEP. Sets the absolute path for the workspace.
Lists all .ipynb files found within the workspace directory.
Reads the content and metadata of a specific cell by index.
Reads the entire structure and content of a notebook.
Reads all outputs from all code cells in a notebook.