Weather MCP Server
Retrieves current weather information for any location using the OpenWeatherMap API with configurable temperature units (Celsius or Fahrenheit).
README
Weather MCP Server
A simple Model Context Protocol (MCP) server for retrieving weather information.
Built with Smithery SDK
Prerequisites
- Smithery API key: Get yours at smithery.ai/account/api-keys
- OpenWeatherMap API key: Get yours at openweathermap.org/api
Getting Started
-
Install dependencies:
npm install -
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 keytemperatureUnit(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 toolssmithery.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:
-
Create a new repository at github.com/new
-
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 -
Deploy your server to Smithery at smithery.ai/new
Learn More
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.