Simple Weather MCP Server example from Quickstart
@hideya
Simple Weather MCP Server Example
Overview
What is Simple Weather MCP Server example from Quickstart?
It is a Node.js server implementing the Model Context Protocol (MCP) for accessing weather information in the United States. Built as an example for the MCP Quickstart, it is packaged as an npm package for convenient use with npx.
How to use Simple Weather MCP Server example from Quickstart?
Add the provided JSON fragment to your Claude Desktop configuration file (claude_desktop_config.json) using the command npx -y @h1deya/mcp-server-weather. The server runs locally and integrates with Claude Desktop via MCP.
Key features of Simple Weather MCP Server example from Quickstart
- Get weather alerts for any US state (two-letter code)
- Get weather forecast for US locations by latitude/longitude
- Easy one-command setup via npx
- Based on the official MCP Quickstart example
- Compatible with Claude Desktop’s MCP integration
Use cases of Simple Weather MCP Server example from Quickstart
- Ask Claude “Tomorrow’s weather in Palo Alto?”
- Check for weather alerts in California or any other US state
- Learn how to build and test an MCP server with real tools
- Integrate simple weather queries into an AI assistant workflow
FAQ from Simple Weather MCP Server example from Quickstart
What exactly does this server do?
It provides two tools: get-alerts (weather alerts for a US state) and get-forecast (forecast for a US location given latitude/longitude). It is an example implementation of the Model Context Protocol.
How do I install and configure it?
Edit your claude_desktop_config.json (located in ~/Library/Application Support/Claude/ on macOS/Linux or %AppData%\Claude\ on Windows) and add the JSON snippet with "command": "npx" and "args": ["-y", "@h1deya/mcp-server-weather"].
Does it support locations outside the United States?
No. The tools only work for US states (for alerts) and US geographic coordinates (for forecasts). It uses the US National Weather Service API.
What license does the server use?
The server is released under the MIT license, as noted in the README.
What runtime or dependencies are required?
It is a Node.js package; Node.js and npm must be installed to use it via npx. No additional installation steps are needed beyond the Claude Desktop configuration.