arjunkmrm

Weather MCP Server

Community arjunkmrm
Updated

Weather MCP Server

smithery badge

A simple Model Context Protocol (MCP) server for retrieving weather information.

Built with Smithery SDK

Prerequisites

Getting Started

  1. Install dependencies:

    npm install
    
  2. Start development server:

    npm run dev
    

The server will open in your browser at http://localhost:8081 with an interactive Smithery playground.

Configuration

  • weatherApiKey (required): Your OpenWeatherMap API key
  • temperatureUnit (optional): Set to "celsius" or "fahrenheit" (default: "celsius")

Example connection URL:

http://localhost:8081/mcp?weatherApiKey=your_api_key&temperatureUnit=fahrenheit

Available Tools

get-weather

Get current weather for a location.

Input:

  • location (string, required): City name

Output:

  • Location, temperature, and weather condition

Development

Your code is organized as:

  • src/index.ts - MCP server with tools
  • smithery.yaml - Runtime specification

Build

npm run build

Creates bundled server in .smithery/

Deploy

Ready to deploy? Push your code to GitHub and deploy to Smithery:

  1. Create a new repository at github.com/new

  2. Initialize git and push to GitHub:

    git add .
    git commit -m "Initial commit"
    git remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO.git
    git push -u origin main
    
  3. Deploy your server to Smithery at smithery.ai/new

Learn More

MCP Server · Populars

MCP Server · New

    destinyfrancis

    Open CLAW Knowledge Distiller 🦞📚

    Open CLAW Knowledge Distiller · 龍蝦知識蒸餾器 — Turn YouTube/Bilibili videos into structured knowledge articles. Local Qwen3-ASR MLX + AI summarization. MCP server for Claude Code / Open CLAW agents.

    Community destinyfrancis
    RelayPlane

    @relayplane/proxy

    Open source cost intelligence proxy for AI agents. Cut costs ~80% with smart model routing. Dashboard, policy engine, 11 providers. MIT licensed.

    Community RelayPlane
    civyk-official

    WinWright

    Playwright-style MCP server for Windows desktop, system, and browser automation. 110 tools for WPF, WinForms, Win32, Chrome/Edge via Model Context Protocol.

    Community civyk-official
    mavdol

    Capsule

    A secure, durable runtime for AI agents. Run untrusted code in isolated WebAssembly sandboxes.

    Community mavdol
    easyshell-ai

    EasyShell

    Lightweight server management & intelligent ops platform with Docker one-click deployment, batch script execution, web terminal, and AI-powered operations.

    Community easyshell-ai