mcp-weather
Retrieve real-time weather data for any GPS coordinates worldwide using the
get_weathertool.Provide latitude and longitude to fetch current temperature, feels-like temperature, humidity, and wind speed.
Uses the free Open-Meteo API—no API key or environment variables required.
Access via stdio for Claude Code/Desktop, or via the hosted HTTP remote endpoint at
https://mcp-weather-1cyg.onrender.com/mcpfor client-side use without local installation.Self-hosting is supported on Node.js 18+ if needed.
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., "@mcp-weatherget weather for 40.7128, -74.0060"
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 simple Model Context Protocol (MCP) server that exposes a get_weather tool. It fetches real-time weather for any GPS coordinates using the free Open-Meteo API — no API key required.
Requirements
Node.js 18 or later. If you use
nvmand have multiple Node versions installed, make sure a compatible version resolves first in yourPATH, or point your MCP client config at a specific Node binary (see Usage below).No API key or environment variables required.
Related MCP server: weather-mcp-server
Tool
get_weather
Fetches current temperature, feels-like temperature, humidity, and wind speed for a given location.
Inputs:
latitude(number) — latitude coordinate of the target locationlongitude(number) — longitude coordinate of the target location
Setup
git clone https://github.com/tarunmalpani/mcp-weather.git
cd mcp-weather
npm installUsage
This server communicates over stdio, so it's meant to be launched by an MCP-compatible client, not run standalone.
Claude Code
Add a .mcp.json file in your project root (replace cwd with the absolute path where you cloned this repo):
{
"mcpServers": {
"weather": {
"command": "npx",
"args": ["tsx", "server.ts"],
"cwd": "/absolute/path/to/mcp-weather"
}
}
}Claude Desktop
Add the same mcpServers block to your claude_desktop_config.json (Settings → Developer → Edit Config).
After saving the config, restart the client. The get_weather tool will be available automatically.
Remote / Hosted Usage
This repo also includes remote-server.ts, which exposes the same get_weather tool over Streamable HTTP instead of stdio. Deploy it to any Node hosting platform (e.g. Render) and clients can connect via URL — no local clone or install needed on the client side.
Deploying (e.g. on Render):
Build Command:
npm installStart Command:
npm run start:remoteNo environment variables required (the host's
PORTis picked up automatically)
A live, hosted instance is running at https://mcp-weather-1cyg.onrender.com/mcp — you can connect to it directly without deploying your own.
Connecting a client to the remote URL:
Claude Code: add to
.mcp.json:{ "mcpServers": { "weather": { "type": "http", "url": "https://mcp-weather-1cyg.onrender.com/mcp" } } }Claude Desktop: Desktop does not support a plain
urlfield inclaude_desktop_config.jsonfor remote servers. Instead, go to Settings → Connectors → Add Custom Connector and paste the URL there.
Note: free hosting tiers typically spin down after a period of inactivity, so the first request after idling may take 10-30 seconds while the instance wakes up.
Development
Run the server directly (useful for testing it starts without errors):
npm startTo run the remote/HTTP variant locally:
npm run start:remoteMaintenance
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
- AlicenseBqualityDmaintenanceEnables AI agents to fetch real-time weather data for any location using the OpenWeatherMap API. Demonstrates how to build a simple MCP server that exposes weather information as a tool for LLMs.Last updated1GPL 3.0
- Flicense-qualityCmaintenanceA minimal MCP server that provides weather data using Open-Meteo API, designed as a teaching tool for improving AI agent tool interfaces.Last updated
- Flicense-qualityCmaintenanceA proof-of-concept MCP server that provides weather information using the Open-Meteo API, with tools for greeting, getting weather by coordinates, and by location name.Last updated
- Alicense-qualityCmaintenanceA no-API-key-required MCP server that wraps Open-Meteo APIs to provide geocoding and weather forecast data, enabling city lookups and multi-day forecasts through tools, resources, and prompts.Last updatedMIT
Related MCP Connectors
Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs
OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
MCP server exposing the Backtest360 engine API as tools for AI agents.
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/tarunmalpani/mcp-weather'
If you have feedback or need assistance with the MCP directory API, please join our Discord server