MCP Weather Data Fetcher
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 Data Fetcherwhat's the weather in New York?"
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 Data Fetcher
A simple yet powerful weather-fetching tool built using the Model Context Protocol (MCP). This service allows AI agents to retrieve live weather updates for any city via OpenWeatherMap, wrapped in an agent-friendly format using MCP standards.
🚀 Features
Real-time weather data via OpenWeatherMap API
MCP-compatible tool (
getWeatherData)Returns structured details: temperature, humidity, wind speed, and description
Agent-friendly response formatting
CLI-compatible using Stdio transport
Related MCP server: Weather MCP Server
🛠 Tech Stack
Node.js
MCP SDK (
@modelcontextprotocol/sdk)OpenWeatherMap API
zod (for input validation)
dotenv
📦 Setup
Clone the repo & install dependencies:
git clone https://github.com/Ansh642/MCP-Server.git
cd mcp-weather-fetcher
npm installCreate a
.envfile with your OpenWeatherMap API key:
OPENWEATHER_API_KEY=your_api_key_hereRun the MCP server:
node index.js(Optional) Define the server in
mcp.json:
{
"mcpServers": {
"weatherData": {
"command": "node",
"args": ["C:/Users/91995/Desktop/mcpServer/index.js"]
}
}
}💬 Example Interaction
>> Call tool: getWeatherData with { "city": "Delhi" }
✅ Weather Report for Delhi:
- Temperature: 34.9°C
- Feels Like: 37.1°C
- Humidity: 45%
- Weather: Clear
- Description: clear sky
- Wind Speed: 3.6 m/s👤 Author
Ansh Agarwal 📧 anshagarwal642@gmail.com 🔗 GitHub | LinkedIn
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 Servers
- FlicenseBqualityDmaintenanceEnables AI agents to retrieve real-time weather conditions and forecasts via OpenWeatherMap API. Supports interactive weather queries and travel planning through MCP tools, resources, and prompts.Last updated2
- Alicense-qualityDmaintenanceProvides weather data from OpenWeatherMap API through MCP tools and a REST API with OpenAPI support. Enables LLM agents to retrieve current weather, forecasts, and temperature ranges by city or coordinates.Last updated32MIT
- Alicense-qualityCmaintenanceWraps the OpenWeatherMap API to provide weather data through MCP, enabling AI agents to query current conditions, forecasts, and other weather information via natural language.Last updated21MIT
- Alicense-qualityCmaintenanceProvides weather data from WeatherAPI.com through MCP, enabling AI agents to query current conditions and forecasts via natural language.Last updated14MIT
Related MCP Connectors
OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
WeatherAPI.com MCP — wraps WeatherAPI.com (api.weatherapi.com)
Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs
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/Ansh642/MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server