MCP.so
ログイン

Wgrib2 Easy MCP Server

@yskmasumoto

基本情報

カテゴリ

ファイルとストレージ

トランスポート

stdio

作者

yskmasumoto

Wgrib2 Easy MCP Server について

An MCP server for executing wgrib2 commands from MCP Client. Designed with a simple approach where converted files are saved to a specific folder.

Wgrib2 Easy MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "wgrib2-easy-mcp": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "-r",
        "requirements.txt"
      ]
    }
  }
}

Wgrib2 Easy MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is wgrib2-easy-mcp?

A simple MCP server designed to execute wgrib2 commands remotely via an MCP Client. Processed files are saved to a designated output directory. It is intended for users who need to interact with GRIB2 meteorological data files through a remote client interface.

How to use wgrib2-easy-mcp?

Clone the repository, install dependencies with uv pip install -r requirements.txt, and configure environment variables—notably the required OUTPUT_DIR (must exist before starting). Start the server with uv run --with python-dotenv --with mcp src/server.py. Connect your MCP Client and invoke the available tools, providing the path to a GRIB2 file. A sample script (src/sample/sample.py) demonstrates usage patterns.

Key features of wgrib2-easy-mcp

  • Execute wgrib2 commands via an MCP Client connection
  • Tools: list_contents, show_details, show_help
  • Configuration through environment variables (OUTPUT_DIR required)
  • Generated files saved to a designated output directory
  • Sample script for usage demonstration

Use cases of wgrib2-easy-mcp

  • List inventory of messages in a GRIB2 file
  • Show detailed information about GRIB2 file messages
  • Access wgrib2 help documentation remotely
  • Save results to a specified output directory for further analysis

よくある質問

1

What are the prerequisites for the server machine?

Python 3.x, git, `uv` (Python project manager), and `wgrib2` installed and accessible in the system’s PATH are required. Also, an MCP Client environment must be able to connect to this server.

2

How do I configure wgrib2-easy-mcp?

Set the environment variable `OUTPUT_DIR` to an absolute path (the directory must exist before starting the server). Optionally set `WGRIB2_PATH` (defaults to `wgrib2` in PATH) and `TEST_GRIB2_FILE` for the sample script.

3

What tools does wgrib2-easy-mcp expose?

Three stable MCP tools: `list_contents` (lists inventory), `show_details` (displays message details), and `show_help` (provides wgrib2 help documentation).

4

Are file extraction or conversion tools already available?

No. Element extraction and conversions to CSV/binary are currently under development and are only demonstrated in the sample script for illustration. Stable tools for these operations are not yet provided.

5

Where are output files saved?

All generated files (e.g., CSV, binary extracts) are saved directly into the directory specified by the `OUTPUT_DIR` environment variable on the server machine. This directory must exist before launching the server.

コメント

「ファイルとストレージ」の他のコンテンツ