Jupyter Kernel Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Jupyter Kernel Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A Model Context Protocol (MCP) server that provides stateful Jupyter kernel development with multi-language support (Python, TypeScript, JavaScript) for AI agents and assistants.
With _Jupyter Kernel MCP_ you can execute Python, TypeScript, and JavaScript code in persistent, isolated environments that maintain state between executions—perfect for AI agents performing complex data analysis and development workflows.
_Jupyter Kernel MCP_ helps you build stateful AI agent workflows that can load datasets, perform transformations, and analyze results across multiple interactions without losing variables or computed state.
Unlike traditional stateless code execution, _Jupyter Kernel MCP_ preserves variables, imports, and computed results between AI agent messages, enabling sophisticated multi-step data science workflows.
This project is intended for AI developers, data scientists, and automation engineers who want to build intelligent agents that can perform stateful data analysis and complex computational workflows.
Perfect for:
Before using Jupyter Kernel MCP, ensure you have:
Get started with Jupyter Kernel MCP by installing the package and adding it to your MCP client.
#### From PyPI (Recommended)
Install using pip:
pip install jupyter-kernel-mcpOr using uv:
uv add jupyter-kernel-mcp#### From GitHub (Development Version)
To install the latest development version directly from GitHub:
uv tool install git+https://github.com/codewithcheese/jupyter-kernel-mcp.git#### Verify Installation
jupyter-kernel-mcp --help#### Optional: Install TSLAB for TypeScript/JavaScript Support
To enable TypeScript and JavaScript kernels:
# Install TSLAB globally
npm install -g tslab
# or with pnpm
pnpm install -g tslab
# Install kernel specs
tslab install
# Verify kernels are available
jupyter kernelspec listYou should see tslab and jslab in the kernel list.
claude mcp add jupyter-kernel jupyter-kernel-mcp claude mcp listmcp_config.json): {
"servers": {
"jupyter-kernel": {
"command": "jupyter-kernel-mcp"
}
}
}No manual startup required - the server launches when your MCP client connects.
In Claude Code or your MCP client:
Please start a new Jupyter kernel for data analysis Load this dataset and show me the first few rows:
import pandas as pd
df = pd.read_csv('data.csv')
df.head() Now group the data by category and calculate the mean valuesThe df variable persists from the previous execution!
| Tool | Description |
|---|---|
start_kernel | Create a new Jupyter kernel for Python, TypeScript, or JavaScript |
execute_code | Execute code in any language kernel (auto-routes based on kernel type) |
list_kernels | Show all active kernels with their languages |
list_variables | Display variables in a kernel's namespace |
get_kernel_status | Get detailed kernel information |
stop_kernel | Stop and remove a specific kernel |
reset_kernel | Reset a kernel (clears all variables) |
<table> <tr> <td><strong>Issue</strong></td> <td><strong>Solution</strong></td> </tr> <tr> <td>Server won't start - "No module named 'jupyter_client'"</td> <td>Install dependencies: <code>pip install jupyter-client</code></td> </tr> <tr> <td>Kernel creation fails</td> <td>Ensure Python 3.10+ is installed and accessible</td> </tr> <tr> <td>MCP client can't find server</td> <td>Verify installation: <code>which jupyter-kernel-mcp</code></td> </tr> <tr> <td>Variables not persisting between executions</td> <td>Ensure you're using the same kernel_id for related executions</td> </tr> <tr> <td>TypeScript/JavaScript kernel creation fails</td> <td>Install TSLAB: <code>npm install -g tslab && tslab install</code></td> </tr> <tr> <td>"tslab command not found" error</td> <td>Ensure Node.js is installed and TSLAB is in PATH</td> </tr> <tr> <td>TypeScript compilation errors</td> <td>Check TypeScript syntax - TSLAB uses strict type checking</td> </tr> </table>
Other troubleshooting resources:
We welcome contributions! Please see our Contributing Guide for details on:
For more information:
Need assistance? Here's how to get support:
Jupyter Kernel MCP is licensed under the MIT License.
Built with ❤️ for the AI agent development community
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.