jupyter-mcp-server — Claude MCP 必备工具中文教程 是 AI Skill Hub 本期精选MCP工具之一。已获得 1.1k 颗 GitHub Star,综合评分 8.4 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
jupyter-mcp-server — Claude MCP 必备工具中文教程 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
jupyter-mcp-server — Claude MCP 必备工具中文教程 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/datalayer/jupyter-mcp-server
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"jupyter-mcp-server---claude-mcp---------": {
"command": "npx",
"args": ["-y", "jupyter-mcp-server"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 jupyter-mcp-server — Claude MCP 必备工具中文教程 执行以下任务... Claude: [自动调用 jupyter-mcp-server — Claude MCP 必备工具中文教程 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"jupyter-mcp-server___claude_mcp_________": {
"command": "npx",
"args": ["-y", "jupyter-mcp-server"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
The server provides a rich set of tools for interacting with Jupyter notebooks, categorized as follows. For more details on each tool, their parameters, and return values, please refer to the official Tools documentation.
| Name | Description |
|---|---|
list_files | List files and directories in the Jupyter server's file system. |
list_kernels | List all available and running kernel sessions on the Jupyter server. |
connect_to_jupyter | Connect to a Jupyter server dynamically without restarting the MCP server. *Not available when running as Jupyter extension. Useful for switching servers dynamically or avoiding hardcoded configuration.* [Read more](https://jupyter-mcp-server.datalayer.tech/reference/tools/#3-connect_to_jupyter) |
| Name | Description |
|---|---|
use_notebook | Connect to a notebook file, create a new one, or switch between notebooks. |
list_notebooks | List all notebooks available on the Jupyter server and their status |
restart_notebook | Restart the kernel for a specific managed notebook. |
unuse_notebook | Disconnect from a specific notebook and release its resources. |
read_notebook | Read notebook cells source content with brief or detailed format options. |
| Name | Description |
|---|---|
read_cell | Read the full content (Metadata, Source and Outputs) of a single cell. |
insert_cell | Insert a new code or markdown cell at a specified position. |
delete_cell | Delete a cell at a specified index. |
move_cell | Move a cell from one position to another within a notebook. |
overwrite_cell_source | Overwrite the source code of an existing cell. |
edit_cell_source | Apply surgical find-and-replace edits to a cell's source without full rewrite. |
execute_cell | Execute a cell with timeout, supports multimodal output including images. |
insert_execute_code_cell | Insert a new code cell and execute it in one step. |
execute_code | Execute code directly in the kernel, supports magic commands and shell commands. |
Available only when JupyterLab mode is enabled. It is enabled by default.
When running in JupyterLab mode, Jupyter MCP Server integrates with jupyter-mcp-tools to expose additional JupyterLab commands as MCP tools. By default, the following tools are enabled:
| Name | Description |
|---|---|
notebook_run-all-cells | Execute all cells in the current notebook sequentially |
notebook_get-selected-cell | Get information about the currently selected cell |
<details> <summary><strong>📚 Learn how to customize additional tools</strong></summary>
You can now customize which tools from jupyter-mcp-tools are available using the allowed_jupyter_mcp_tools configuration parameter. This allows you to enable additional notebook operations, console commands, file management tools, and more.
```bash
The server also supports prompt feature of MCP, providing a easy way for user to interact with Jupyter notebooks.
| Name | Description |
|---|---|
jupyter-cite | Cite specific cells from specified notebook (like @ in Coding IDE or CLI) |
For more details on each prompt, their input parameters, and return content, please refer to the official Prompt documentation.
Compatible with any Jupyter deployment (local, JupyterHub, ...) and with Datalayer hosted Notebooks.
For comprehensive setup instructions—including Streamable HTTP transport, running as a Jupyter Server extension and advanced configuration—check out our documentation. Or, get started quickly with JupyterLab and STDIO transport here below.
A hosted deployment is available on Fronteir AI.
jupyter lab --port 4040 --IdentityProvider.token MY_TOKEN --JupyterMCPServerExtensionApp.allowed_jupyter_mcp_tools="notebook_run-all-cells,notebook_get-selected-cell,notebook_append-execute,console_create" ```
For the complete list of available tools and detailed configuration instructions, please refer to the Additional Tools documentation.
</details>
pip install jupyterlab==4.4.1 jupyter-collaboration==4.0.2 jupyter-mcp-tools>=0.1.4 ipykernel pycrdt
[!TIP] To confirm your environment is correctly configured: 1. Open a notebook in JupyterLab 2. Type some content in any cell (code or markdown) 3. Observe the tab indicator: you should see an "×" appear next to the notebook name, indicating unsaved changes 4. Wait a few seconds—the "×" should automatically change to a "●" without manually saving This automatic saving behavior confirms that the real-time collaboration features are working properly, which is essential for MCP server integration.
jupyter lab --port 8888 --IdentityProvider.token MY_TOKEN --ip 0.0.0.0 ```
[!NOTE] If you are running notebooks through JupyterHub instead of JupyterLab as above, refer to our JupyterHub setup guide.
Next, configure your MCP client to connect to the server. We offer two primary methods—choose the one that best fits your needs:
uvx (Recommended for Quick Start): A lightweight and fast method using uv. Ideal for local development and first-time users.Docker (Recommended for Production): A containerized approach that ensures a consistent and isolated environment, perfect for production or complex setups.<details> <summary><b>📦 Using uvx (Quick Start)</b></summary>
First, install uv:
```bash pip install uv uv --version
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ BSD 3-Clause — 宽松协议,可商用修改分发,禁止使用原作者名称进行背书宣传。
经综合评估,jupyter-mcp-server — Claude MCP 必备工具中文教程 在MCP工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | jupyter-mcp-server |
| 原始描述 | 🪐 🔧 Model Context Protocol (MCP) Server for Jupyter. |
| Topics | aijupytermcpmcp-servertools |
| GitHub | https://github.com/datalayer/jupyter-mcp-server |
| License | BSD-3-Clause |
| 语言 | Python |
收录时间:2026-05-22 · 更新时间:2026-05-22 · License:BSD-3-Clause · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端