Cursor Notebook

v1.0.0Developer Toolsstable

Model Context Protocol (MCP) server designed to allow AI agents within Cursor to interact with Jupyter Notebook (.ipynb) files

cursoripynbjupyterjupyter-notebookmcp
Share:
159
Stars
0
Downloads
0
Weekly
0/5

What is Cursor Notebook?

Cursor Notebook is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol (mcp) server designed to allow ai agents within cursor to interact with jupyter notebook (.ipynb) files

Model Context Protocol (MCP) server designed to allow AI agents within Cursor to interact with Jupyter Notebook (.ipynb) files

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Model Context Protocol (MCP) server designed to allow AI age

Use Cases

Model Context Protocol (MCP) server designed to allow AI agents within Cursor to
jbeno

Maintainer

LicenseNOASSERTION
Languagepython
Versionv1.0.0
UpdatedMay 18, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx cursor-notebook

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Cursor Notebook

Cursor Notebook MCP Server is a Python-based MCP server that enables AI agents inside Cursor (and other MCP clients) to fully interact with Jupyter Notebook (.ipynb) files through 30+ dedicated tools. It supports creating, reading, editing, and restructuring notebooks — adding, deleting, moving, splitting, and merging cells — as well as searching across notebooks, exporting to Python or HTML, and accessing notebooks on remote servers via SFTP. Note that it does not execute cells; it manages notebook structure and content for AI-assisted authoring.

Prerequisites

  • Python 3.9 or higher with pip or uv package manager
  • Cursor IDE (primary target) or any MCP-compatible client
  • Jupyter notebooks (.ipynb files) in a local or SFTP-accessible directory
  • Optional: Pandoc and LaTeX installed for PDF export capability
1

Install cursor-notebook-mcp via pip

Install the package from PyPI. Using uv is also supported for faster installation.

pip install cursor-notebook-mcp
# or with uv:
uv pip install cursor-notebook-mcp
2

Start the MCP server with an allowed root directory

Launch the server in streamable-http mode (recommended), specifying the directory where your notebooks live. The --allow-root flag restricts operations to that directory for safety.

cursor-notebook-mcp --transport streamable-http --host 127.0.0.1 --port 8080 --allow-root /path/to/your/notebooks
3

Configure Cursor to connect to the server

Add the MCP server to Cursor's configuration file at ~/.cursor/mcp.json. Cursor connects over HTTP to the running server.

{
  "mcpServers": {
    "notebook_mcp": {
      "url": "http://127.0.0.1:8080/mcp"
    }
  }
}
4

Or configure Claude Desktop using stdio transport

For Claude Desktop, run the server in stdio mode so Claude Desktop can launch it as a subprocess.

{
  "mcpServers": {
    "notebook_mcp": {
      "command": "cursor-notebook-mcp",
      "args": ["--transport", "stdio", "--allow-root", "/path/to/your/notebooks"]
    }
  }
}
5

Configure remote notebook access via SFTP (optional)

To work with notebooks on a remote server, add the --sftp-root flag with your SSH connection string.

cursor-notebook-mcp --transport streamable-http --port 8080 --sftp-root user@hostname:/remote/notebooks/path

Cursor Notebook Examples

Client configuration

Cursor IDE configuration for connecting to a locally-running Cursor Notebook MCP server over HTTP.

{
  "mcpServers": {
    "notebook_mcp": {
      "url": "http://127.0.0.1:8080/mcp"
    }
  }
}

Prompts to try

Use these prompts in Cursor or Claude to work with Jupyter notebooks through the MCP server.

- "Create a new Jupyter notebook called data_analysis.ipynb in my notebooks folder"
- "Show me the outline of exploration.ipynb — list all headings and function definitions"
- "Search for all cells in my notebooks that use pandas.read_csv"
- "Add a markdown cell explaining the next code block after cell 3 in analysis.ipynb"
- "Export model_training.ipynb to a Python script"

Troubleshooting Cursor Notebook

Server refuses to access a notebook outside the allowed root

The --allow-root flag restricts all file operations to the specified directory. Ensure your notebook paths are under that directory, or restart the server with a broader --allow-root path that covers all notebooks you need.

PDF export fails with conversion errors

PDF export requires Pandoc and a LaTeX distribution (e.g., TeX Live or MacTeX) to be installed. Install them with: 'brew install pandoc mactex' on macOS, or 'apt install pandoc texlive-full' on Ubuntu.

Cursor IDE shows the MCP server as disconnected

Ensure the server process is running before opening Cursor. Start it in a terminal first with the streamable-http transport on port 8080, then confirm the URL in ~/.cursor/mcp.json matches. Check server logs with --log-level DEBUG for connection errors.

Frequently Asked Questions about Cursor Notebook

What is Cursor Notebook?

Cursor Notebook is a Model Context Protocol (MCP) server that model context protocol (mcp) server designed to allow ai agents within cursor to interact with jupyter notebook (.ipynb) files It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Cursor Notebook?

Follow the installation instructions on the Cursor Notebook GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Cursor Notebook?

Cursor Notebook works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Cursor Notebook free to use?

Yes, Cursor Notebook is open source and available under the NOASSERTION license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "cursor-notebook": { "command": "npx", "args": ["-y", "cursor-notebook"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Cursor Notebook?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides