Basic information
About Weather Forecast MCP Server
# Weather Forecast MCP Server
Weather Forecast MCP Server is a MCP server in the Media & Design category listed in the AddMCP.net directory, published by MKhan997733. Supported transport: stdio. Runtime: node. Source code is hosted on github.com. Related topics: mcp-server, weather, weather-forecast.
Setup
{
"mcpServers": {
"weather": {
"command": "npx",
"args": [
"mcp-server-weather-forecast"
],
"env": {
"API_KEY": ""
}
}
}
}
{
"mcpServers": {
"weather": {
"command": "npx",
"args": [
"mcp-server-weather-forecast"
],
"env": {
"API_KEY": ""
}
}
}
}
{
"servers": {
"weather": {
"command": "npx",
"args": [
"mcp-server-weather-forecast"
],
"env": {
"API_KEY": ""
}
}
}
}
Weather Forecast MCP Server — by MKhan997733 config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"weather": {
"command": "npx",
"args": [
"mcp-server-weather-forecast"
],
"env": {
"API_KEY": ""
}
}
}
}
Weather Forecast MCP Server — by MKhan997733 tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Weather Forecast MCP Server?
A Model Context Protocol (MCP) server that provides weather information and alerts for US states and UK cities/towns using the National Weather Service (NWS) and OpenWeather APIs. It enables AI assistants to fetch current weather forecasts and alerts through a standardized interface.
How to use Weather Forecast MCP Server?
Install from source via git clone, npm install, and npm run build. Configure by adding the server to your MCP client (e.g., Claude Desktop or Cursor) with an API key set in the API_KEY environment variable. Once configured, ask your AI assistant weather-related questions like alerts for a US state or forecast for coordinates.
Key features of Weather Forecast MCP Server
- Get active weather alerts for any US state.
- Retrieve detailed weather forecasts using latitude/longitude coordinates.
- Fetch current weather for UK cities and towns.
- Requires an API key for accessing weather services.
- Real-time data from official government and OpenWeather sources.
- Compatible with any MCP-compatible AI assistant or client.
Use cases of Weather Forecast MCP Server
- Ask an AI assistant for weather alerts in a specific US state (e.g., California).
- Request a detailed weather forecast for a given latitude and longitude.
- Check current weather conditions in a UK city or town.
Frequently asked questions
1 What data sources does the server use?
It uses the National Weather Service API for US weather alerts and forecasts, and OpenWeather API for UK weather information.
2 Is an API key required?
Yes, an API key is required for accessing weather services. You can obtain one from OpenWeather.
3 How do I configure the server for Claude Desktop?
Add the server to your claude_desktop_config.json with the command npx mcp-server-weather-forecast and set the API_KEY environment variable.
4 What parameters do the tools require?
get-alerts needs a two-letter US state code. get-forecast requires latitude and longitude. current-weather-uk requires a UK city or town name.
5 What are the runtime requirements?
The server requires Node.js 18+ and npm or yarn for installation and execution.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In