🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

nhc-mcp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nhc-mcp

MCP server for NHC storm tracks, advisories, and hurricane best track data

pipPyPI
Version
0.1.0
Weekly downloads
242
Maintainers
1

NHC MCP Server

MCP server providing AI assistants with access to National Hurricane Center (NHC) storm tracks, advisories, and best track data.

Status: Ready

Tools

ToolDescriptionStatus
nhc_get_active_stormsGet currently active tropical cyclonesReady
nhc_get_forecast_trackGet official NHC 5-day forecast track positionsReady
nhc_get_best_trackGet best track data for historical or recent stormsReady
nhc_search_stormsSearch historical storms by name, year, basin, intensityReady
nhc_get_storm_watches_warningsGet active watches and warnings for a stormReady
nhc_generate_parametric_windGenerate parametric wind field for a stormPlanned

Data Sources

  • CurrentStorms.json — Real-time active storm information from NHC
  • ATCF B-deck — Current-season best track data (Automated Tropical Cyclone Forecasting)
  • HURDAT2 — Atlantic (1851–2024) and East Pacific (1949–2024) hurricane database
  • NHC ArcGIS MapServer — Forecast tracks, cones, and watch/warning polygons

Quick Start

git clone https://github.com/mansurjisan/ocean-mcp.git
cd ocean-mcp/servers/nhc-mcp
uv sync

Configure your MCP client

{
  "mcpServers": {
    "nhc": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/ocean-mcp/servers/nhc-mcp", "python", "-m", "nhc_mcp"]
    }
  }
}

Example Queries

  • "Are there any active tropical cyclones right now?"
  • "Show me Hurricane Katrina's track"
  • "Search for Category 5 hurricanes in the Atlantic since 2000"
  • "What is the forecast track for the active storm AL052024?"
  • "Find all storms named Maria"

Running Tests

# Unit tests (fast, no network)
uv run pytest tests/test_utils.py tests/test_client.py -v

# Live integration tests (requires internet)
uv run pytest tests/test_live.py -v -s

License

MIT

Keywords

hurdat2

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts