Interact with Jupyter notebooks, allowing for code execution, cell manipulation, and notebook management.
A FastMCP server that provides tools for interacting with Jupyter notebooks. Built using the FastMCP framework.
Make sure uv is installed. To use this server with cursor, claude desktop or any other MCP client, add the following to your mcp config file:
{
"mcpServers": {
"jupyter-notebook": {
"command": "uv",
"args": [
"run",
"--with",
"fastmcp>=2.8.1",
"python",
"<absolute_path_to_jupyter_mcp_server>/main.py"
]
}
}
}
Run the test client to see all functionality in action:
python test_client.py
fastmcp
- MCP server frameworkThis MCP server provides the following tools for working with Jupyter notebooks:
read_notebook_cells
Read cells from a Jupyter notebook with optional filtering by cell type.
Parameters:
notebook_path
(str): Path to the .ipynb filecell_type
(optional str): Filter by cell type ('code', 'markdown', 'raw')add_cell_to_notebook
Add a new cell to a Jupyter notebook at a specified position.
Parameters:
notebook_path
(str): Path to the .ipynb filecell_content
(str): Content of the new cellcell_type
(str, default="code"): Type of cell ('code', 'markdown', 'raw')position
(optional int): Position to insert cell (default: append to end)metadata
(optional dict): Optional cell metadataexecute_notebook_cell
Execute a specific cell in a Jupyter notebook.
Parameters:
notebook_path
(str): Path to the .ipynb filecell_index
(int): Index of the cell to execute (0-based)kernel_name
(str, default="python3"): Jupyter kernel to usetimeout
(int, default=30): Execution timeout in secondsexecute_entire_notebook
Execute all code cells in a Jupyter notebook sequentially.
Parameters:
notebook_path
(str): Path to the .ipynb filekernel_name
(str, default="python3"): Jupyter kernel to usetimeout_per_cell
(int, default=30): Timeout per cell in secondsstop_on_error
(bool, default=True): Whether to stop execution if a cell failsget_notebook_info
Get basic information about a Jupyter notebook.
Parameters:
notebook_path
(str): Path to the .ipynb fileToken-efficient access to OpenAPI/Swagger specs via MCP Resources
A server for integrating with the Google Gemini CLI to perform AI-powered tasks.
Generate images using Baidu's iRAG API through a standardized MCP interface.
A demonstration tool showcasing potential security attack vectors against the Model Control Protocol (MCP).
Perform accessibility audits on webpages using the axe-core engine to identify and help fix a11y issues.
Transforms linear AI reasoning into structured, auditable thought graphs, enabling language models to externalize their reasoning process as a directed acyclic graph (DAG).
Integrates LLM applications with documentation sources using the Model Context Protocol.
A Binary Ninja plugin, MCP server, and bridge that seamlessly integrates Binary Ninja with your favorite MCP client.
Interact with your crash reporting and real using monitoring data on your Raygun account
A FastAPI-based gateway for the Model Context Protocol (MCP) designed to unify and scale AI toolchains.