Basic information
About OpenWeatherMap MCP Server
OpenWeatherMap API offers current conditions, forecasts, and weather alerts for travel planning and weather-dependent applications.
OpenWeatherMap is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by robertn702. Supported transport: stdio. Runtime: JavaScript. License: MIT. The repository has 3 GitHub stars. Source code is hosted on github.com. Related topics: ai-assistant, community, developer-tools, openweathermcp, weather-api.
Setup
{
"mcpServers": {
"openweathermap": {
"command": "npx",
"args": [
"mcp-openweathermap"
],
"env": {
"OPENWEATHER_API_KEY": "your-api-key-here"
}
}
}
}
{
"mcpServers": {
"openweathermap": {
"command": "npx",
"args": [
"mcp-openweathermap"
],
"env": {
"OPENWEATHER_API_KEY": "your-api-key-here"
}
}
}
}
{
"servers": {
"openweathermap": {
"command": "npx",
"args": [
"mcp-openweathermap"
],
"env": {
"OPENWEATHER_API_KEY": "your-api-key-here"
}
}
}
}
OpenWeatherMap MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"openweathermap": {
"command": "npx",
"args": [
"mcp-openweathermap"
],
"env": {
"OPENWEATHER_API_KEY": "your-api-key-here"
}
}
}
}
OpenWeatherMap MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is OpenWeatherMap?
Openweathermcp is a Model Context Protocol (MCP) server that integrates the OpenWeatherMap API, providing AI assistants with comprehensive weather data access including current conditions, forecasts, air quality, maps, alerts, and historical data.
How to use OpenWeatherMap?
Install via npm install -g openweather-mcp, set the OPENWEATHER_API_KEY environment variable with a valid OpenWeatherMap API key, then run npx openweather-mcp or configure it as an MCP server in Claude Desktop or any MCP-compatible client.
Key features of OpenWeatherMap
- Current weather queries with temperature, humidity, wind, pressure
- 5‑day/3‑hour weather forecasts with trend analysis
- Real‑time air quality index and pollutant concentration data
- Multi‑layer weather map tiles (clouds, precipitation, temperature)
- Government‑issued weather alerts and safety advisories
- Historical weather queries and multi‑day comparison
Use cases of OpenWeatherMap
- An AI assistant provides real‑time weather for a user‑specified city
- A travel planner automatically fetches 5‑day forecasts for destinations
- Health‑focused apps display local air quality levels
- Emergency bots relay official weather warnings from the user’s area
Frequently asked questions
1 What does Openweathermcp do that a direct OpenWeatherMap API call does not?
It wraps the OpenWeatherMap API into an MCP interface, enabling any MCP‑compatible AI client to access weather data through natural language tool calls without writing custom integration code.
2 What runtime and credentials are required?
Node.js 18.0.0 or higher and a free or paid OpenWeatherMap API key set as the OPENWEATHER_API_KEY environment variable.
3 Where does the weather data come from?
All data is fetched in real‑time from the OpenWeatherMap API servers. The server itself stores no persistent data.
4 Are there any usage limits or paid features?
Free accounts have call limits. Historical weather data requires a paid subscription, and weather alerts require a One Call API 3.0 subscription.
5 Does the server support city names in any language?
Yes. It first attempts a direct query; if that fails, it automatically falls back to geocoding to convert the city name (any language) into coordinates and re‑queries.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In