Weather MCP Server
@szypetike
About Weather MCP Server
A Model Context Protocol server that provides weather information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"weather-server": {
"command": "node",
"args": [
"path/to/weather-server/build/index.js"
],
"env": {
"OPENWEATHER_API_KEY": "your-api-key-here"
},
"disabled": false,
"autoApprove": []
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Weather MCP Server?
A Model Context Protocol (MCP) server that provides current weather information for cities worldwide, using the OpenWeather API or fallback mock data. It is designed for use with MCP-compatible AI assistants like Claude.
How to use Weather MCP Server?
Install Node.js v14+, clone the repository, run npm install and npm run build, then start with npm start. Configure as an MCP tool by adding a JSON entry to your MCP settings, optionally providing an OpenWeather API key via the OPENWEATHER_API_KEY environment variable.
Key features of Weather MCP Server
- Returns temperature, humidity, wind, and other current conditions.
- Automatically falls back to mock data if no API key is provided or the API request fails.
- Requires only Node.js and an optional API key.
- Provides a single tool:
get_current_weather. - Works with any city name as input.
Use cases of Weather MCP Server
- AI assistant answering "What's the weather in London?" with real-time data.
- Development and testing of MCP workflows without an API key.
- Demonstrating weather lookups during demos or tutorials.
FAQ from Weather MCP Server
How does Weather MCP Server differ from alternatives?
The README does not mention any alternatives.
What are the runtime requirements?
Node.js v14 or higher and npm or yarn.
Where does the weather data come from?
Real-time data from the OpenWeather API if an API key is provided. Otherwise, mock data for predefined cities (London, New York, Tokyo, Paris, Sydney) and default mock data for other cities.
What happens if the API request fails?
The server falls back to mock data and indicates the source in the response.
How do I obtain an OpenWeather API key?
Sign up at openweathermap.org and generate an API key from your account’s API keys section.
Frequently asked questions
How does Weather MCP Server differ from alternatives?
The README does not mention any alternatives.
What are the runtime requirements?
Node.js v14 or higher and npm or yarn.
Where does the weather data come from?
Real-time data from the OpenWeather API if an API key is provided. Otherwise, mock data for predefined cities (London, New York, Tokyo, Paris, Sydney) and default mock data for other cities.
What happens if the API request fails?
The server falls back to mock data and indicates the source in the response.
How do I obtain an OpenWeather API key?
Sign up at openweathermap.org and generate an API key from your account’s API keys section.
Basic information
More Media & Design MCP servers

Google Maps
modelcontextprotocolModel Context Protocol Servers

Lamina — On-brand product photos, video & try-ons
LaminaGenerate on brand product videos from Claude Code (or any assistant) in one line. Lamina turns a brief + your brand kit into finished product photos, video reels, and campaign banners - no prompt engineering; brand guard
YouTube Transcript MCP Server
jkawamotoMCP server retrieving transcripts of YouTube videos
百度地图 MCP Server
baidu-mapsBaidu Map MCP Server
Figma MCP Server
thirdstrandstudioFigma MCP Server with full API functionality
Comments