🚀 Jupyter MCP Server
@JosephLin11
🚀 Jupyter MCP Server について
Jupyter MCP (Model Context Protocol) Server - Connect Jupyter notebooks with MCP-enabled applications
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"jupyter-mcp-server-josephlin11": {
"command": "python",
"args": [
"tests/test_image_extraction.py"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is 🚀 Jupyter MCP Server?
This server bridges AI agents (e.g., Claude) with Jupyter notebooks, enabling real‑time code execution, visualization generation, advanced image extraction (PNG/JPEG), and full notebook management through the Model Context Protocol (MCP). It is a fork of Datalayer’s original project, enhanced with improved documentation, error handling, and additional tools.
How to use 🚀 Jupyter MCP Server?
Prerequisites: Python 3.11+, Jupyter Notebook, and a compatible MCP client (e.g., Claude Desktop).
Install: Clone the repository, run pip install -r requirements.txt, then start Jupyter with the provided script (./scripts/start_jupyter.sh).
Configure Claude Desktop by adding the following to claude_desktop_config.json:
{
"mcpServers": {
"jupyter": {
"command": "python",
"args": ["/path/to/your/jupyter-mcp-server/src/jupyter_mcp_server.py"]
}
}
}
Run python3 scripts/get_claude_config.py to generate the correct configuration with current paths.
Key features of 🚀 Jupyter MCP Server
- 18 comprehensive MCP tools for code execution, cell manipulation, and notebook operations.
- Real‑time Jupyter integration via WebSocket for live code execution and kernel management.
- Advanced image extraction – supports PNG and JPEG from matplotlib, seaborn, plotly.
- Full notebook file operations – create, delete, switch, and list notebooks; CRUD on cells.
- Automatic XSRF token management and token‑based authentication for Jupyter servers.
- Robust error handling with fallback modes, logging, and resource cleanup.
Use cases of 🚀 Jupyter MCP Server
- Data visualization pipeline: generate and extract multi‑panel plots (histograms, box plots) using matplotlib/seaborn.
- Scientific computing: create 3D surface plots and complex visualizations, extract images for AI analysis.
- Automated notebook workflows: programmatically add, modify, and reorder markdown/code cells.
- Remote code execution and state persistence: maintain kernel state across AI agent sessions.
- Integrating AI assistants with existing Jupyter environments for real‑time data exploration.
FAQ from 🚀 Jupyter MCP Server
What image formats can be extracted?
PNG and JPEG images are supported. The server extracts base64‑encoded image data from matplotlib, seaborn, and plotly outputs.
What are the runtime requirements?
Python 3.11 or later, a running Jupyter Notebook server, and an MCP‑compatible client (e.g., Claude Desktop). Dependencies are listed in requirements.txt.
How does it handle authentication and security?
It automatically detects and manages XSRF tokens, supports token‑based Jupyter authentication, and implements graceful fallbacks for connection issues.
How does it compare to other Jupyter MCP servers?
This implementation offers 18 tools (vs. 10 or fewer in alternatives), supports both PNG and JPEG image extraction, provides automatic setup, works with all Jupyter versions, and uses WebSocket+HTTP for real‑time execution with automatic XSRF handling.
Where are notebooks stored?
All created notebooks are stored in the notebooks/ directory inside the project folder. The default notebook is mcp_notebook.ipynb.
「データと分析」の他のコンテンツ
PubMed MCP Server
cyanheadsSearch PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms via MCP. STDIO or Streamable HTTP.
MCP Server for Deep Research
reading-plus-aiHubSpot MCP Server
peakmojoA Model Context Protocol (MCP) server that enables AI assistants to interact with HubSpot CRM data, providing built-in vector storage and caching mechanisms help overcome HubSpot API limitations while improving response times.
PubMed Analysis MCP Server
DarkroasterA PubMed MCP server.
Bright Data MCP
luminati-ioA powerful Model Context Protocol (MCP) server that provides an all-in-one solution for public web access.
コメント