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.

评论

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