MCP Catalogs
Homejupyter-mcp-server screenshot

jupyter-mcp-server

by datalayer·1,103·Score 54

An MCP server that enables AI systems to interact with Jupyter notebooks in real-time, providing tools for notebook management and cell execution.

developer-toolsproductivityai-llm
161
Forks
36
Open issues
this month
Last commit
2d ago
Indexed

Overview

The Jupyter MCP Server developed by Datalayer allows AI models to connect and manage Jupyter notebooks in real-time. It provides a comprehensive set of tools for notebook management, cell operations, and execution, with multimodal output support and JupyterLab integration. The server maintains context awareness across entire notebooks and works with any MCP client such as Claude Desktop, Cursor, and Windsurf.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:AI assistants analyzing and executing code in Jupyter notebooks
you:Automated notebook management and cell execution workflows
you:Real-time collaboration between AI systems and human notebook users
you:What Jupyter deployments are compatible with this MCP server?
you:How does the server handle notebook context awareness?

When to choose this

Choose Jupyter MCP Server if you need AI to interact with Jupyter notebooks in real-time, especially if you're already using Jupyter for data analysis or machine learning workflows.

When NOT to choose this

Avoid if you need highly customized Jupyter extensions beyond what's provided, or if you're not using Jupyter notebooks for your workflow.

Tools this server exposes

12 tools extracted from the README
  • list_files

    List files and directories in the Jupyter server's file system.

  • list_kernels

    List all available and running kernel sessions on the Jupyter server.

  • connect_to_jupyter

    Connect to a Jupyter server dynamically without restarting the MCP server.

  • use_notebook

    Connect to a notebook file, create a new one, or switch between notebooks.

  • list_notebooks

    List all notebooks available on the Jupyter server and their status.

  • restart_notebook

    Restart the kernel for a specific managed notebook.

  • unuse_notebook

    Disconnect from a specific notebook and release its resources.

  • read_notebook

    Read notebook cells source content with brief or detailed format options.

  • read_cell

    Read the full content (Metadata, Source and Outputs) of a single cell.

  • insert_cell

    Insert a new code or markdown cell at a specified position.

  • delete_cell

    Delete a cell at a specified index.

  • execute_cell

    Execute a cell with timeout, supports multimodal output including images.

Comparable tools

jupyter-ainbconvertnotebooklmjupyterlab-mcp

Installation

# Install required dependencies
pip install jupyterlab==4.4.1 jupyter-collaboration==4.0.2 jupyter-mcp-tools>=0.1.4 ipykernel pycrdt

# Start JupyterLab
jupyter lab --port 8888 --IdentityProvider.token MY_TOKEN --ip 0.0.0.0

Configure your MCP client (e.g., Claude Desktop):

{
  "mcpServers": {
    "jupyter": {
      "command": "uvx",
      "args": ["jupyter-mcp-server@latest"],
      "env": {
        "JUPYTER_URL": "http://localhost:8888",
        "JUPYTER_TOKEN": "MY_TOKEN",
        "ALLOW_IMG_OUTPUT": "true"
      }
    }
  }
}

FAQ

What Jupyter deployments are compatible with this MCP server?
The server is compatible with any Jupyter deployment including local servers, JupyterHub, and cloud platforms. It also works with Datalayer hosted notebooks.
How does the server handle notebook context awareness?
The server maintains context awareness across entire notebooks by understanding the complete notebook structure, cell relationships, and execution history to provide more relevant AI interactions.

Compare jupyter-mcp-server with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.