Skip to main content
Glama
Earthcast MCP Server

Earthcast MCP Server

by ec-will

Earthcast MCP Server

License: MIT Node Version

An MCP (Model Context Protocol) server that provides environmental and weather data to AI systems like Claude, Cursor, Warp, and Grok. Combines comprehensive global weather data (NOAA, Open-Meteo) with specialized environmental products from Earthcast Technologies API.

Perfect for: Launch operations, aviation planning, space weather monitoring, and advanced environmental analysis.

Supported Platforms: Warp, Claude Desktop, Claude Code, Cline (VS Code), Cursor, Grok (xAI), and any MCP-compatible AI assistant.

Features

🚀 Earthcast Technologies Integration (NEW!)

Access specialized environmental data from Earthcast Technologies API:

  • Launch Decision Support - Go/No-Go evaluations with customizable thresholds

    • Lightning density monitoring

    • Multi-level windshear analysis (low/high altitude)

    • Turbulence forecasting

    • Radar reflectivity

    • Contrail potential

    • Comprehensive launch safety assessment

  • Advanced Environmental Data

    • Neutral Atmospheric Density (100-1000km altitude) - Critical for satellite operations and orbital mechanics

    • Ionospheric Density (VTEC) - Space weather and GPS/radio propagation

    • Contrail Formation - Aviation condensation trail prediction

    • Multi-Level Windshear - Low-level (850mb/~5,000ft) and high-level (300mb/~30,000ft)

    • Turbulence Forecasting - Flight safety and passenger comfort

    • Radar Reflectivity - Precipitation detection at 5km resolution

🌍 Global Weather Data (from weather-mcp)

All the features from the proven weather-mcp foundation:

  • Global Weather Forecasts - NOAA (US, detailed) + Open-Meteo (international)

    • Up to 16-day forecasts

    • Hourly or daily granularity

    • Sunrise/sunset times

  • Current Conditions - Real-time weather observations

    • Temperature, humidity, wind, pressure

    • Heat index and wind chill

    • Cloud cover and visibility

  • Location Services

    • Global location search (cities, airports, landmarks)

    • Save favorite locations with aliases ("home", "work")

    • Automatic geocoding

  • Weather Alerts - US watches, warnings, and advisories

    • Severity levels and urgency indicators

    • Effective/expiration times

  • Historical Weather - Access past weather data (1940-present)

  • Air Quality - AQI, pollutants, UV index, health recommendations

  • Marine Conditions - Wave heights, swell, ocean currents

  • Lightning Detection - Real-time strike monitoring

  • River Conditions - Water levels and flood status

  • Wildfire Tracking - Active fires and containment status

  • Weather Imagery - Radar and precipitation maps

Related MCP server: mcp-maritime

Installation

Quick Start

Clone the repository and build:

git clone https://github.com/ec-will/earthcast-mcp.git
cd earthcast-mcp
npm install
npm run build

Then configure your MCP client to use the built package.

MCP Client Configuration

Warp

Add to ~/.config/warp/mcp_settings.json or configure via Warp UI:

{
  "mcpServers": {
    "earthcast": {
      "command": "node",
      "args": ["/path/to/earthcast-mcp/dist/index.js"],
      "env": {
        "ECT_API_USERNAME": "your_username",
        "ECT_API_PASSWORD": "your_password",
        "ENABLED_TOOLS": "basic,+earthcast_query_data,+earthcast_gonogo_decision,+earthcast_vector_query,+earthcast_optical_depth"
      }
    }
  }
}

Claude Desktop

Edit config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "earthcast": {
      "command": "node",
      "args": ["/path/to/earthcast-mcp/dist/index.js"],
      "env": {
        "ECT_API_USERNAME": "your_username",
        "ECT_API_PASSWORD": "your_password"
      }
    }
  }
}

Claude Code (CLI)

Add to ~/.config/claude-code/mcp_settings.json:

{
  "mcpServers": {
    "earthcast": {
      "command": "node",
      "args": ["/path/to/earthcast-mcp/dist/index.js"],
      "env": {
        "ECT_API_USERNAME": "your_username",
        "ECT_API_PASSWORD": "your_password"
      }
    }
  }
}

Cline (VS Code)

Configure in Cline's MCP settings:

{
  "mcpServers": {
    "earthcast": {
      "command": "node",
      "args": ["/path/to/earthcast-mcp/dist/index.js"],
      "env": {
        "ECT_API_USERNAME": "your_username",
        "ECT_API_PASSWORD": "your_password"
      }
    }
  }
}

Cursor

Add via Cursor settings or manual config file using the same pattern as above.

Grok (xAI)

For xAI's Grok integration, add to your MCP configuration:

{
  "mcpServers": {
    "earthcast": {
      "command": "node",
      "args": ["/path/to/earthcast-mcp/dist/index.js"],
      "env": {
        "ECT_API_USERNAME": "your_username",
        "ECT_API_PASSWORD": "your_password",
        "ENABLED_TOOLS": "basic,+earthcast_query_data,+earthcast_gonogo_decision,+earthcast_vector_query,+earthcast_optical_depth"
      }
    }
  }
}

Note: Replace /path/to/earthcast-mcp with the actual path where you cloned the repository.

Configuration

Required: Earthcast API Credentials

To use Earthcast features, you need API credentials:

  1. Contact Earthcast Technologies for API access

  2. Set credentials in your MCP configuration (see Installation above)

Optional: Tool Selection

Control which tools are available to reduce context overhead:

# Basic weather tools only (default)
ENABLED_TOOLS=basic

# Basic + Earthcast tools (launch support)
ENABLED_TOOLS=basic,+earthcast_query_data,+earthcast_gonogo_decision

# Basic + All Earthcast tools
ENABLED_TOOLS=basic,+earthcast_query_data,+earthcast_gonogo_decision,+earthcast_vector_query,+earthcast_optical_depth

# All weather tools + All Earthcast tools
ENABLED_TOOLS=all,+earthcast_query_data,+earthcast_gonogo_decision,+earthcast_vector_query,+earthcast_optical_depth

Available presets:

  • basic - Essential weather (9 tools): forecast, current, alerts, location services

  • standard - Basic + historical weather

  • full - Standard + air quality

  • all - All 15 weather tools (marine, imagery, lightning, rivers, wildfires)

Optional: Additional Settings

Create a .env file for advanced configuration:

# Earthcast API
ECT_API_URL=http://ect-sandbox.com:8000  # Default sandbox URL
ECT_API_USERNAME=your_username
ECT_API_PASSWORD=your_password

# Performance
CACHE_ENABLED=true
CACHE_MAX_SIZE=1000
API_TIMEOUT_MS=30000

# Logging (0=DEBUG, 1=INFO, 2=WARN, 3=ERROR)
LOG_LEVEL=1

Available Tools

Earthcast Tools

earthcast_gonogo_decision

Launch decision support with threshold-based evaluations.

Example:

Check launch conditions at Cape Canaveral (28.5, -80.5) with 
lightning threshold 0.5 and windshear threshold 15 m/s

Parameters:

  • products - Weather products to evaluate (comma-separated)

  • thresholds - Threshold values for each product (object)

  • latitude, longitude - Launch site coordinates

  • radius - Evaluation radius in km (default: 50)

  • site_description - Optional site name

Products: lightning_density, low-level-windshear, high-level-windshear, turbulence_max, reflectivity_5k, contrails_max

earthcast_query_data

Query raw environmental data for analysis.

Example:

Get neutral atmospheric density at 400km altitude for coordinates 28.5, -80.5

Parameters:

  • products - One or more product keys (comma-separated)

  • latitude, longitude - Query location

  • altitude - Altitude in km (for altitude-dependent products)

  • radius - Query radius in km

Products: neutral_density, ionospheric_density, contrails_max, contrails, lightning_density, low-level-windshear, high-level-windshear, turbulence_max, reflectivity_5k

earthcast_vector_query

Query weather data along an ordered vector path - ideal for orbital trajectories and satellite paths.

Example:

Get neutral density along a satellite trajectory from 28.5, -80.5 through
30.0, -78.0 to 32.0, -76.0 for drag calculations

Parameters:

  • products - One or more product keys (comma-separated)

  • vectors - Array of points defining the path, each with lat, lon, radius (km), and optional altitude

  • date - Optional ISO 8601 timestamp

Use Cases: Spacecraft drag calculations, orbital mechanics, trajectory planning through the atmosphere

earthcast_optical_depth

Assess atmospheric optical depth along a line-of-sight for ground-based telescope operations.

Example:

Evaluate viewing conditions from Mount Palomar Observatory (33.4, -116.9)
to target at azimuth 180°, elevation 45°

Parameters:

  • products - One or more product keys (recommended: neutral_density, ionospheric_density, contrails)

  • vectors - Minimum 2 vectors: telescope location and target (with optional intermediate points)

  • description - Optional observation description

Use Cases: Optical astronomy, telescope scheduling, atmospheric interference assessment

Weather Tools (15 tools)

Earthcast MCP includes all 15 weather tools from the proven weather-mcp foundation:

  • get_forecast - Weather forecasts (1-16 days, global)

  • get_current_conditions - Current weather observations (US)

  • get_alerts - Weather watches and warnings (US)

  • get_historical_weather - Past weather data (1940-present, global)

  • search_location - Find coordinates for locations (global)

  • get_air_quality - AQI and pollutant data (global)

  • get_marine_conditions - Wave heights and ocean conditions (global)

  • get_lightning_activity - Real-time lightning strikes (global)

  • get_river_conditions - Water levels and flood status (US)

  • get_wildfire_info - Active fire tracking (US)

  • get_weather_imagery - Radar and satellite images (global)

  • save_location - Save favorite locations

  • list_saved_locations - List saved locations

  • get_saved_location - Get specific saved location

  • remove_saved_location - Remove saved location

  • check_service_status - Check API health

📖 See WEATHER_TOOLS.md for detailed documentation - Complete parameters, examples, and return values for all 15 weather tools.

Example Queries

Launch Operations

Is it safe to launch from Cape Canaveral today?
Evaluate: lightning < 0.5, windshear < 15 m/s

Aviation Planning

Compare surface winds with upper-level conditions at Houston
Show contrail potential and turbulence

Space Weather

Get ionospheric density and neutral atmospheric density at 400km
over coordinates 28.5, -80.5

Combined Analysis

Get NOAA weather forecast for Houston, then check Earthcast
specialized products for the same location

Architecture

Built on the proven weather-mcp foundation with added Earthcast integration:

  • Handler-Service Pattern - Clean separation of concerns

  • Intelligent Caching - Reduces API calls by 50-80%

  • Error Handling - Graceful degradation with detailed error messages

  • Type Safety - Full TypeScript implementation

  • Retry Logic - Exponential backoff for transient failures

  • Multi-Source - Automatic fallback between data sources

API Credits

Earthcast Technologies

  • Advanced environmental and weather products

  • Launch decision support systems

  • Space weather monitoring

  • Requires: API credentials

Free Weather APIs (No Authentication Required)

  • NOAA - US weather data (forecasts, current conditions, alerts)

  • Open-Meteo - Global weather and historical data

  • Nominatim (OpenStreetMap) - Global geocoding

  • RainViewer - Weather radar imagery

  • Blitzortung.org - Real-time lightning detection

  • USGS - River conditions and streamflow

  • NIFC - Wildfire tracking

Development

# Install dependencies
npm install

# Build
npm run build

# Run in development mode
npm run dev

# Run tests
npm test
npm run test:coverage

# Type checking
npx tsc --noEmit

License

MIT License - see LICENSE file for details.

Attribution

This project is a fork of weather-mcp by the Weather MCP Server Contributors.

Earthcast Technologies integration and specialized environmental tools added by Earthcast Technologies' HPC and AI team.

Support

  • Issues: GitHub Issues

  • Earthcast API: Contact Earthcast Technologies for API access

  • Architecture: See WARP.md for development guide and architecture details

Version

Current version: 0.1.0

See CHANGELOG.md for version history.

Available Tools

9 tools
check_service_statusA

Check the operational status of the NOAA and Open-Meteo weather APIs. Use this when experiencing errors or to proactively verify service availability before making weather data requests. Returns current status, helpful messages, and links to official status pages.

Inputs: no named parameters.

get_alertsA

Get active weather alerts, watches, warnings, and advisories for a location (US only). Use this for safety-critical weather information when asked about "any alerts?", "weather warnings?", "is it safe?", "dangerous weather?", or "weather watches?". Returns severity, urgency, certainty, effective/expiration times, and affected areas. For forecast data, use get_forecast instead. If this tool returns an error, check the error message for status page links and consider using check_service_status to verify API availability.

Inputs: latitude (required), longitude (required), active_only.

get_current_conditionsA

Get the most recent weather observation for a location (US only). Use this for current weather or when asking about "today's weather", "right now", or recent conditions without a specific historical date range. Returns the latest observation from the nearest weather station. Optionally includes fire weather indices (Haines Index, Grassland Fire Danger, Red Flag Threat) when requested. For specific past dates or date ranges, use get_historical_weather instead. If this tool returns an error, check the error message for status page links and consider using check_service_status to verify API availability.

Inputs: latitude (required), longitude (required), include_normals, include_fire_weather.

get_forecastA

Get future weather forecast for a location (global coverage). Use this for upcoming weather predictions (e.g., "tomorrow", "this week", "next 7 days", "hourly forecast"). Returns forecast data including temperature, precipitation, wind, conditions, and sunrise/sunset times. Supports both daily and hourly granularity. Automatically selects best data source: NOAA for US locations (more detailed), Open-Meteo for international locations. For current weather, use get_current_conditions. For past weather, use get_historical_weather. Can use either coordinates OR a saved location name (e.g., location_name="home"). If this tool returns an error, check the error message for status page links and consider using check_service_status to verify API availability.

Inputs: days, source, latitude, longitude, +5 more.

get_saved_locationA

Get details for a specific saved location. Use this when a user wants to view information about a particular saved location, like "show me details for my home location" or "what are the coordinates for my cabin?".

Inputs: alias (required).

list_saved_locationsA

List all saved locations. Use this when a user wants to see their saved locations or asks "what locations do I have saved?" or "show my saved places". Returns all saved locations with their aliases, names, coordinates, and other metadata. Helpful for reminding users what location names they can use with weather tools.

Inputs: no named parameters.

remove_saved_locationB

Remove a saved location. Use this when a user wants to delete a saved location, like "remove my work location" or "delete the cabin from saved locations".

Inputs: alias (required).

save_locationA

Save a location for easy reuse in weather queries. Use this when a user wants to save a frequently used location like "home", "work", "cabin", or "aunt lisa's house". Accepts either a location query (which will be geocoded automatically) or direct coordinates. Saved locations can be used with all weather tools by providing location_name instead of coordinates. Makes it easy to ask "What's the weather forecast at home?" without repeatedly providing coordinates. SMART UPDATES: If the alias already exists and you only provide name/activities (without location details), it will update just those fields while preserving coordinates.

Inputs: alias (required), name, notes, latitude, +5 more.

search_locationA

Search for locations by name to get coordinates for weather queries. Uses Nominatim (OpenStreetMap) for excellent coverage of cities, towns, villages, and hamlets worldwide. Use this when the user provides a location name instead of coordinates (e.g., "Paris", "New York", "Tokyo", "San Francisco, CA", "Small Village, County"). Returns location matches with coordinates, timezone, elevation, and other metadata. Enables natural language location queries like "What's the weather in Paris?" by converting location names to coordinates.

Inputs: query (required), limit.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 9 tools

    Disambiguation4/5

    Present tools target distinct purposes: forecast, current observations, alerts, geocoding, service status, and saved-location CRUD, with descriptions explicitly cross-referencing each other. The main snag is the repeated referral to a `get_historical_weather` tool that does not exist in the set, which could send an agent hunting for a non-existent capability rather than creating genuine overlap among existing tools.

    Naming Consistency5/5

    All nine tools follow a clean verb_noun snake_case pattern (get_forecast, search_location, save_location, list_saved_locations, check_service_status). The saved-location family (save/list/get/remove) is especially predictable and consistent.

    Tool Count5/5

    Nine tools is well within the ideal range and each earns its place: three weather-data tools, one geocoder, one status check, and four saved-location operations. Nothing feels padded or missing at the count level.

    Completeness3/5

    Core weather workflows (forecast, current conditions, alerts, geocoding) plus full saved-location CRUD are covered, but the surface omits `get_historical_weather` even though two tool descriptions explicitly direct users to it for past weather. This is a notable dead end that will cause agent failures on historical queries.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Global weather intelligence for AI assistants providing 10 weather tools — forecasts, historical data, air quality, marine, geocoding, elevation, and climate projections at 1km resolution with 80+ years of archive.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables querying and comparing operational numerical weather models, including global and regional, deterministic and ensemble, physics-based and AI forecasts, with a unified API.
      46 npm
      MIT