About MCP Weather Server
MCP Weather Server is a basic TypeScript implementation of the MCP documentation quickstart. It provides forecast and alert tools using data from `api.weather.gov`.
Key features
- 01Two weather tools
- 02Weekly forecasts by latitude and longitude
- 03Current alerts by state code
- 04Weather data from `api.weather.gov`
Use cases
- 01Getting a weekly forecast for a US location
- 02Checking current weather alerts by state
- 03Trying a basic TypeScript MCP server
MCP support
The MCP server exposes `get-forecast` and `get-alerts` tools. MCP clients can request a forecast by latitude and longitude or current alerts using a state code.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP 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.jsonif 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.
-
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.