Weather MCP Server
Provides environment variable management for storing the OpenWeatherMap API key securely in a .env file
Runtime environment required to execute the MCP server (v14 or higher)
Package manager used for installing dependencies and running the test suite
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Weather MCP Serverwhat's the weather like in Tokyo right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: mcp-weather
Setup
Clone or download this repository
Install dependencies:
npm installCreate a
.envfile in the root directory:touch .envAdd your OpenWeatherMap API key to the
.envfile:OPENWEATHER_API_KEY=your_openweathermap_api_key_hereYou 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 testEnvironment Variables
Variable | Description | Required |
| Your OpenWeatherMap API key | Yes |
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?"
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides comprehensive weather data and forecasts through the OpenWeatherMap API, enabling AI assistants to access real-time weather information, forecasts, air quality data, and location services.Last updated11315MIT
- Flicense-qualityDmaintenanceA Model Context Protocol (MCP) server that enables AI assistants and LLMs to access real-time weather data and forecasts by connecting to the OpenWeatherMap API.Last updated
- Flicense-qualityDmaintenanceA Model Context Protocol server that enables natural language weather queries for global cities, integrating with OpenWeather API to provide real-time weather information in an easy-to-read format.Last updated1
- AlicenseBqualityDmaintenanceA simple Model Context Protocol server that provides real-time weather data to AI agents like GitHub Copilot, allowing users to get current weather information for any city through natural language queries.Last updated25598MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bensinclair/weather-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server