Weather MCP Server

Current weather, 7-day forecasts, and US weather alerts without API keys.

README.md

Weather MCP

An MCP server that provides current weather, 7-day forecasts, and US weather alerts — no API keys required.

APIs Used

Purpose API
Current weather & forecast api.open-meteo.com
City name to coordinates geocoding-api.open-meteo.com
US weather alerts api.weather.gov (National Weather Service)

Tools

`get_current_weather`

Get current weather conditions for any city in the world.

Example: "What's the weather in Tokyo?"

`get_forecast`

Get a 7-day weather forecast for any city in the world.

Example: "What's the forecast for London this week?"

`get_alerts`

Get active weather alerts for a US state. US only.

Example: "Any weather alerts in California?"

Setup

1. Install dependencies

npm install

2. Build

npm run build

3. Add to Claude Desktop

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "weather": {
      "command": "node",
      "args": ["/path/to/MCP/weather/build/index.js"]
    }
  }
}

Then restart Claude Desktop.

Project Structure

├── src/
│   ├── index.ts        # MCP server and tool definitions
│   └── constants.ts    # API endpoint constants
├── build/              # Compiled output (generated)
├── package.json
└── tsconfig.json

Tools 3

get_current_weatherGet current weather conditions for any city in the world.
get_forecastGet a 7-day weather forecast for any city in the world.
get_alertsGet active weather alerts for a US state.

Try it

What's the weather in Tokyo?
What's the forecast for London this week?
Any weather alerts in California?

Frequently Asked Questions

What are the key features of Weather MCP?

Provides current weather conditions for global cities. Retrieves 7-day weather forecasts. Fetches active US weather alerts via National Weather Service. No API keys required for operation.

What can I use Weather MCP for?

Checking local weather conditions before planning outdoor activities. Getting a weekly weather outlook for travel planning. Monitoring severe weather alerts for specific US states.

How do I install Weather MCP?

Install Weather MCP by running: npm install && npm run build

What MCP clients work with Weather MCP?

Weather MCP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Weather MCP docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Open Conare