Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

PyKernel

БесплатноНе проверен

MCP server that provides a persistent IPython kernel for executing Python code with pre-loaded numpy, pandas, and matplotlib, supporting stateful computation an

GitHubEmbed

Описание

MCP server that provides a persistent IPython kernel for executing Python code with pre-loaded numpy, pandas, and matplotlib, supporting stateful computation and inline visualizations.

README

MCP server to make it possible for an agent to execute python in a Jupyter kernel.

Features

PyKernel provides a persistent IPython kernel environment for executing Python code through the Model Context Protocol. After setting this server up, your agent will be able to:

  • Maintains state between executions - variables, imports, and functions persist across tool calls
  • Pre-loaded scientific stack - comes with numpy, pandas, and matplotlib already imported
  • Rich output support - captures text output, errors, and matplotlib plots
  • Visualizations - inline matplotlib plots rendered as images
  • Package installation - install additional packages on-the-fly with the install_package tool
  • Kernel management - restart the kernel to clear state when needed

Use Cases

  • Quick data analysis and exploration without writing files
  • Iterative computation where you build on previous results
  • Mathematical calculations and statistical analysis
  • Data visualization with matplotlib
  • Testing Python code snippets
  • Prototyping algorithms with maintained state

The kernel automatically handles execution timeouts, captures both stdout and stderr, and provides detailed error tracebacks when code fails.

Test

Just execute:

npx @modelcontextprotocol/inspector uv run src/pykernel_mcp/server.py

Installation

Click the button to install:

Install in Goose

Or install manually:

Go to Advanced settings -> Extensions -> Add custom extension. Name to your liking, use type STDIO, and set the command to uvx pykernel-mcp. Click "Add Extension".

from github.com/DOsinga/pykernel_mcp

Установить PyKernel в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
unyly install pykernel-mcp

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Или настроить вручную

Выполни в терминале:

claude mcp add pykernel-mcp -- uvx pykernel-mcp

FAQ

PyKernel MCP бесплатный?

Да, PyKernel MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для PyKernel?

Нет, PyKernel работает без API-ключей и переменных окружения.

PyKernel — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить PyKernel в Claude Desktop, Claude Code или Cursor?

Открой PyKernel на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare PyKernel with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development