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?
A Node.js server implementing the Model Context Protocol (MCP) for accessing weather information in the United States. It is the example server from the official MCP Quickstart guide and is hosted as an npm package for convenient use with npx.
How to use Simple Weather MCP Server example from Quickstart?
Add the server to your Claude Desktop configuration (claude_desktop_config.json) using npx -y @h1deya/mcp-server-weather as the command. Once configured, you can ask Claude for weather alerts or forecasts using natural language queries.
Key features of Simple Weather MCP Server example from Quickstart?
- get-alerts: retrieve weather alerts for a US state using a two-letter state code.
- get-forecast: retrieve weather forecast for a US location using latitude and longitude coordinates.
- Runs via
npxwith no manual installation required. - Based on the official Model Context Protocol (MCP).
- Serves as a learning example from the MCP Quickstart guide.
Use cases of Simple Weather MCP Server example from Quickstart?
- Ask Claude "Tomorrow's weather in Palo Alto?" to get a US weather forecast.
- Ask Claude "Any weather alerts in California?" to retrieve active alerts for a state.
- Learn how to build an MCP server by following the Quickstart example.
FAQ from Simple Weather MCP Server example from Quickstart
What tools does it provide?
Two tools: get-alerts (input: two-letter US state code) and get-forecast (inputs: latitude and longitude numbers).
What runtime does it require?
It is a Node.js server; Node.js must be installed to run it via npx.
How do I configure it with Claude Desktop?
Add the JSON fragment shown in the README to your claude_desktop_config.json file, providing npx, -y, and @h1deya/mcp-server-weather as the command and arguments.
What license is it under?
MIT license.
Is this server for production use or learning?
It is an example server from the MCP Quickstart guide, primarily intended for learning and demonstration purposes.
媒体与设计 分类下的更多 MCP 服务器
Game Asset Generator using MCP and Hugging Face Spaces
MubarakHAlketbiAn MCP server for creating 2D/3D game assets from text using Hugging Face AI models.
YouTube MCP Server
ZubeidHendricksMCP Server for YouTube API, enabling video management, Shorts creation, and advanced analytics
YouTube Transcript Server
kimtaeyoon83This is an MCP server that allows you to directly download transcripts of YouTube videos.
百度地图 MCP Server
baidu-mapsBaidu Map MCP Server
Melrōse - programming of music melodies
emickleiinteractive programming of melodies, producing MIDI
评论