Weather MCP 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., "@Weather MCP Serverwhat's the weather in London?"
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 Test Weather Server
This project is a small Python MCP server that exposes a get_weather tool.
The tool accepts a city name, calls the OpenWeatherMap API, and returns current
temperature, weather description, and humidity.
What It Contains
mcp_server.py: Defines the MCP server, registers theget_weathertool, and serves it over Streamable HTTP using Starlette/Uvicorn.agent.py: Defines a LangGraph workflow that fetches weather data withhttpx.requirements.txt: Python dependencies for the server.
Related MCP server: Weather MCP Server
Requirements
Python 3.13 or newer
An OpenWeatherMap API key
Setup
Create and activate a virtual environment:
python -m venv .venv
source .venv/bin/activateInstall dependencies:
pip install -r requirements.txtConfigure Weather API
The weather client in agent.py currently uses an OpenWeatherMap API key in the
API_KEY constant. For local development, replace it with your own key before
running the server.
Run The Server
Start the MCP server:
python mcp_server.pyThe server listens on:
http://0.0.0.0:7070Available MCP Tool
get_weather
Gets current weather information for a city.
Input schema:
{
"city": "Ahmedabad"
}Example response text:
Ahmedabad: 31.2°C, clear sky, humidity 42%If no city is provided, the agent defaults to Ahmedabad.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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
Free, keyless real-time weather and 7-day forecasts for any city worldwide.
OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
Current temperature for a city via Open-Meteo. Query discarded after the call.
Get current weather for any city and create images from your prompts. Streamline planning, reports…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables users to get current weather information for any city using the OpenWeatherMap API. Returns formatted weather data including temperature, humidity, and weather description through natural language queries.MIT
- AlicenseNot gradedqualityDmaintenanceEnables querying real-time weather and 5-day forecasts for any city using the OpenWeatherMap API.134MIT
- AlicenseBqualityDmaintenanceProvides current weather data for any location using the OpenWeatherMap API.1GPL 3.0
- AlicenseBqualityDmaintenanceProvides current weather conditions and 5-day forecasts for any city worldwide using the OpenWeatherMap API.2MIT
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/riishiiiii/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server