Overview
What is Weather?
Weather is an MCP (Model Context Protocol) server for querying weather data. It is designed for developers who want to integrate real-time weather information into MCP‑compatible applications, such as AI assistants.
How to use Weather?
Configure the server in your MCP client by setting the WEATHER_API_KEY environment variable and using the command npx -y @chatmcp/weather-mcp. Run the server via any MCP host that supports the stdio transport.
Key features of Weather
- Provides weather data through the Model Context Protocol.
- Authenticates with a single environment variable (
WEATHER_API_KEY). - Runs via
npxwith no global installation required. - Lightweight and easy to configure.
Use cases of Weather
- Embed current weather queries into conversational AI agents.
- Provide weather context for automation workflows via MCP.
- Build simple weather‑aware tools using a standard MCP client.
FAQ from Weather
What does the Weather server do?
It is an MCP server that allows you to query weather information by connecting to an external weather API.
How do I set up the API key?
Set the WEATHER_API_KEY environment variable to your API key when starting the server, as shown in the configuration example.
How do I run the Weather server?
Use the command npx -y @chatmcp/weather-mcp and ensure the WEATHER_API_KEY environment variable is set. This will start the server and connect it via stdio to your MCP host.