weather-mcp-server
by ezh0v·★ 244·Score 49
A lightweight Go MCP server that provides real-time weather data to AI assistants.
Overview
This MCP server enables AI assistants like Claude to retrieve and interpret real-time weather information through a simple API interface. It's built in Go and follows the MCP protocol specification to expose weather-related tools. The server integrates with WeatherAPI to provide current weather data for specified cities, making it easy for AI systems to incorporate real-time weather information into their responses.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server if you need simple, real-time weather data integration for AI assistants without complex configuration.
When NOT to choose this
Don't choose this server if you need extensive historical weather data, forecasts beyond current conditions, or integration with other weather services.
Tools this server exposes
1 tool extracted from the READMEcurrent_weatherGets the current weather for a city
Comparable tools
Installation
Installation
Claude Desktop Configuration
Add the server to your Claude configuration:
{
"mcpServers": {
"weather-mcp-server": {
"command": "/path/to/weather-mcp-server",
"env": {
"WEATHER_API_KEY": "your-api-key"
}
}
}
}Build from Source
go build -o weather-mcp-server ./cmd/weather-mcp-serverDocker
docker build -t weather-mcp-server .
docker run -e WEATHER_API_KEY=your-api-key -d --name weather-mcp-server -p 8000:8000 weather-mcp-serverFAQ
- What weather data can be retrieved?
- The server provides current weather information for specified cities using the WeatherAPI service.
- How do I get an API key?
- You can obtain an API key by creating an account on WeatherAPI (https://www.weatherapi.com/my/).
Compare weather-mcp-server with
Last updated · Auto-generated from public README + GitHub signals.