Python Notebook MCP Server

<h1>Python Notebook MCP</h1> MCP server enabling AI assistants to interact with Jupyter notebooks through the Model Context Protocol.

Local serverstdioPython

What is the Python Notebook MCP Server?

Python Notebook MCP MCP server enabling AI assistants to interact with Jupyter notebooks through the Model Context Protocol.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
initialize_workspace**REQUIRED FIRST STEP.** Sets the absolute path for the workspace.
list_notebooksLists all .ipynb files found within the workspace directory.
create_notebookCreates a new, empty Jupyter notebook if it doesn't exist.
read_notebookReads the entire structure and content of a notebook.
read_cellReads the content and metadata of a specific cell by index.
edit_cellModifies the source content of an existing cell by index.
add_cellAdds a new code or markdown cell at a specific index or the end.
read_notebook_outputsReads all outputs from all code cells in a notebook.
read_cell_outputReads the output(s) of a specific code cell by index.

Example prompts to try

  • “Use Python Notebook MCP to initialize workspace.”
  • “Use Python Notebook MCP to list notebooks.”
  • “Use Python Notebook MCP to create notebook.”

Frequently asked questions

<h1>Python Notebook MCP</h1> MCP server enabling AI assistants to interact with Jupyter notebooks through the Model Context Protocol. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.