MCP.so
登录

wgrib2-easy-mcp

@yskmasumoto

关于 wgrib2-easy-mcp

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

基本信息

分类

文件与存储

运行时

python

传输方式

stdio

发布者

yskmasumoto

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 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

FAQ from wgrib2-easy-mcp

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.

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.

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).

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.

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.

评论

文件与存储 分类下的更多 MCP 服务器