wgrib2-easy-mcp
About
An MCP server for executing wgrib2 commands from MCP Client. Designed with a simple approach where converted files are saved to a specific folder.
Details
- Author
- yskmasumoto
- Downloads
- 211
- Categories
- Other
Jump to
- 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
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
wgrib2-easy-mcpCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
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.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"wgrib2-easy-mcp": {
"wgrib2-easy-mcp": {
"command": "uv",
"args": [
"pip",
"install",
"-r",
"requirements.txt"
]
}
}
}
}
McpServers
{
"wgrib2-easy-mcp": {
"command": "uv",
"args": [
"pip",
"install",
"-r",
"requirements.txt"
]
}
}
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.
Features
Remotely execute common wgrib2 tasks via MCP.
Tools for listing contents, showing details, and accessing help.
Simple configuration using environment variables.
Outputs generated files (e.g., CSV, binary extracts - based on sample) to a specified directory.
Prerequisites
Before you begin, ensure you have the following installed on the server machine:
Python 3.x
git (for cloning the repository)
uv (Python project and virtual environment manager - required by the run command)
wgrib2: The wgrib2 executable must be installed and accessible in the system's PATH.
An MCP Client environment capable of connecting to this server.
Installation
1. Clone the repository:
git clone https://github.com/yskmasumoto/wgrib2-easy-mcp.git
cd wgrib2-easy-mcp
2. Install dependencies:
uv pip install -r requirements.txt
Configuration
1. Environment Variables: Configure the server primarily through environment variables. It's recommended to use a .env file in the project root.
OUTPUT_DIR: Required. Specify the absolute path to the directory where generated files should be saved.
Important: This directory must exist before starting the server. It will not be created automatically.
WGRIB2_PATH: Optional. Path to the wgrib2 executable (defaults to wgrib2 in PATH).
TEST_GRIB2_FILE: The path to the GRIB2 file referenced when executing the sample script sample.py.
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



