Jupyter Notebook MCP Server

A FastMCP server that provides tools for interacting with Jupyter notebooks. Built using the [FastMCP framework](https://github.com/jlowin/fastmcp).

Local serverstdioPython

What is the Jupyter Notebook MCP server?

Jupyter Notebook MCP server exists for a simple reason — assistants are far more useful when they can act on Jupyter Notebook directly instead of describing what you should do. A FastMCP server that provides tools for interacting with Jupyter notebooks. Built using the FastMCP framework.

What you get

  • ✅ Read notebook cells with filtering
  • ✅ Add new cells at any position
  • ✅ Execute individual cells
  • ✅ Execute entire notebooks
  • ✅ Get notebook metadata and statistics
  • ✅ Proper error handling and validation

What the assistant can call

Once Jupyter Notebook is connected, these are the calls the assistant has available:

  • Testing — The Testing tool exposed by this server

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Jupyter Notebook's toolset — Testing — is a fair guide to whether it matches your workflow. It is maintained by shwetalsoni; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Jupyter Notebook's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the jupyter notebook mcp server does with a few real requests.

Available tools

ToolWhat it does
TestingThe Testing tool exposed by this server.

How to install the Jupyter Notebook MCP server

{
  "mcpServers": {
    "jupyter-notebook": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "fastmcp>=2.8.1",
        "python",
        "<absolute_path_to_jupyter_mcp_server>/main.py"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use Jupyter Notebook to Testing.

Frequently asked questions

It connects Jupyter Notebook to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Testing) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Jupyter Notebook directly.