Cursor Notebook
Model Context Protocol (MCP) server designed to allow AI agents within Cursor to interact with Jupyter Notebook (.ipynb) files
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
Maintainer
Works with
Installation
Manual Installation
npx cursor-notebookConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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-mcpStart 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/notebooksConfigure 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"
}
}
}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"]
}
}
}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/pathCursor 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.
Cursor Notebook Alternatives — Similar Developer Tools Servers
Looking for alternatives to Cursor Notebook? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
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.
Set Up Cursor Notebook in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.