Cover image
Try Now
2025-04-03

使用国家气象服务API提供天气预报和警报的天气MCP服务器

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

Weather MCP Server

A C# implementation of a Model Context Protocol (MCP) server that provides weather information using the National Weather Service API.

Features

  • Get weather forecasts for any location in the US using latitude and longitude
  • Get active weather alerts for any US state using state codes

Tools

GetForecast

Get detailed weather forecast for a specific location.

  • Parameters:
    • latitude: Latitude of the location
    • longitude: Longitude of the location

GetAlerts

Get active weather alerts for a US state.

  • Parameters:
    • state: Two-letter state code (e.g., CA, NY)

Setup

  1. Make sure you have .NET 8.0 or later installed
  2. Clone this repository
  3. Build the project: dotnet build
  4. Run the server: dotnet run

Usage

This MCP server can be used with any MCP client (like Claude for Desktop) to get weather information.

Dependencies

  • .NET 8.0
  • ModelContextProtocol.Server
  • System.Net.Http.Json

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • HiveNexus
  • 一个适用于中小型团队的AI聊天机器人,支持DeepSeek,Open AI,Claude和Gemini等车型。 专为中小团队设计的ai聊天应用,支持deepSeek,打开ai,claude,双子座等模型。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

    Reviews

    5 (1)
    Avatar
    user_SqWxDqth
    2025-04-16

    As a dedicated user of mcp applications, I highly recommend mcpServer_weather by choatehall. This tool impresses with its seamless integration and reliable weather updates. It's evident that a lot of thought and effort went into making this a must-have for anyone needing precise weather information. The user experience is smooth, and it's incredibly easy to set up and use. Check it out at https://github.com/choatehall/mcpServer_weather!