Weather MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Weather MCP Server what's the weather in New York City right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Weather MCP Server
This project is a Model Context Protocol (MCP) server that provides weather information.
Features
Get current weather forecast for a specific latitude and longitude.
Get active weather alerts for a US state.
Related MCP server: Weather MCP Server
Setup
Install dependencies:
pnpm installBuild the server:
pnpm run build
Running the Server
This server is designed to be run by an MCP client, such as Claude for Desktop.
To configure Claude for Desktop (or a similar MCP client) to use this server, you'll need to point it to the built server. The typical configuration would involve specifying:
Command:
nodeArguments:
["/ABSOLUTE/PATH/TO/YOUR/PROJECT/mcptest/build/index.js"]
Replace /ABSOLUTE/PATH/TO/YOUR/PROJECT/ with the actual absolute path to the mcptest directory on your system.
For example, if your project is in /Users/bohe/Desktop/mcptest, the argument would be ["/Users/bohe/Desktop/mcptest/build/index.js"].
Refer to your MCP client's documentation for specific instructions on how to add and configure an MCP server.
Development
Source code is in the
srcdirectory.The main server logic is in
src/index.ts.Build output is in the
builddirectory.
MCP Configuration
The .vscode/mcp.json file is provided for VS Code to recognize and potentially debug this MCP server.
Available Tools
2 toolsget-alertsC
Get weather alerts for a state
Inputs: state (required).
get-forecastC
Get weather forecast for a location
Inputs: latitude (required), longitude (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one retrieves weather alerts for a state, while the other provides forecasts for a location. There is no overlap in functionality, making it easy for an agent to choose the correct tool based on the need for alerts versus general weather predictions.
Both tools follow a consistent verb_noun naming pattern with hyphens (get-alerts and get-forecast). This uniformity makes the tool set predictable and easy to understand, adhering to a clear convention throughout.
With only 2 tools, the server feels thin for a weather domain, lacking essential operations like current conditions, historical data, or radar imagery. While the tools are well-defined, the count is too low to adequately cover typical weather-related use cases, suggesting an incomplete surface.
The tool set is severely incomplete for a weather server, missing core functionalities such as current weather conditions, historical data, or severe weather details. Agents will face significant gaps when trying to perform common weather-related tasks, leading to potential failures in broader workflows.
Maintenance
Related MCP Connectors
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
MCP server for weather with reasoning — umbrella advice, outdoor checks, city comparisons.
An MCP server for weather information by @kulybaba
An MCP server for weather information by @kulybaba
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides tools to fetch weather alerts for US states and forecasts based on latitude/longitude coordinates using the US National Weather Service API.2104 npm1MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI models to fetch weather alerts and detailed forecasts for US locations using the National Weather Service API.104 npmGPL 3.0
- AlicenseBqualityCmaintenanceA Model Context Protocol server that provides weather information and forecasts based on user location or address input.611 npm8MIT
- FlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that provides US weather forecasts and active alerts using the National Weather Service API.2-