A Python-based MCP (Model Context Protocol) server that connects Claude Desktop to the OpenWeatherMap API, enabling Claude to fetch real-time weather data for any city worldwide.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Claude Desktop
Claude Code
Cursor
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp-weather-server": {
"command": "uvx",
"args": [
"mcp-weather-server"
]
}
}
}
📋 Copy
Run in terminal:
claude mcp add mcp-weather-server uvx mcp-weather-server
📋 Copy
Add to .cursor/mcp.json:
{
"mcpServers": {
"mcp-weather-server": {
"command": "uvx",
"args": [
"mcp-weather-server"
]
}
}
}
📋 Copy
Or install with pip: pip install mcp-weather-server