Name | jupyter-mcp-server JSON |
Version |
0.11.0
JSON |
| download |
home_page | None |
Summary | None |
upload_time | 2025-08-01 09:50:05 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
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 conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
keywords |
jupyter
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<!--
~ Copyright (c) 2023-2024 Datalayer, Inc.
~
~ BSD 3-Clause License
-->
[](https://datalayer.io)
[](https://github.com/sponsors/datalayer)
# 🪐✨ Jupyter MCP Server
[](https://pypi.org/project/jupyter-mcp-server)
[](https://smithery.ai/server/@datalayer/jupyter-mcp-server)
<a href="https://mseep.ai/app/datalayer-jupyter-mcp-server">
<img src="https://mseep.net/pr/datalayer-jupyter-mcp-server-badge.png" alt="MseeP.ai Security Assessment Badge" width="100" />
</a>
> 🚨 **BREAKING CHANGE**
> Since version `0.6.0`, the configuration has changed.
> [Read more in the release notes.](https://jupyter-mcp-server.datalayer.tech/releases)
**Jupyter MCP Server** is a [Model Context Protocol](https://modelcontextprotocol.io) (MCP) server implementation that enables **real-time** interaction with 📓 Jupyter Notebooks, allowing AI to edit, document and execute code for data analysis, visualization etc.
Compatible with any Jupyter deployment (local, JupyterHub, ...) and with [Datalayer](https://datalayer.ai/) hosted Notebooks.
## 🚀 Key Features
- ⚡ **Real-time control:** Instantly view notebook changes as they happen.
- 🔁 **Smart execution:** Automatically adjusts when a cell run fails thanks to cell output feedback.
- 🤝 **MCP-Compatible:** Works with any MCP client, such as Claude Desktop, Cursor, Windsurf, and more.

🛠️ This MCP offers multiple tools such as `insert_execute_code_cell`, `append_markdown_cell`, `get_notebook_info`, `read_cell`, and more, enabling advanced interactions with Jupyter notebooks. Explore our [tools documentation](https://jupyter-mcp-server.datalayer.tech/tools) to learn about all the tools powering Jupyter MCP Server.
## 🏁 Getting Started
For comprehensive setup instructions—including `Streamable HTTP` transport and advanced configuration—check out [our documentation](https://jupyter-mcp-server.datalayer.tech/). Or, get started quickly with `JupyterLab` and `stdio` transport here below.
### 1. Set Up Your Environment
```bash
pip install jupyterlab==4.4.1 jupyter-collaboration==4.0.2 ipykernel
pip uninstall -y pycrdt datalayer_pycrdt
pip install datalayer_pycrdt==0.12.17
```
### 2. Start JupyterLab
```bash
# make jupyterlab
jupyter lab --port 8888 --IdentityProvider.token MY_TOKEN --ip 0.0.0.0
```
### 3. Configure Your Preferred MCP Client
> [!NOTE]
>
> Ensure the `port` of the `DOCUMENT_URL` and `RUNTIME_URL` match those used in the `jupyter lab` command.
>
> The `DOCUMENT_ID` which is the path to the notebook you want to connect to, should be relative to the directory where JupyterLab was started.
>
> In a basic setup, `DOCUMENT_URL` and `RUNTIME_URL` are the same. `DOCUMENT_TOKEN`, and `RUNTIME_TOKEN` are also the same.
#### MacOS and Windows
```json
{
"mcpServers": {
"jupyter": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DOCUMENT_URL",
"-e",
"DOCUMENT_TOKEN",
"-e",
"DOCUMENT_ID",
"-e",
"RUNTIME_URL",
"-e",
"RUNTIME_TOKEN",
"datalayer/jupyter-mcp-server:latest"
],
"env": {
"DOCUMENT_URL": "http://host.docker.internal:8888",
"DOCUMENT_TOKEN": "MY_TOKEN",
"DOCUMENT_ID": "notebook.ipynb",
"RUNTIME_URL": "http://host.docker.internal:8888",
"RUNTIME_TOKEN": "MY_TOKEN"
}
}
}
}
```
#### Linux
```json
{
"mcpServers": {
"jupyter": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DOCUMENT_URL",
"-e",
"DOCUMENT_TOKEN",
"-e",
"DOCUMENT_ID",
"-e",
"RUNTIME_URL",
"-e",
"RUNTIME_TOKEN",
"--network=host",
"datalayer/jupyter-mcp-server:latest"
],
"env": {
"DOCUMENT_URL": "http://localhost:8888",
"DOCUMENT_TOKEN": "MY_TOKEN",
"DOCUMENT_ID": "notebook.ipynb",
"RUNTIME_URL": "http://localhost:8888",
"RUNTIME_TOKEN": "MY_TOKEN"
}
}
}
}
```
For detailed instructions on configuring various MCP clients—including [Claude Desktop](https://jupyter-mcp-server.datalayer.tech/clients/claude_desktop), [VS Code](https://jupyter-mcp-server.datalayer.tech/clients/vscode), [Cursor](https://jupyter-mcp-server.datalayer.tech/clients/cursor), [Cline](https://jupyter-mcp-server.datalayer.tech/clients/cline), and [Windsurf](https://jupyter-mcp-server.datalayer.tech/clients/windsurf) — see the [Clients documentation](https://jupyter-mcp-server.datalayer.tech/clients).
## 📚 Resources
Looking for blog posts, videos, or other materials about Jupyter MCP Server?
👉 Visit the [Resources section](https://jupyter-mcp-server.datalayer.tech/resources).
Raw data
{
"_id": null,
"home_page": null,
"name": "jupyter-mcp-server",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "Jupyter",
"author": null,
"author_email": "Datalayer <info@datalayer.io>",
"download_url": null,
"platform": null,
"description": "<!--\n ~ Copyright (c) 2023-2024 Datalayer, Inc.\n ~\n ~ BSD 3-Clause License\n-->\n\n[](https://datalayer.io)\n\n[](https://github.com/sponsors/datalayer)\n\n# \ud83e\ude90\u2728 Jupyter MCP Server\n\n[](https://pypi.org/project/jupyter-mcp-server)\n[](https://smithery.ai/server/@datalayer/jupyter-mcp-server)\n<a href=\"https://mseep.ai/app/datalayer-jupyter-mcp-server\">\n<img src=\"https://mseep.net/pr/datalayer-jupyter-mcp-server-badge.png\" alt=\"MseeP.ai Security Assessment Badge\" width=\"100\" />\n</a>\n\n> \ud83d\udea8 **BREAKING CHANGE**\n> Since version `0.6.0`, the configuration has changed.\n> [Read more in the release notes.](https://jupyter-mcp-server.datalayer.tech/releases)\n\n**Jupyter MCP Server** is a [Model Context Protocol](https://modelcontextprotocol.io) (MCP) server implementation that enables **real-time** interaction with \ud83d\udcd3 Jupyter Notebooks, allowing AI to edit, document and execute code for data analysis, visualization etc.\n\nCompatible with any Jupyter deployment (local, JupyterHub, ...) and with [Datalayer](https://datalayer.ai/) hosted Notebooks.\n\n## \ud83d\ude80 Key Features\n\n- \u26a1 **Real-time control:** Instantly view notebook changes as they happen.\n- \ud83d\udd01 **Smart execution:** Automatically adjusts when a cell run fails thanks to cell output feedback.\n- \ud83e\udd1d **MCP-Compatible:** Works with any MCP client, such as Claude Desktop, Cursor, Windsurf, and more.\n\n\n\n\ud83d\udee0\ufe0f This MCP offers multiple tools such as `insert_execute_code_cell`, `append_markdown_cell`, `get_notebook_info`, `read_cell`, and more, enabling advanced interactions with Jupyter notebooks. Explore our [tools documentation](https://jupyter-mcp-server.datalayer.tech/tools) to learn about all the tools powering Jupyter MCP Server.\n\n## \ud83c\udfc1 Getting Started\n\nFor comprehensive setup instructions\u2014including `Streamable HTTP` transport and advanced configuration\u2014check out [our documentation](https://jupyter-mcp-server.datalayer.tech/). Or, get started quickly with `JupyterLab` and `stdio` transport here below.\n\n### 1. Set Up Your Environment\n\n```bash\npip install jupyterlab==4.4.1 jupyter-collaboration==4.0.2 ipykernel\npip uninstall -y pycrdt datalayer_pycrdt\npip install datalayer_pycrdt==0.12.17\n```\n\n### 2. Start JupyterLab\n\n```bash\n# make jupyterlab\njupyter lab --port 8888 --IdentityProvider.token MY_TOKEN --ip 0.0.0.0\n```\n\n### 3. Configure Your Preferred MCP Client\n\n> [!NOTE]\n>\n> Ensure the `port` of the `DOCUMENT_URL` and `RUNTIME_URL` match those used in the `jupyter lab` command.\n>\n> The `DOCUMENT_ID` which is the path to the notebook you want to connect to, should be relative to the directory where JupyterLab was started.\n>\n> In a basic setup, `DOCUMENT_URL` and `RUNTIME_URL` are the same. `DOCUMENT_TOKEN`, and `RUNTIME_TOKEN` are also the same.\n\n#### MacOS and Windows\n\n```json\n{\n \"mcpServers\": {\n \"jupyter\": {\n \"command\": \"docker\",\n \"args\": [\n \"run\",\n \"-i\",\n \"--rm\",\n \"-e\",\n \"DOCUMENT_URL\",\n \"-e\",\n \"DOCUMENT_TOKEN\",\n \"-e\",\n \"DOCUMENT_ID\",\n \"-e\",\n \"RUNTIME_URL\",\n \"-e\",\n \"RUNTIME_TOKEN\",\n \"datalayer/jupyter-mcp-server:latest\"\n ],\n \"env\": {\n \"DOCUMENT_URL\": \"http://host.docker.internal:8888\",\n \"DOCUMENT_TOKEN\": \"MY_TOKEN\",\n \"DOCUMENT_ID\": \"notebook.ipynb\",\n \"RUNTIME_URL\": \"http://host.docker.internal:8888\",\n \"RUNTIME_TOKEN\": \"MY_TOKEN\"\n }\n }\n }\n}\n```\n\n#### Linux\n\n```json\n{\n \"mcpServers\": {\n \"jupyter\": {\n \"command\": \"docker\",\n \"args\": [\n \"run\",\n \"-i\",\n \"--rm\",\n \"-e\",\n \"DOCUMENT_URL\",\n \"-e\",\n \"DOCUMENT_TOKEN\",\n \"-e\",\n \"DOCUMENT_ID\",\n \"-e\",\n \"RUNTIME_URL\",\n \"-e\",\n \"RUNTIME_TOKEN\",\n \"--network=host\",\n \"datalayer/jupyter-mcp-server:latest\"\n ],\n \"env\": {\n \"DOCUMENT_URL\": \"http://localhost:8888\",\n \"DOCUMENT_TOKEN\": \"MY_TOKEN\",\n \"DOCUMENT_ID\": \"notebook.ipynb\",\n \"RUNTIME_URL\": \"http://localhost:8888\",\n \"RUNTIME_TOKEN\": \"MY_TOKEN\"\n }\n }\n }\n}\n```\n\nFor detailed instructions on configuring various MCP clients\u2014including [Claude Desktop](https://jupyter-mcp-server.datalayer.tech/clients/claude_desktop), [VS Code](https://jupyter-mcp-server.datalayer.tech/clients/vscode), [Cursor](https://jupyter-mcp-server.datalayer.tech/clients/cursor), [Cline](https://jupyter-mcp-server.datalayer.tech/clients/cline), and [Windsurf](https://jupyter-mcp-server.datalayer.tech/clients/windsurf) \u2014 see the [Clients documentation](https://jupyter-mcp-server.datalayer.tech/clients).\n\n## \ud83d\udcda Resources\n\nLooking for blog posts, videos, or other materials about Jupyter MCP Server?\n\n\ud83d\udc49 Visit the [Resources section](https://jupyter-mcp-server.datalayer.tech/resources).\n",
"bugtrack_url": null,
"license": "BSD 3-Clause License\n \n Copyright (c) 2025, Datalayer\n All rights reserved.\n \n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are met:\n \n 1. Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n \n 3. Neither the name of the copyright holder nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.",
"summary": null,
"version": "0.11.0",
"project_urls": {
"Home": "https://github.com/datalayer/jupyter-mcp-server"
},
"split_keywords": [
"jupyter"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "26a025a62dbaebf1af13d4a24ae117bab27edc69981614799ff5d3df9bd76df7",
"md5": "f6ad97456c5646a6b17ba235c0884ff2",
"sha256": "b82991c45de1e1f7a20721043199f332d635ac81c73f9cbf27609079bdb49f92"
},
"downloads": -1,
"filename": "jupyter_mcp_server-0.11.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f6ad97456c5646a6b17ba235c0884ff2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 15424,
"upload_time": "2025-08-01T09:50:05",
"upload_time_iso_8601": "2025-08-01T09:50:05.701034Z",
"url": "https://files.pythonhosted.org/packages/26/a0/25a62dbaebf1af13d4a24ae117bab27edc69981614799ff5d3df9bd76df7/jupyter_mcp_server-0.11.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-01 09:50:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "datalayer",
"github_project": "jupyter-mcp-server",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "jupyter-mcp-server"
}