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.
媒体与设计 分类下的更多 MCP 服务器
YouTube Transcript Server
kimtaeyoon83This is an MCP server that allows you to directly download transcripts of YouTube videos.

Google Maps
modelcontextprotocolModel Context Protocol Servers
Image-Gen-Server
fengin一个能与Cursor集成的图片生成mcp server工具,实现调用即梦逆向接口

Spotify MCP
varunnealMCP to connect your LLM with Spotify.
KiCAD MCP: AI-Assisted PCB Design
mixelpixxKiCAD MCP is a Model Context Protocol (MCP) implementation that enables Large Language Models (LLMs) like Claude to directly interact with KiCAD for printed circuit board design.
评论