Weather MCP Server
@bittush8789
关于 Weather MCP Server
Creating MCP (Model Context Protocol) weather-related projects involves setting up an MCP server that can fetch and provide weather data.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-bittush8789": {
"command": "uv",
"args": [
"run",
"weather.py"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Weather MCP Server?
The Weather MCP Server fetches weather data from the National Weather Service API. It provides two tools: get_alerts for active weather alerts in a US state and get_forecast for a short-term forecast at a given latitude/longitude. It is intended for developers using the Model Context Protocol (MCP) framework.
How to use Weather MCP Server?
Install dependencies using uv add mcp[cli] httpx requests, then run the server with uv run weather.py. The server communicates via standard I/O. For MCP client integration, add a configuration entry to your config.json specifying the path to uv and the project directory.
Key features of Weather MCP Server
get_alerts(state)returns active weather alerts for a US state.get_forecast(latitude, longitude)returns a short-term forecast.- Leverages the National Weather Service API.
- Requires Python 3.7+ and the httpx library.
- Uses standard I/O for transport.
Use cases of Weather MCP Server
- Checking severe weather alerts for a specific US state.
- Obtaining a short-term weather forecast for a coordinate location.
- Integrating live weather data into any MCP‑compatible client.
FAQ from Weather MCP Server
What data source does the server use?
It fetches weather data from the National Weather Service API.
What tools are available?
The server offers get_alerts(state) for alerts and get_forecast(latitude, longitude) for forecasts.
What are the software requirements?
Python 3.7 or later, the httpx library, and the MCP framework package mcp[cli].
How do I configure an MCP client to use this server?
Add an entry to your client’s config.json with the command set to your uv binary and arguments including --directory, the project path, run, and weather.py.
What transport mechanism does the server use?
The server communicates over standard I/O (stdio).
媒体与设计 分类下的更多 MCP 服务器
yt-dlp-mcp
kevinwattA Model Context Protocol (MCP) server that bridges Video & Audio content with Large Language Models using yt-dlp.
YouTube Transcript MCP Server
jkawamotoMCP server retrieving transcripts of YouTube videos
YouTube MCP Server
anaisbettsA Model-Context Protocol Server for YouTube
RustChain MCP
ScottcjnMCP server for RustChain blockchain and BoTTube video platform — AI agent tools for earning RTC tokens. Built on createkr's RustChain SDK.
Figma MCP Server
JayArrowzFigma MCP Server with full API functionality
评论