Loading languages...
CH

Chazzychouse/weather-mcp-server

@Chazzychouse

Implementation of MCP documentation's "quickstart" server

weather
mcp server
noaa
typescript

MCP Weather Server

  • A basic implementation of the quick start MCP server using typescript. The implementation includes two tools. Data is queried from https://api.weather.gov

Setup With Claude Desktop

  • Navigate to Claude desktop's AppData, and create a claude_desktop_config.json if it is not present.

    Windows Path: C:/users/<Username>/AppData/Roaming/Claude

    {
      "mcpServers": {
        "weather": {
          "command": "node",
          "args": ["<Drive>:\\\\PATH\\\\TO\\\\PROJECT\\\\build\\\\index.js"]
        }
      }
    }
    

Troubleshooting

Capabilities

  • Tools

    • get-forecast

      • gets a weekly weather forecast for a latitude and longitude. (obtained by the client using prompted area in the US)
    • get-alerts

      • gets any current alerts for a state code, tokenized by the client.

# mcpServer Config

{
  "mcpServers": {
    "weather": {
      "command": "node",
      "args": [
        "<Drive>:\\PATH\\TO\\PROJECT\\build\\index.js"
      ]
    }
  }
}

# stdio

node build/index.js
Transport:
stdio
Language:
TypeScript
Created: 4/13/2025
Updated: 4/13/2025