mcpField
🌤
🌤️ MCP Weather Server (TypeScript)

🌤️ MCP Weather Server (TypeScript)

Local
github.com/lahiruCirclebookMedia & Design0Updated 77w ago

About 🌤️ MCP Weather Server (TypeScript)

A weather MCP server built with the TypeScript SDK for LLM clients that need forecasts and U.S. weather alerts. It uses weather.gov API for coordinate-based forecasts and state-based alert lookups.

Key features

  1. 01Get real-time alerts by U.S. state
  2. 02Retrieve short-term forecasts by coordinates
  3. 03Make asynchronous HTTP requests with Axios
  4. 04Built with the TypeScript MCP SDK

Use cases

  1. 01Check weather alerts for a U.S. state
  2. 02Get a short-term forecast for coordinates

MCP support

The MCP server exposes weather alert and forecast tools to clients and can integrate with MCP-enabled clients such as Claude for Desktop.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

🌤️ MCP Weather Server (TypeScript)

A modern weather server built with the Model Context Protocol (MCP) using the TypeScript SDK. This project exposes real-time weather forecast and alert tools for integration with LLM clients like Claude for Desktop.


📌 Features

  • getAlerts(state: string): Get real-time weather alerts by U.S. state.
  • getForecast(latitude: number, longitude: number): Get short-term forecasts by coordinates.
  • Built using TypeScript MCP SDK.
  • Async HTTP requests powered by Axios.
  • Compatible with Claude for Desktop and other MCP-enabled clients.

⚙️ Tech Stack

  • Node.js v18+
  • TypeScript
  • MCP SDK (TypeScript) – @mcp/sdk
  • Axios – HTTP client
  • weather.gov API – U.S. National Weather Service

🚀 Quickstart

1. Clone the repository
git clone https://github.com/your-username/mcp-weather-server-ts.git
cd mcp-weather-server-ts

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.