MCP.so
ログイン

概要

What is 🌤️ MCP Weather Server (TypeScript)?

A weather server built with the Model Context Protocol (MCP) using the TypeScript SDK. It exposes real-time U.S. weather forecast and alert tools for integration with LLM clients such as Claude for Desktop.

How to use 🌤️ MCP Weather Server (TypeScript)?

Clone the repository, then configure the server as an MCP tool in your client. The server provides two tools: getAlerts(state) to fetch weather alerts by U.S. state, and getForecast(latitude, longitude) to get a short-term forecast by coordinates.

Key features of 🌤️ MCP Weather Server (TypeScript)

  • getAlerts(state) – real-time weather alerts by U.S. state.
  • getForecast(latitude, longitude) – short-term forecast by coordinates.
  • Built with the TypeScript MCP SDK.
  • Async HTTP requests via Axios.
  • Compatible with Claude for Desktop and MCP-enabled clients.
  • Uses the U.S. National Weather Service API.

Use cases of 🌤️ MCP Weather Server (TypeScript)

  • An LLM assistant answering “Are there any weather alerts in California?”.
  • A travel planner retrieving tomorrow’s forecast for a given latitude/longitude.
  • A disaster-preparedness bot checking active warnings across multiple states.

FAQ from 🌤️ MCP Weather Server (TypeScript)

What runtime does this server require?

Node.js v18 or later.

Where does the weather data come from?

The server uses the U.S. National Weather Service (weather.gov) API.

Which LLM clients are supported?

The server is compatible with any MCP-enabled client, including Claude for Desktop.

What tools does the server expose?

Two tools: getAlerts(state) for weather alerts by U.S. state, and getForecast(latitude, longitude) for short-term forecasts.

Is authentication or a special transport setup required?

The README does not mention any authentication or transport configuration beyond standard MCP client integration.

タグ

「メディアとデザイン」の他のコンテンツ