MCP.so
Sign In
Servers

Weather MCP Server

@yogi-miraje

MCP server to get the US city weather

Overview

What is Weather MCP Server?

Weather MCP Server is a weather information service built using the MCP (Model-Completion-Protocol) framework. It provides weather forecasts for any city by leveraging the National Weather Service (NWS) API.

How to use Weather MCP Server?

Install using uv add "mcp[cli]" or pip install mcp. Test locally with mcp dev weather.py. To use with Claude Desktop, add the server configuration (command uv with arguments pointing to weather.py) to your Claude Desktop config file. The server exposes the get_weather tool.

Key features of Weather MCP Server

  • Geocode city names to latitude/longitude coordinates
  • Fetch weather data from the National Weather Service API
  • Get detailed forecasts including temperature, conditions, and wind
  • Modular design with separate tools per step
  • Single get_weather tool returns complete weather info

Use cases of Weather MCP Server

  • Ask "What's the weather in San Francisco?" to get current conditions
  • Ask "How's the weather in New York City?" for forecast
  • Ask "Get me the weather forecast for Chicago" for detailed report
  • Integrate weather queries into any MCP‑enabled client (e.g., Claude Desktop)

FAQ from Weather MCP Server

How do I install the server?

Use uv add "mcp[cli]" or pip install mcp to install the MCP package, then run weather.py with the appropriate configuration.

How do I test the server locally?

Run mcp dev weather.py to start a development MCP server that can be tested locally.

How do I use it with Claude Desktop?

Add a configuration entry to your Claude Desktop config file with the command set to uv and args pointing to the weather.py file in your repository directory.

What data source does Weather MCP Server use?

It uses the National Weather Service (NWS) API.

What license is the server released under?

It is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).

Tags

More from Media & Design