Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Cursor notebook MCP

MCP server by jbeno Verified · gh:jbeno

Cursor notebook MCP is an MCP server that lets AI agents in Cursor read and edit Jupyter Notebook (.ipynb) files. It restricts operations to user-defined directories and offers tools for cells, metadata, outputs and export.

  • Score 51
  • 161 stars
  • NOASSERTION
  • Updated

Install Cursor notebook MCP

Built from the published package, never by AI.

claude mcp add cursor-notebook-mcp -- uvx cursor-notebook-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Cursor notebook MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the cursor-notebook-mcp block.

About

Cursor notebook MCP is a Model Context Protocol server that lets AI agents inside Cursor interact with Jupyter Notebook (.ipynb) files. It was created because, as of Cursor version 0.50.5 in Agent mode, the model could not edit notebook cells from the chat pane. The server uses nbformat to manipulate notebook structures and restricts operations to user-defined directories. It also uses nbconvert to export notebooks to formats such as Python scripts and HTML.

The server exposes tools for creating, reading, editing, splitting, merging and exporting notebooks, plus outline and search helpers. It supports stdio, Streamable HTTP and SSE transports. The author notes it can also be used with VS Code (Insiders) or Claude Code. It is aimed at people who edit Jupyter notebooks with AI agents in Cursor or other MCP clients.

Written from the project's README and checked against it.

Tools it gives your assistant

  • notebook_createCreates a new, empty notebook file.
  • notebook_add_cellAdds a new code or markdown cell after a specified index.
  • notebook_edit_cellReplaces the source content of a specific cell.
  • notebook_split_cellSplits a cell into two at a specified line number.
  • notebook_merge_cellsMerges a cell with the cell immediately following it.
  • notebook_bulk_add_cellsAdds multiple cells to a notebook in a single operation.
  • notebook_searchSearches cells for a keyword and shows matches with contextual snippets.
  • notebook_get_outlineShows cell numbers with major headings or functions and line counts.
  • notebook_validateValidates the notebook structure against the nbformat schema.
  • notebook_exportExports the notebook to another format, such as python or html, using nbconvert.

What you need

  • Python 3.10 or later
  • Cursor, or another MCP-capable client such as VS Code (Insiders) or Claude Code
  • Pandoc (optional, needed for many non-HTML export formats)
  • LaTeX with XeLaTeX recommended (optional, needed for PDF export)

Try asking

  • Create a new notebook called analysis.ipynb in my project folder
  • Search my notebook for the cell that loads the dataset and show it
  • Export this notebook to a Python script

Good to know

  • Operations are restricted to user-defined directories.
  • PDF export needs Pandoc and LaTeX installed separately.
  • SSE is considered a legacy transport; Streamable HTTP is preferred.
  • With HTTP or SSE transports, the server must be running before Cursor connects.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Cursor notebook MCP

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Cursor notebook MCP: common questions

Why was this MCP server created?

The source says it was created because, as of Cursor 0.50.5 in Agent mode, the model could not edit notebooks or notebook cells in response to chat.

Can it be used outside Cursor?

Yes. The author says it can be configured for VS Code (Insiders), Claude Code, or any model or agent that supports MCP.

Does it limit which files the agent can access?

Yes. The server restricts operations to directories the user defines, set with the allow-root option.

How do I install Cursor notebook MCP?

In Claude Code run claude mcp add cursor-notebook-mcp -- uvx cursor-notebook-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Cursor notebook MCP the official server?

Cursor notebook MCP is published by gh:jbeno from its verified domain in the official MCP Registry.

Is Cursor notebook MCP free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is Cursor notebook MCP safe to use?

It scores 51 of 100. Grades: maintenance F, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Cursor notebook MCP?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Cursor notebook MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Cursor notebook MCP Install

Add to stack

Loading.