jupyter-mcp-server
What it is and what it does
Jupyter MCP Server is a Model Context Protocol server that bridges Jupyter notebooks and AI agents, allowing tools to read, write, and execute code in notebooks in real-time. It exposes MCP tools for notebook management (switching between notebooks, listing kernels), cell operations (reading and executing cells, managing outputs), and code sandbox execution across multiple backends including local Jupyter, Datalayer, Kaggle, Google Colab, and Modal.
The package is built on fastapi and jupyter-server, with observability via opentelemetry-api and opentelemetry-sdk. It can run as a standalone MCP server, as a Jupyter extension, or connect to existing Jupyter deployments. Datalayer hosts a public instance for immediate use without local setup. The primary use case is enabling AI agents to work with notebooks persistently—executing code, handling failures, and switching execution backends on demand.
Use it for:
- Enable AI agents to execute code in local or cloud Jupyter notebooks with real-time feedback and error recovery.
- Route code execution across multiple sandbox backends without changing client code.
- Build multi-notebook workflows where an agent switches between notebooks and manages kernel state automatically.
- Integrate Jupyter execution into an MCP-compatible agent framework for persistent, context-aware data analysis.
- Use the hosted Datalayer MCP endpoint to connect any MCP client to notebooks without running a local server.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
An MCP server that exposes Jupyter notebooks and code execution to AI agents and clients, enabling real-time notebook management, cell execution, and sandbox-backed code runs across local and cloud environments.
Yes, if you use Jupyter with AI agents or need to expose notebook execution via MCP. The package is actively maintained, permissively licensed, has low install friction, and solves a specific gap: real-time agent control of notebooks. Install it locally to connect your Jupyter server, or use the hosted endpoint for immediate integration. No known vulnerabilities as of 2026-08-14.
Install
jupyter-mcp-server on PyPI
pip
pip install jupyter-mcp-serveruv
uv add jupyter-mcp-serverpoetry
poetry add jupyter-mcp-serverInstalling jupyter-mcp-server
Before you install
Low install friction with a pure-Python wheel. Active maintenance (last commit 2026-08-14, 1244 stars) and recent release cycle. Requires Python >=3.10 and 15 runtime dependencies including fastapi, jupyter-server, mcp, and opentelemetry libraries—a substantial but standard stack for Jupyter tooling.
License in practice
BSD 3-Clause License (permissive) allows commercial use, modification, and redistribution with minimal restrictions—only requiring copyright notice and disclaimer retention.
Quickstart
pip install jupyter-mcp-server
from jupyter_mcp_server import JupyterMCPServer
import asyncio
server = JupyterMCPServer()
await server.connect_to_jupyter()
Requires Python >=3.10 and a running Jupyter server instance to connect to; MCP client needed to interact with the server.
Verify before relying
- Whether the package can run standalone or only as a Jupyter extension or external server process.
- Performance characteristics under concurrent notebook and sandbox operations.
- Compatibility matrix with specific Jupyter Server and MCP client versions.
- Whether GPU sandbox variants require additional credentials or setup beyond the package itself.
Package facts
| License | BSD 3-Clause License Copyright (c) 2025, Datalayer All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 15 — code-sandboxes, datalayer-reactor, fastapi, jupyter-collaboration, jupyter-nbmodel-client, jupyter-server-client, jupyter-server-nbmodel, jupyter-server, mcp, opentelemetry-api, opentelemetry-sdk, pycrdt, pydantic, typer, uvicorn |
| Maintenance | actively maintained — 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 92,586/month — #13,441 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: jupyter_mcp_server-1.3.8-py3-none-any.whl
Keywords: Jupyter
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
agent-sandboxA Python SDK for accessing sandbox, shell,…
permissive · top 15,000 on PyPI
jupyter-ai-toolsA Jupyter Server extension that exposes file…
permissive · top 15,000 on PyPI
jupyter-mcp-toolsExposes JupyterLab commands as MCP (Model…
permissive · top 15,000 on PyPI
jupyter-aiJupyter AI is a JupyterLab extension that…
permissive · top 15,000 on PyPI
jupyter-ai-magicsJupyter AI Magics provides a JupyterLab…
permissive · top 15,000 on PyPI
papermillPapermill parameterizes, executes, and analyzes…
permissive · top 5,000 on PyPI
databricks-mcpProvides helpers and utilities to integrate MCP…
permissive · top 5,000 on PyPI
jupyter-nbmodel-clientProgrammatically interact with live Jupyter…
permissive · top 15,000 on PyPI
notebooklm-mcp-cliProvides CLI and MCP server access to Google…
permissive · top 15,000 on PyPI
jupyterlab-commands-toolkitExposes JupyterLab commands to Python code and…
permissive · top 15,000 on PyPI