Simple Weather MCP Server example from Quickstart
@hideya
Simple Weather MCP Server example from Quickstart について
Simple Weather MCP Server Example
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"weather": {
"command": "npx",
"args": [
"-y",
"@h1deya/mcp-server-weather"
]
}
}
}ツール
2Get weather alerts for a US state.
Get weather forecast for a location in the US
概要
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.
「メディアとデザイン」の他のコンテンツ

Google Maps
modelcontextprotocolModel Context Protocol Servers
Figma MCP Server
TimHoldenModel Context Protocol server implementation for Figma API
YouTube Transcript MCP Server
jkawamotoMCP server retrieving transcripts of YouTube videos
YouTube MCP Server
ZubeidHendricksMCP Server for YouTube API, enabling video management, Shorts creation, and advanced analytics
Photoshop MCP Server
loonghaoA Model Context Protocol (MCP) server that interfaces with Adobe Photoshop's Python API. Enables LLMs to execute image editing operations, automate workflows, and manage Photoshop tasks through structured commands and context-aware interactions.
コメント