jupyter-editor-mcp
Provides tools for reading, modifying, and batch editing Jupyter notebook files (.ipynb) including cell operations, metadata management, and notebook validation, without requiring a running Jupyter server.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@jupyter-editor-mcpInsert a markdown cell at the top with a title"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Jupyter Notebook Editor MCP Server
A Model Context Protocol (MCP) server for programmatically editing Jupyter notebooks while preserving their format and structure.
Features
29 specialized tools for notebook manipulation
File-based operations - no Jupyter server required
Format preservation - automatic validation after modifications
Batch operations - modify multiple cells or notebooks at once
Type-safe - full type hints for all operations
Related MCP server: notebook-editor
Installation
One-Click Install
From PyPI
uv tool install jupyter-editor-mcp
jupyter-editor-mcpFrom Source
git clone https://github.com/jsamuel1/jupyter-editor-mcp.git
cd jupyter-editor-mcp
uv venv
uv pip install -e ".[dev]"See INSTALL.md for detailed configuration options.
Usage
With Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"jupyter-editor": {
"command": "jupyter-editor-mcp"
}
}
}Example Interactions
Read a notebook:
"Show me the structure of my notebook.ipynb"Insert a cell:
"Add a markdown cell at the beginning explaining what this notebook does"Batch operations:
"Replace all occurrences of 'old_function' with 'new_function' in all code cells"Multi-notebook:
"Merge analysis.ipynb and visualization.ipynb into combined.ipynb"Tool Categories
Read Operations (4 tools): read_notebook, list_cells, get_cell, search_cells
Cell Modification (5 tools): replace_cell, insert_cell, append_cell, delete_cell, str_replace_in_cell
Metadata Operations (4 tools): get_metadata, update_metadata, set_kernel, list_available_kernels
Batch Operations - Multi-Cell (6 tools): replace_cells_batch, delete_cells_batch, insert_cells_batch, search_replace_all, reorder_cells, filter_cells
Batch Operations - Multi-Notebook (7 tools): merge_notebooks, split_notebook, apply_to_notebooks, search_notebooks, sync_metadata, extract_cells, clear_outputs
Validation (3 tools): validate_notebook, get_notebook_info, validate_notebooks_batch
Development
# Run tests
pytest
# Run tests with coverage
pytest --cov
# Install in development mode
uv pip install -e ".[dev]"Documentation
docs/RESEARCH.md - Technical research and tool specifications
docs/REQUIREMENTS.md - User stories and acceptance criteria
docs/DESIGN.md - Architecture and API design
CONTRIBUTING.md - Contribution guidelines
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceA Model Control Protocol (MCP) server that enables remote programmatic control of Jupyter notebooks, allowing AI assistants and applications to create, edit, and execute notebook cells via SSE protocol.
- Flicense-qualityCmaintenanceA local MCP server for reading, writing, and executing Jupyter notebooks using jupyter_client for direct kernel communication.
- Flicense-qualityDmaintenanceA FastMCP server for loading, editing, searching, and saving Jupyter notebooks (.ipynb) through MCP tools. It maintains a single active notebook session with live cell indices that update as cells are inserted or removed.
- Alicense-qualityDmaintenanceMCP server for Jupyter notebook navigation and editing. Reads .ipynb files directly as JSON, providing efficient tools for reading, searching, and modifying cells without needing a Jupyter server.MIT
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
A MCP server built for developers enabling Git based project management with project and personal…
MCP Server for JFrog, providing tools for development and artifact management.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jsamuel1/jupyter-editor-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server