MCP.so
Sign In

wgrib2-easy-mcp

@yskmasumoto

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

Basic information

Category

Files & Storage

Runtime

python

Transports

stdio

Publisher

yskmasumoto

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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.

Comments

More Files & Storage MCP servers