Best for
- Developers looking to integrate real-time weather into Claude Desktop
- Use cases requiring caching for faster responses
- Developers interested in Clean Architecture and SOLID principles
This project is a well-featured weather MCP server with a clean architecture and clear tool interfaces. Suitable for developers wanting to integrate weather queries into Claude.
The Weather MCP Server is a TypeScript-based MCP server built with Clean Architecture and SOLID principles. It enables Claude Desktop to query real-time weather, 5-day forecasts, history, and cache statistics via OpenWeatherMap, PostgreSQL, and Redis.
{
"mcpServers": {
"weather-mcp": {
"command": "node",
"args": [
"/caminho/completo/para/weather-mcp-server/dist/mcp-entry.js"
],
"env": {
"WEATHER_API_KEY": "SUA_API_KEY_OPENWEATHERMAP",
"DATABASE_URL": "postgresql://mcp_user:mcp_pass@localhost:5432/weather_mcp",
"REDIS_URL": "redis://localhost:6379",
"NODE_ENV": "production",
"LOG_LEVEL": "error",
"MCP_MODE": "true"
}
}
}
}