
MCP Weather Server
Implementation of MCP documentation's "quickstart" server
What is MCP Weather Server?
MCP Weather Server is a basic implementation of the quick start MCP server using TypeScript, designed to query weather data from the National Weather Service API.
How to use MCP Weather Server?
To use the MCP Weather Server, set up the configuration in Claude Desktop by creating a claude_desktop_config.json
file and specifying the command to run the server.
Key features of MCP Weather Server?
- Retrieves weekly weather forecasts based on latitude and longitude.
- Provides current weather alerts for specified state codes.
Use cases of MCP Weather Server?
- Integrating weather data into applications for real-time updates.
- Developing tools that require weather forecasting capabilities.
- Creating alerts for severe weather conditions based on user location.
FAQ from MCP Weather Server?
- How do I set up the server?
Follow the setup instructions in the documentation to create the necessary configuration file in Claude Desktop.
- What kind of data can I retrieve?
You can retrieve weekly forecasts and current weather alerts for specific locations in the US.
- Is there any troubleshooting guide available?
Yes, refer to the MCP documentation for troubleshooting tips.
MCP Weather Server
- A basic implementation of the quick start MCP server using typescript. The implementation includes two tools. Data is queried from
https://api.weather.gov
Setup With Claude Desktop
-
Navigate to Claude desktop's AppData, and create a
claude_desktop_config.json
if it is not present.Windows Path:
C:/users/<Username>/AppData/Roaming/Claude
{ "mcpServers": { "weather": { "command": "node", "args": ["<Drive>:\\PATH\\TO\\PROJECT\\build\\index.js"] } } }
Troubleshooting
- See MCP documentation for tips on troubleshooting
Capabilities
-
Tools
-
get-forecast
- gets a weekly weather forecast for a latitude and longitude. (obtained by the client using prompted area in the US)
-
get-alerts
- gets any current alerts for a state code, tokenized by the client.
-