MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

MCP server by Mohammed-Jameal-J

创建于 3/24/2026
更新于 about 4 hours ago
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 🚀

快速设置
此服务器的安装指南

安装包 (如果需要)

uvx mcp-weather-server

Cursor 配置 (mcp.json)

{ "mcpServers": { "mohammed-jameal-j-mcp-weather-server": { "command": "uvx", "args": [ "mcp-weather-server" ] } } }