MC
MPC OpenWeatherMap Server
A simple MCP server that provides current weather information using the OpenWeatherMap API.
Setup
- Install dependencies using
uv:
uv venv
uv sync
- Create a
.envfile with your OpenWeatherMap API key:
OPENWEATHERMAP_API_KEY=your_api_key_here
You can get an API key by registering at OpenWeatherMap API.
Running the Server
{
"mcpServers": {
"weather": {
"command": "uv",
"args": ["tool", "run", "--from", "git+https://github.com/leonhardholz/mcp-openweathermap.git", "mcp-openweathermap"],
"env": {
"OPENWEATHERMAP_API_KEY": "your_api_key_here"
}
}
}
}
API Usage
Get Current Weather
Response:
{
"location": "Berlin",
"coordinates": {
"lat": 52.5244,
"lon": 13.4105
},
"country": "DE",
"current_conditions": {
"temperature": {
"value": 18.2,
"unit": "C"
},
"weather_text": "clear sky",
"feels_like": 17.5,
"humidity": 65,
"pressure": 1013,
"wind_speed": 2.5,
"wind_direction": 180,
"cloudiness": 10,
"observation_time": 1683721962,
"visibility": 10000
}
}
The API provides:
- Current weather conditions including temperature, weather description, humidity, and wind speed
- Additional details such as:
- Atmospheric pressure
- Wind direction
- Cloudiness percentage
- Visibility
- Rain and snow data (when applicable)
Transport:
stdio
Language: 
Created: 4/14/2025
Updated: 5/5/2025
Recommend MCP Servers 💡
@ticktick/mcp-server
TickTeam
An MCP server for TickTick, enabling viewing, managing, and creating todo tasks.
2025-04-16
gantt-server
Moss-G
一个专为甘特图管理设计的MCP服务器,允许AI助手通过标准化接口创建、管理和可视化甘特图项目与任务。
2025-04-19
github-repos-manager-mcp
kurdin
GitHub repository management MCP server for interacting with GitHub via MCP clients
2025-06-02
@zcaceres/gtasks
zcaceres
A Google Tasks Model Context Protocol Server for Claude
2024-12-17
lincw/dwd-mcp-server
lincw
A simple MCP server connecting Claude Desktop to the Deutsche Wetterdienst (DWD) API for German weather data
2025-04-04
mcp-netbird
aantti
A Model Context Protocol (MCP) server for Netbird that provides LLMs with information about Netbird network configuration and status.
2025-03-24