M
MCP Weather Server
MCP server by Mohammed-Jameal-J
Created 3/24/2026
Updated about 4 hours ago
README
Repository documentation and setup instructions
🌦️ MCP Weather Server
A weather tool built using Model Context Protocol (MCP) that integrates with Claude Desktop.
🚀 Features
- Get weather alerts by US state
- Get detailed weather forecast using latitude & longitude
- Built using FastMCP and async Python
🛠️ Tech Stack
- Python
- MCP (Model Context Protocol)
- httpx (async API requests)
📦 Setup
# Install uv (if not installed)
irm https://astral.sh/uv/install.ps1 | iex
# Run server
uv run --with mcp[cli] mcp run main.py
🔌 Claude Integration
Add this to your MCP config:
"weather": {
"command": "C:\\Users\\Admin\\.local\\bin\\uv.exe",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"C:\\path\\to\\main.py"
]
}
🧪 Example Usage
- "Use the get_alerts tool for TX"
- "Use the get_forecast tool with latitude 31.9686 and longitude -99.9018"
📌 Future Improvements
- Add city → lat/lon conversion
- Support global weather APIs
- UI dashboard
Built by Mohammed Jameal 🚀
Quick Setup
Installation guide for this server
Install Package (if required)
uvx mcp-weather-server
Cursor configuration (mcp.json)
{
"mcpServers": {
"mohammed-jameal-j-mcp-weather-server": {
"command": "uvx",
"args": [
"mcp-weather-server"
]
}
}
}