JUHE API Marketplace
bensinclair avatar
MCP Server

Weather MCP Server

A Model Context Protocol server that retrieves current weather information for any city using the OpenWeatherMap API, designed for integration with Claude Code.

1
GitHub Stars
3/10/2026
Last Updated
MCP Server Configuration
1{
2 "name": "weather",
3 "command": "node",
4 "args": [
5 "index.js"
6 ],
7 "cwd": "/path/to/weather-mcp-server"
8}
JSON8 lines
  1. Home
  2. MCP Servers
  3. weather-mcp-server

README Documentation

Weather MCP Server

A Model Context Protocol (MCP) server that provides weather information using the OpenWeatherMap API.

Prerequisites

  • Node.js (v14 or higher)
  • npm
  • OpenWeatherMap API key

Setup

  1. Clone or download this repository

  2. Install dependencies:

    npm install
    
  3. Create a .env file in the root directory:

    touch .env
    
  4. Add your OpenWeatherMap API key to the .env file:

    OPENWEATHER_API_KEY=your_openweathermap_api_key_here
    

    You can get a free API key from OpenWeatherMap.

Usage with Claude Code

Add this server to your MCP configuration file:

{
  "weather": {
    "command": "node",
    "args": ["index.js"],
    "cwd": "/path/to/weather-mcp-server"
  }
}

Available Tools

  • getWeather: Get current weather information for any city

Testing

Run the test suite:

npm test

Environment Variables

VariableDescriptionRequired
OPENWEATHER_API_KEYYour OpenWeatherMap API keyYes

Example Usage

Once configured with Claude Code, you can ask for weather information:

  • "What's the weather in London?"
  • "Get me the current weather in Tokyo"
  • "How's the weather in New York?"

Quick Install

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.aiFeatured on ShowMeBestAI
Copyright © 2026 JUHEDATA HK LIMITED - All rights reserved