Skip to main content
Glama
WeatherXM Pro MCP Server

WeatherXM Pro MCP Server

Official
by WeatherXM

WeatherXM PRO MCP Server

An MCP server implementation exposing the WeatherXM PRO APIs as MCP tools, allowing clients to access weather station data, observations, and forecasts through the MCP protocol.

Features

  • Get stations near a location (latitude, longitude, radius)

  • Get stations within a bounding box (min/max latitude and longitude)

  • Get all available stations

  • Get the latest observation for a specific station

  • Get historical observations for a station on a specific date

  • Search for H3 cells by region name

  • Get stations in a specific H3 cell

  • Get weather forecast (daily or hourly) for a specific H3 cell

  • Get hyperlocal forecast for a station and variable

  • Get forecast performance (FACT) for a station and variable

  • Get forecast ranking (FACT) for a station

Related MCP server: Weather MCP Server

Prerequisites

  • Node.js and npm installed

  • A valid WeatherXM PRO API key

Configuration

Clone the repository to your local machine.

git clone https://github.com/WeatherXM/weatherxm-pro-mcp.git

Installation

After cloning the repository, you need to install the dependencies and build the project before running the MCP server.

npm install
npm run build

Server Configuration for MCP Clients

This is the common configuration for MCP clients such as Claude Desktop, Cursor, Windsurf Editor, VSCode and plugins such as RooCode and Cline.

{
  "mcpServers": {
    "weatherxm-pro": {
      "command": "npx",
      "args": [
        "-y",
        "path to mcp"
      ],
      "env": {
        "WEATHERXMPRO_API_KEY": "your-api-key"
      }
    }
  }
}

Replace "path to mcp" with the actual path to the MCP server or package name, and "your-api-key" with your WeatherXM PRO API key.

Note: If you have other MCP servers in use in the client, you can add it to the existing mcpServers object.

Claude Desktop

Follow the steps below to use the WeatherXM PRO MCP server with Claude Desktop MCP client:

  1. Edit the MCP settings file located at:

    ~/Library/Application Support/Claude/claude_desktop_config.json
  2. Add the WeatherXM PRO MCP server configuration under the mcpServers object.

  3. Restart Claude Desktop to apply the changes.

  4. You can now use the server in Claude Desktop to run queries on the WeatherXM PRO MCP server.

Cursor

Follow the steps below to use the WeatherXM PRO MCP server with Cursor:

  1. Install Cursor on your machine.

  2. In Cursor, go to Cursor > Cursor Settings > MCP > Add a new global MCP server.

  3. Specify the same configuration as in the Server Configuration for MCP Clients section.

  4. Save the configuration.

  5. You will see weatherxm-pro as an added server in MCP servers list.

  6. You can now use the WeatherXM PRO MCP server in Cursor to run queries.

Windsurf Editor

Follow the steps below to use the WeatherXM PRO MCP server with Windsurf Editor:

  1. Install Windsurf Editor on your machine.

  2. Navigate to Command Palette > Windsurf MCP Configuration Panel or Windsurf - Settings > Advanced > Cascade > Model Context Protocol (MCP) Servers.

  3. Click on Add Server and then Add custom server.

  4. Add the WeatherXM PRO MCP Server configuration from the Server Configuration for MCP Clients section.

  5. Save the configuration.

  6. You will see weatherxm-pro as an added server in MCP Servers list.

  7. You can now use the WeatherXM PRO MCP server in Windsurf Editor to run queries.

Docker Image

The MCP server can be built and run as a Docker container.

Build

docker build -t weatherxm-pro-mcp .

Run

docker run -d -p 3000:3000 -e WEATHERXMPRO_API_KEY="your-api-key" -e PORT=3000 weatherxm-pro-mcp

Replace "your-api-key" with your actual WeatherXM PRO API key.

Troubleshooting Tips

  • Ensure the path to your MCP server repository is correct in the configuration.

  • Verify that your WeatherXM PRO API key is set correctly.

  • Check that the MCP client configuration matches the server settings.

  • Check the logs for any errors or warnings that may indicate issues with the MCP server.

License

MIT License

Available Tools

8 tools
get_all_stationsD

Inputs: no named parameters.

get_forecast_for_cellD

Inputs: forecast_cell_index (required), forecast_from (required), forecast_include (required), forecast_to (required).

get_historical_observationsD

Inputs: date (required), station_id (required).

get_latest_observationD

Inputs: station_id (required).

get_stations_boundsD

Inputs: max_lat (required), max_lon (required), min_lat (required), min_lon (required).

get_stations_in_cellD

Inputs: cell_index (required).

get_stations_nearD

Inputs: lat (required), lon (required), radius (required).

search_cells_in_regionD

Inputs: region_query (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2/5.0

    Scored across 8 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes focused on different aspects of weather data retrieval (stations, forecasts, observations, cells), though get_stations_in_cell and get_stations_near could potentially overlap in some use cases. The lack of descriptions creates some uncertainty, but the naming suggests reasonable separation.

    Naming Consistency5/5

    All tools follow a perfect verb_noun pattern with consistent snake_case naming throughout. Every tool starts with 'get_' or 'search_' followed by a clear object, creating excellent predictability and readability.

    Tool Count5/5

    With 8 tools, this server is well-scoped for a weather data service. The count allows comprehensive coverage of station management, forecasting, and observation retrieval without becoming overwhelming or redundant.

    Completeness3/5

    The server covers core weather data retrieval operations well (stations, forecasts, observations), but lacks any write/update capabilities that might be expected for a 'Pro' service. There are also no tools for managing user preferences, alerts, or more advanced analytics, creating some workflow gaps.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      This MCP server provides tools like weather lookup and follows the Model Context Protocol for tool calling, resource sharing, and prompt templates.
      511 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that wraps the Open-Meteo API to provide current weather, forecasts, and historical data for any location without requiring an API key.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A proof-of-concept MCP server that provides weather information using the Open-Meteo API, with tools for greeting, getting weather by coordinates, and by location name.
      -