Weather MCP Server

Weather MCP Server

Retrieves current weather information for any location using the OpenWeatherMap API with configurable temperature units (Celsius or Fahrenheit).

Category
Visit Server

README

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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured