Weather Data Fetcher
FreeNot checkedEnables AI agents to retrieve live weather updates for any city via OpenWeatherMap, wrapped in MCP format.
About
Enables AI agents to retrieve live weather updates for any city via OpenWeatherMap, wrapped in MCP format.
README
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
🛠 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 install
- Create a
.envfile with your OpenWeatherMap API key:
OPENWEATHER_API_KEY=your_api_key_here
- Run 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 📧 [email protected] 🔗 GitHub | LinkedIn
Installing Weather Data Fetcher
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/Ansh642/MCP-ServerFAQ
Is Weather Data Fetcher MCP free?
Yes, Weather Data Fetcher MCP is free — one-click install via Unyly at no cost.
Does Weather Data Fetcher need an API key?
No, Weather Data Fetcher runs without API keys or environment variables.
Is Weather Data Fetcher hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Weather Data Fetcher in Claude Desktop, Claude Code or Cursor?
Open Weather Data Fetcher on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Weather Data Fetcher with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
