
Weather MCP Server
This MCP server fetches weather data from the National Weather Service API. It provides two tools:
-
get_alerts(state: str)
Returns active weather alerts for a given US state (using its two-letter code). -
get_forecast(latitude: float, longitude: float)
Returns a short-term weather forecast for a specified location.
Requirements
- Python 3.7+
- httpx
- MCP Framework mcp[cli]
so install, run:
uv add mcp[cli] httpx requests
Usage
Run the server with:
uv run weather.py
The server uses standard I/O for communication.
MCP Client Configuration
configuration snippet for your MCP client (config.json
):
{
"mcpServers": {
"weather": {
"command": "C:/path/to/your/uv",
"args": [
"--directory",
"C:/path/to/your/project",
"run",
"weather.py"
]
}
}
}
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Advanced software engineer GPT that excels through nailing the basics.
Converts Figma frames into front-end code for various mobile frameworks.
Take an adjectivised noun, and create images making it progressively more adjective!
Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.
Die All-in-One-Desktop & Docker-AI-Anwendung mit integriertem Lappen, AI-Agenten, No-Code-Agent Builder, MCP-Kompatibilität und vielem mehr.
Fair-Code-Workflow-Automatisierungsplattform mit nativen KI-Funktionen. Kombinieren Sie visuelles Gebäude mit benutzerdefiniertem Code, SelbstHost oder Cloud, 400+ Integrationen.
🧑🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.
Mirror ofhttps: //github.com/bitrefill/bitrefill-mcp-server
Reviews

user_f1BUYuYu
I'm thoroughly impressed with the mcp-server-weather by matrupriya2048. This tool is incredibly efficient at fetching and displaying weather data seamlessly. It's an essential server-side solution for anyone needing accurate and real-time weather updates. Highly recommend checking it out on GitHub!