Basic information
About Weather MCP Server
# weather-mcp mcp server for querying weather ## Usage ```json { "mcpServers": { "weather-mcp": { "command": "npx", "args": ["-y", "@chatmcp/weather-mcp"], "env": { "WEATHER_API_KEY": "xxx" } } } } ```
Weather is a MCP server in the Media & Design category listed in the AddMCP.net directory, published by chatmcp. It exposes 1 tool, including query-weather. Supported transport: stdio. Runtime: JavaScript. License: ISC. Source code is hosted on github.com. Related topics: mcp, weather, weather-api.
Setup
{
"mcpServers": {
"weather-mcp": {
"command": "npx",
"args": [
"-y",
"@chatmcp/weather-mcp"
],
"env": {
"WEATHER_API_KEY": "xxx"
}
}
}
}
{
"mcpServers": {
"weather-mcp": {
"command": "npx",
"args": [
"-y",
"@chatmcp/weather-mcp"
],
"env": {
"WEATHER_API_KEY": "xxx"
}
}
}
}
{
"servers": {
"weather-mcp": {
"command": "npx",
"args": [
"-y",
"@chatmcp/weather-mcp"
],
"env": {
"WEATHER_API_KEY": "xxx"
}
}
}
}
Weather MCP Server — by chatmcp config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"weather-mcp": {
"command": "npx",
"args": [
"-y",
"@chatmcp/weather-mcp"
],
"env": {
"WEATHER_API_KEY": "xxx"
}
}
}
}
Weather MCP Server — by chatmcp tools
-
query-weather
— query weather for given city
city:string*
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.
Frequently asked questions
1 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.
2 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.
3 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.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In