Описание
Simple Weather MCP Server Example
README
Node.js server implementing Model Context Protocol (MCP) 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 locationlongitude(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 this repo, whose license is MIT (Copyright (c) 2025 Model Context Protocol). So I've chosen the MIT license for this repo.
Установка Weather Js
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/hideya/mcp-server-weather-jsFAQ
Weather Js MCP бесплатный?
Да, Weather Js MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Weather Js?
Нет, Weather Js работает без API-ключей и переменных окружения.
Weather Js — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Weather Js в Claude Desktop, Claude Code или Cursor?
Открой Weather Js на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Weather Js with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
