zerofelx
MCP Serverzerofelxpublic

openweather mcp

A simple MCP to view the current weather in any city using the Open Weather API

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
TypeScript
Language
-
License

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

  1. API Key: You need an API key from OpenWeatherMap. Ensure you have access to the following APIs:
    • Geocoding API
    • Current Weather Data API

Installation

  1. Clone the repository.
  2. 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 yargs for command-line argument parsing.

License

This project is licensed under the MIT License.

Quick Start

1

Clone the repository

git clone https://github.com/zerofelx/openweather-mcp
2

Install dependencies

cd openweather-mcp
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerzerofelx
Repoopenweather-mcp
LanguageTypeScript
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation