weather-mcp-server
Used to store and access environment variables like the WeatherAPI key
Used as the web framework to build the MCP server API endpoints
Used for version control of the codebase
Hosts the repository for the MCP server code
The programming language the MCP server is built with
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., "@weather-mcp-serverwhat's the weather forecast for Tokyo this weekend?"
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
A Model Context Protocol (MCP) server for weather data, built with FastAPI and the MCP framework. This server provides various weather-related tools that can be used by AI assistants to retrieve current weather conditions, forecasts, air quality data, and more.
Features
Current weather conditions
Weather forecasts (1-14 days)
Historical weather data
Weather alerts
Air quality information
Astronomy data (sunrise, sunset, moon phases)
Location search
Timezone information
Sports events
Related MCP server: mcp-weather
Requirements
Python 3.13+
uv package manager
WeatherAPI API key
Installation
Installing via Smithery
To install Weather Data Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claudeManual Installation
Clone this repository:
git clone https://github.com/yourusername/Weather_mcp_server.git cd Weather_mcp_serverInstall dependencies using uv:
uv venv uv pip install -e .Create a
.envfile in the project root with your WeatherAPI key:WEATHER_API_KEY=your_api_key_here
Usage
Run the server:
python main.pyThe server will start on http://localhost:8000 by default.
License
This project is licensed under the MIT License - see the LICENSE file for details.
This server cannot be installed
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 Connectors
An MCP server for weather information by @kulybaba
An MCP server for weather information by @kulybaba
MCP server for weather with reasoning — umbrella advice, outdoor checks, city comparisons.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceA weather-reactive MCP server that renders rich Open-Meteo weather widgets and provides plain JSON weather data, all without an API key.
- FlicenseNot gradedqualityBmaintenanceA minimal MCP server that provides current weather and forecasts for any city using the free Open-Meteo API, no API key required.23
- FlicenseNot gradedqualityCmaintenanceA simple MCP server providing weather lookup and number addition tools.
- FlicenseBqualityCmaintenanceA small MCP server that provides a single tool to get current weather for any city via a proxy endpoint.1
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/sjanaX01/weather-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server