MCP Weather Server
Click on "Install 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., "@MCP Weather ServerWhat's the 5-day forecast for New York City?"
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.
MCP Weather Server
This repository provides a simple Model Context Protocol (MCP) server written in Python that exposes weather data as tools. It is packaged so it can be published to GitHub and (optionally) to PyPI.
The server is built on the official mcp Python SDK and uses the free Open‑Meteo APIs (no API key required).
Features
MCP-compliant server using
FastMCPTwo tools:
get_current_weather– current conditions for a cityget_daily_forecast– daily forecast for a city for the next N days
Runs locally in Python (stdio transport by default)
Installation
From the project root:
pip install -e .Or, using uv:
uv syncRunning the MCP server locally
You can run the server directly via the console script:
python -m mcp_weather_server.serverOr, if installed as a package:
mcp-weather-serverBy default it uses the stdio transport, which works with MCP-compatible clients (e.g. IDE integrations or LLM apps that support MCP).
Connecting with MCP Inspector (optional)
To experiment via HTTP instead of stdio, you can set the transport to streamable-http inside server.py and then run:
uv run --with mcp python -m mcp_weather_server.serverThen start the MCP Inspector:
npx -y @modelcontextprotocol/inspectorand connect to http://localhost:8000/mcp.
Git conventions
Commit messages must follow Conventional Commits (e.g.
feat: add daily forecast tool,fix(server): handle API errors).A Cursor rule at
.cursor/rules/git-conventional-commits.mdcdocuments the allowed types and format.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceProvides real-time weather information for any city worldwide using the Open-Meteo API, returning current temperature, wind speed, and geographic coordinates through a containerized MCP server.Last updated
- Alicense-qualityDmaintenanceMCP Server for global weather, forecasts, air quality, and climate data using Open-Meteo, no API key required.Last updatedMIT
- Flicense-qualityDmaintenanceMCP server that integrates OpenWeatherMap API to fetch current weather for a specified city.Last updated
- Flicense-qualityDmaintenanceMCP server that provides current weather and forecasts via Open-Meteo API, with an optional ML-based next-day max temperature prediction.Last updated
Related MCP Connectors
OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs
WeatherAPI.com MCP — wraps WeatherAPI.com (api.weatherapi.com)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/damerakd/mcp-weather-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server