mcp-server-weather-js
Simple Weather MCP Server Example
Documentation
Simple Weather MCP Server example from Quickstart  
Node.js server implementing
for accessing weather information in the US.
This is an example explained in MCP Quickstart.
It has been hosted as an npm package
for convenient use with `npx`.
Usage with Claude Desktop
Merge the following JSON fragment into your `claude_desktop_config.json`.
Please refer to the "Testing your server with Claude for Desktop" section of
MCP Quickstart for details.
# MacOS/Linux
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
# Windows
code $env:AppData\Claude\claude_desktop_config.json{
"mcpServers": {
"weather": {
"command": "npx",
"args": [
"-y",
"@h1deya/mcp-server-weather"
],
}
}
}Tools
- get-alerts
- Get weather alerts for a US state.
- Input: `state` (string): Two-letter US state code (e.g. CA, NY)
- get-forecast
- Get weather forecast for a location in the US
- Inputs:
- `latitude` (number): Latitude of the location
- `longitude` (number): Longitude of the location
Example Queries
- Tomorrow's weather in Palo Alto?
- Any weather alerts in California?
Original Author and License
This example is based on the code explained in MCP Quickstart
(github),
whose license is CC-BY-4.0.
The completed code examples are also hosted in
whose license is MIT (Copyright (c) 2025 Model Context Protocol).
So I've chosen the MIT license for this repo.
Frequently asked questions
What is mcp-server-weather-js?
mcp-server-weather-js is Simple Weather MCP Server Example
How do I install mcp-server-weather-js?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-server-weather-js open source?
Yes — it is hosted on GitHub at https://github.com/hideya/mcp-server-weather-js and has 13 stars.
Related MCP tools
A Minecraft MCP Server powered by Mineflayer API. It allows to control a Minecraft character in real-time, allowing AI assistants to build structures, explor...
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients. JavaScript-based implementation.
A model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio
MCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development JavaScript-based implementation.
A server that integrates Linear's project management system with the Model Context Protocol (MCP) to allow LLMs to interact with Linear.
📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Lan...
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP