
openweather mcp
A simple MCP to view the current weather in any city using the Open Weather API
Repository Info
About This Server
A simple MCP to view the current weather in any city using the Open Weather API
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Weather MCP Project
This project is a Model Context Protocol (MCP) server that fetches weather information using the OpenWeatherMap API.
Prerequisites
- API Key: You need an API key from OpenWeatherMap. Ensure you have access to the following APIs:
- Geocoding API
- Current Weather Data API
Installation
- Clone the repository.
- Install dependencies:
npm install
Usage
Run the MCP server with the following command:
node main.ts --api-key <YOUR_API_KEY>
Replace <YOUR_API_KEY> with your OpenWeatherMap API key.
Features
- Fetches weather information for a given city.
- Provides concise weather summaries.
Notes
- Ensure your API key has access to both the Geocoding API and the Current Weather Data API from OpenWeatherMap.
- The server uses
yargsfor command-line argument parsing.
License
This project is licensed under the MIT License.
Quick Start
Clone the repository
git clone https://github.com/zerofelx/openweather-mcpInstall dependencies
cd openweather-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.