What tool does this MCP server provide?
It provides a single tool: `current_weather`, which accepts a required `city` (string) parameter.
@TuanKiri
Basic information
A lightweight Model Context Protocol (MCP) server that enables AI assistants like Claude to retrieve and interpret real-time weather data. Discuss on Hacker News:
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"weather-mcp-server": {
"command": "docker",
"args": [
"build",
"-t",
"weather-mcp-server",
"."
]
}
}
}Gets the current weather for a city
A lightweight Model Context Protocol (MCP) server that enables AI assistants like Claude to retrieve and interpret real-time weather data. It connects to the WeatherAPI service and exposes a current_weather tool for querying weather by city name.
Configure it in Claude Desktop by adding a JSON entry to the mcpServers object. Use the local mode with a compiled binary and the WEATHER_API_KEY environment variable, or the remote mode via an SSE URL. Alternatively, build from source with go build -o weather-mcp-server ./cmd/weather-mcp-server or run the Docker container with docker run -e WEATHER_API_KEY=your-api-key -d --name weather-mcp-server -p 8000:8000 weather-mcp-server.
current_weather toolIt provides a single tool: `current_weather`, which accepts a required `city` (string) parameter.
You can obtain a free API key from your personal account on [WeatherAPI](https://www.weatherapi.com/my/).
Compile the binary using Go (`go build -o weather-mcp-server ./cmd/weather-mcp-server`) or use the provided Docker image. Then add the binary path and API key to your Claude configuration in local mode.
Yes. In remote mode, you configure the server’s SSE URL (e.g., `http://host:port/sse`) in the Claude configuration instead of a local command.
The server is a Go binary with no external runtime dependencies beyond the API key. Building from source requires Go, and the Docker image has no host prerequisites other than Docker.

Build and run AI product photography workflows from your AI assistant: on-model shots, catalog images, prints and edits, with results returned in chat.
Continuing education rules for US financial advisors (CFP, CFA, IWI, IAR by state, FINRA, American College) with official sources and verified dates, plus firm-level data, national and state rankings and market stats on

Free sound effects, music and ambience for games, videos and apps. Search by mood, tempo, key or use, play previews and download full-quality files, each with 35 metadata fields.

Drive Veltake Studio from any AI agent: create film and ad projects, have the Studio agent build scenes on the canvas, price and start renders, export edited cuts, and make single images, video, speech and music in one c
Generate and edit images with GPT Image 2.5 for $0.029 each. A free you.bot key (not an OpenAI key) comes with 50 credits — about 17 images — and needs no credit card.
Comments