A lightweight Model Context Protocol (MCP) server that gives AI assistants the ability to fetch real-time weather data for any city using the OpenWeatherMap API.
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": {
"weather-mcp-server": {
"command": "uvx",
"args": [
"weather-mcp-server"
]
}
}
}
📋 Copy
Run in terminal:
claude mcp add weather-mcp-server uvx weather-mcp-server
📋 Copy
Add to .cursor/mcp.json:
{
"mcpServers": {
"weather-mcp-server": {
"command": "uvx",
"args": [
"weather-mcp-server"
]
}
}
}
📋 Copy
Or install with pip: pip install weather-mcp-server