Weather MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Weather MCP Serverwhat's the temperature in Tokyo?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Weather MCP Server
An example Model Context Protocol (MCP) server that exposes a get_weather tool, letting any MCP-compatible AI client fetch current temperatures by city name.
How it works
Resolves the city name to coordinates via the Open-Meteo Geocoding API
Fetches the current temperature from the Open-Meteo Forecast API
No API key required — both APIs are free and open.
Related MCP server: MCP Weather Server
Tool
Tool | Description | Input |
| Get current temperature for a city |
|
Example response: San Francisco: 14.2°C
Setup
npm installRunning the server
node weather-server.jsThe server communicates over stdio using the MCP protocol.
Connecting to Claude Code
The repo includes a .mcp.json file that Claude Code picks up automatically. When you open this directory in Claude Code, the weather-server MCP server is registered and the get_weather tool becomes available.
To connect manually, add the following to your MCP client config:
{
"mcpServers": {
"weather-server": {
"command": "node",
"args": ["./weather-server.js"]
}
}
}Requirements
Node.js 18+ (native
fetchrequired)No external API keys
This server cannot be deployed
Maintenance
Related MCP Connectors
Current temperature for a city via Open-Meteo. Query discarded after the call.
Real-time weather conditions and multi-day forecasts via Open-Meteo — free, no API key required
Global weather via Open-Meteo: forecast, historical, marine, air quality, geocoding, elevation.
Get current weather for any city and create images from your prompts. Streamline planning, reports…
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides weather information using Open-Meteo API without requiring an API key. Supports weather queries by city name or coordinates with customizable temperature units.-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents like GitHub Copilot to retrieve real-time weather data for any city using the Open-Meteo API, no API key required.9-
- FlicenseNot gradedqualityDmaintenanceEnables querying current weather, 7-day forecast, UV index, and air quality for any city using the free Open-Meteo API, without requiring an API key.15 npm-
- AlicenseAqualityCmaintenanceEnables real-time weather forecasts for any city using the Open-Meteo API, with automatic geocoding and no API keys required.15 npmMIT