Jupyter Earth MCP Server

Integrations

  • Offers containerized deployment of the MCP server for easy integration with Claude Desktop

  • Provides tools for geospatial analysis in Jupyter notebooks, including adding code cells for downloading and analyzing Earth data

  • Enables downloading Earth data granules from NASA Earth Data, with support for filtering by dataset name, temporal range, and bounding box coordinates

🌎 ✨ Jupyter Earth MCP サーバー

🌍 Jupyter Earth MCP サーバーは、📓 Jupyter ノートブックでの🗺️ 地理空間分析用のツールセットを提供するモデル コンテキスト プロトコル(MCP) サーバー実装です。

次のデモでは、Earthdata MCP サーバーを使用して NASA Earthdata 上のデータセットとデータ グラニュールを検索し、この MCP サーバーを使用して Jupyter にデータをダウンロードし、 jupyter-mcp-server を使用してさらに分析を実行します。

JupyterLabを起動する

以下のパッケージがインストールされていることを確認してください。Jupyter Real Time Collaborationにより、ノートブックに加えられた変更内容を確認できるため、コラボレーションパッケージが必要です。

pip install jupyterlab==4.4.1 jupyter-collaboration==4.0.2 ipykernel pip uninstall -y pycrdt datalayer_pycrdt pip install datalayer_pycrdt==0.12.15

次に、以下のコマンドでJupyterLabを起動します。

jupyter lab --port 8888 --IdentityProvider.token MY_TOKEN --ip 0.0.0.0

make jupyterlabを実行することもできます。

[!注記]

--ip0.0.0.0に設定され、Docker コンテナで実行されている MCP サーバーがローカルの JupyterLab にアクセスできるようになります。

Claude Desktop で使用する

Claude Desktop は、macOS および Windows 向けにこのページからダウンロードできます。

Linuxでは、 nixベースのこの非公式ビルドスクリプトを使用することで成功しました。

# ⚠️ UNOFFICIAL # You can also run `make claude-linux` NIXPKGS_ALLOW_UNFREE=1 nix run github:k3d3/claude-desktop-linux-flake \ --impure \ --extra-experimental-features flakes \ --extra-experimental-features nix-command

これを Claude Desktop で使用するには、 claude_desktop_config.jsonに次のコードを追加します (詳細については、 MCP ドキュメント Web サイトを参照してください)。

[!重要]

SERVER_URLTOKENのポートが、 jupyter labコマンドで使用されているポートと一致していることを確認します。

NOTEBOOK_PATHは、JupyterLab が起動されたディレクトリを基準にする必要があります。

macOSとWindowsでのClaudeの構成

{ "mcpServers": { "jupyter-earth": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "SERVER_URL", "-e", "TOKEN", "-e", "NOTEBOOK_PATH", "datalayer/jupyter-earth-mcp-server:latest" ], "env": { "SERVER_URL": "http://host.docker.internal:8888", "TOKEN": "MY_TOKEN", "NOTEBOOK_PATH": "notebook.ipynb" } } } }

LinuxでのClaudeの設定

CLAUDE_CONFIG=${HOME}/.config/Claude/claude_desktop_config.json cat <<EOF > $CLAUDE_CONFIG { "mcpServers": { "jupyter-earth": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "SERVER_URL", "-e", "TOKEN", "-e", "NOTEBOOK_PATH", "--network=host", "datalayer/jupyter-earth-mcp-server:latest" ], "env": { "SERVER_URL": "http://localhost:8888", "TOKEN": "MY_TOKEN", "NOTEBOOK_PATH": "notebook.ipynb" } } } } EOF cat $CLAUDE_CONFIG

コンポーネント

ツール

サーバーは現在 1 つのツールを提供しています:

  1. download_earth_data_granules
  • Jupyter ノートブックにコード セルを追加して、NASA Earth Data から地球データの粒度をダウンロードします。
  • 入力:
    • folder_name (文字列): データを保存するローカル フォルダー名。
    • short_name (文字列): ダウンロードする Earth データセットの短縮名。
    • count (int): ダウンロードするデータ粒度数。
    • temporal (タプル): (オプション) (date_from、date_to) 形式の時間範囲。
    • bounding_box (タプル): (オプション) (lower_left_lon、lower_left_lat、upper_right_lon、upper_right_lat) 形式の境界ボックス。
  • 戻り値: セル出力。

プロンプト

  1. download_analyze_global_sea_level
    • Jupyter で世界の海面データをダウンロードして分析することを依頼します。
    • 戻り値: プロンプトは正しくフォーマットされます。

建物

Docker イメージをソースからビルドできます。

make build-docker
-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

特に NASA 地球データ グラニュルをダウンロードするための、Jupyter ノートブックで地理空間分析ツールを提供するモデル コンテキスト プロトコル サーバー実装。

  1. Start JupyterLab
    1. Use with Claude Desktop
      1. Claude Configuration on macOS and Windows
      2. Claude Configuration on Linux
    2. Components
      1. Tools
      2. Prompts
    3. Building

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol server that provides a standardized interface for AI models to interact with NASA's vast array of data sources including APOD, Mars Rover photos, satellite imagery, and space weather data.
        Last updated -
        24
        104
        23
        TypeScript
        ISC License
        • Apple
        • Linux
      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol server that enables efficient discovery and retrieval of NASA Earth Data for geospatial analysis.
        Last updated -
        10
        Python
        BSD 3-Clause
        • Linux
      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol server that enables managing Terrakube infrastructure through natural language, handling workspace management, variables, modules, and organization operations.
        Last updated -
        16
        22
        1
        TypeScript
        Apache 2.0
      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol server for data wrangling that provides standardized interfaces for data preprocessing, transformation, and analysis tasks including data aggregation and descriptive statistics.
        Last updated -
        1
        Python
        MIT License
        • Linux
        • Apple

      View all related MCP servers

      ID: 0gt36eut74