Weather
A Model Context Protocol (MCP) server that provides weather data tools using the National Weather Service API. Implements get-alerts and get-forecast tools for retrieving weather alerts by region and forecasts by coordinates. Built with TypeScript an
What is Weather?
Weather is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol (mcp) server that provides weather data tools using the national weather service api. implements get-alerts and get-forecast tools for retrieving weather alerts by region and fo...
A Model Context Protocol (MCP) server that provides weather data tools using the National Weather Service API. Implements get-alerts and get-forecast tools for retrieving weather alerts by region and forecasts by coordinates. Built with TypeScript an
This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A Model Context Protocol (MCP) server that provides weather
Use Cases
Maintainer
Works with
Installation
NPM
npx -y weatherManual Installation
npx -y weatherConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Weather
This MCP server wraps the National Weather Service (NWS) API and the Open-Meteo service to provide real-time weather data to AI assistants without requiring any API key. It exposes a 'get_weather' tool that accepts a city name and returns current conditions including temperature, wind speed, humidity, and a short forecast. Developers and end users can drop it into any MCP-compatible client to answer weather questions or build location-aware automation that reacts to live atmospheric data.
Prerequisites
- Node.js 18 or later installed
- npm or npx available on your PATH
- An MCP-compatible client such as Claude Desktop
- Optional: ANTHROPIC_API_KEY or OPENROUTER_API_KEY if you want AI-generated weather summaries
Run the MCP server with npx
The server can be launched directly with npx without a global install. This starts the stdio transport that MCP clients connect to.
npx -y weatherAdd the server to Claude Desktop config
Open your Claude Desktop configuration file and add an entry for the weather server. No environment variables are required for basic use.
{
"mcpServers": {
"weather": {
"command": "npx",
"args": ["-y", "weather"]
}
}
}Optionally configure an AI summary key
If you want Claude or OpenRouter to generate narrative weather summaries instead of raw data, add your API key to the env block in the config.
{
"mcpServers": {
"weather": {
"command": "npx",
"args": ["-y", "weather"],
"env": {
"ANTHROPIC_API_KEY": "your-anthropic-api-key"
}
}
}
}Restart Claude Desktop
Fully quit and relaunch Claude Desktop so it picks up the new MCP server entry from the configuration file.
Ask for weather in a conversation
Open a new chat in Claude Desktop and ask about current conditions for any city. The assistant will call the get_weather tool and display the results.
Weather Examples
Client configuration
Minimal Claude Desktop configuration to run the weather MCP server via npx with no API key required.
{
"mcpServers": {
"weather": {
"command": "npx",
"args": ["-y", "weather"]
}
}
}Prompts to try
Example prompts that use the get_weather tool to retrieve current conditions and forecasts.
- "What is the current weather in Pune?"
- "Is it raining in London right now?"
- "What is the temperature in New York City?"
- "Give me a weather summary for Tokyo"
- "Will it be windy in Chicago today?"Troubleshooting Weather
City name not recognized or returns empty data
The server uses Open-Meteo's geocoding. Try using the full English city name (e.g. 'New Delhi' instead of 'Delhi'). Avoid abbreviations or local names that may not match the geocoder.
npx reports 'weather' package not found or installs the wrong package
The npm package name 'weather' is a common name. If the wrong package installs, clone the repository from https://github.com/vijaypss/MCP and run 'npm install && npm run mcp' directly, pointing your MCP client at the local process.
Frequently Asked Questions about Weather
What is Weather?
Weather is a Model Context Protocol (MCP) server that model context protocol (mcp) server that provides weather data tools using the national weather service api. implements get-alerts and get-forecast tools for retrieving weather alerts by region and forecasts by coordinates. built with typescript an It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Weather?
Install via npm with the command: npx -y weather. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with Weather?
Weather works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Weather free to use?
Yes, Weather is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Weather Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to Weather? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
Browse More Search & Data Extraction MCP Servers
Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Weather in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Weather?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.