🚀 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.
数据与分析 分类下的更多 MCP 服务器
mcp-simple-arxiv
andybrandtTool to work with arXiv, provide LLM with ability to search and read papers from there
MCP Simple PubMed
andybrandtMCP server for searching and querying PubMed medical papers/research database
Bright Data MCP
luminati-ioA powerful Model Context Protocol (MCP) server that provides an all-in-one solution for public web access.
Google Analytics MCP Server
surendranbGoogle Analytics 4 data to AI agents, agentic workflows, and MCP clients. Give agents analysis-ready access to website traffic, user behavior, and performance data with schema discovery, server-side aggregation, and safe defaults that reduce data wrangling.
PubMed Analysis MCP Server
DarkroasterA PubMed MCP server.
评论