🪐 ✨ Jupyter MCP サーバー
Jupyter MCP サーバーは、任意の JupyterLab で実行されている 📓 Jupyter ノートブックとのやり取りを提供するモデル コンテキスト プロトコル(MCP) サーバー実装です (💻 ローカル JupyterLab でも動作します)。
JupyterLabを起動する
以下のパッケージがインストールされていることを確認してください。Jupyter Real Time Collaborationにより、ノートブックに加えられた変更内容を確認できるため、コラボレーションパッケージが必要です。
次に、以下のコマンドでJupyterLabを起動します。
make jupyterlab
を実行することもできます。
[!注記]
--ip
は0.0.0.0
に設定され、Docker コンテナで実行されている MCP サーバーがローカルの JupyterLab にアクセスできるようになります。
Claude Desktop で使用する
Claude Desktop は、macOS および Windows 向けにこのページからダウンロードできます。
Linuxでは、 nixベースのこの非公式ビルドスクリプトを使用することで成功しました。
これを Claude Desktop で使用するには、 claude_desktop_config.json
に次のコードを追加します (詳細については、 MCP ドキュメント Web サイトを参照してください)。
[!重要]
SERVER_URL
とTOKEN
のポートが、jupyter lab
コマンドで使用されているポートと一致していることを確認します。
NOTEBOOK_PATH
は、JupyterLab が起動されたディレクトリを基準にする必要があります。
macOSとWindowsでのClaudeの構成
LinuxでのClaudeの設定
コンポーネント
ツール
サーバーは現在 2 つのツールを提供しています:
add_execute_code_cell
- Jupyter ノートブックにコード セルを追加して実行します。
- 入力:
cell_content
(文字列): 実行されるコード。
- 戻り値: セル出力。
add_markdown_cell
- Jupyter ノートブックにマークダウン セルを追加します。
- 入力:
cell_content
(文字列): Markdown コンテンツ。
- 戻り値: 成功メッセージ。
建物
Docker イメージをソースからビルドできます。
Smithery経由でインストール
Smithery経由で Claude Desktop 用の Jupyter MCP サーバーを自動的にインストールするには:
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
モデル コンテキスト プロトコルを介して Jupyter ノートブックとのやり取りを可能にし、JupyterLab 環境内でのコード実行とマークダウン挿入をサポートします。
Related Resources
Related MCP Servers
- -securityAlicense-qualityA comprehensive toolkit that enhances LLM capabilities through the Model Context Protocol, allowing LLMs to interact with external services including command-line operations, file management, Figma integration, and audio processing.Last updated -17PythonApache 2.0
- -securityFlicense-qualityAllows LLM tools like Claude Desktop and Cursor AI to access and summarize code files through a Model Context Protocol server, providing structured access to codebase content without manual copying.Last updated -TypeScript
- -security-license-qualityA Python implementation of the Model Context Protocol that allows applications to provide standardized context for LLMs, enabling creation of servers that expose data and functionality to LLM applications through resources, tools, and prompts.Last updated -PythonMIT License
- -securityAlicense-qualityA Model Context Protocol server implementation that provides geospatial analysis tools in Jupyter notebooks, particularly for downloading NASA Earth data granules.Last updated -2PythonBSD 3-Clause