MCP.so
登录

MCP Weather Server

@adarshem

基本信息

分类

媒体与设计

许可证

MIT license

传输方式

stdio

作者

adarshem

关于 MCP Weather Server

An MCP server to get Weather details

MCP Weather Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-server-learn-adarshem": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@adarshem/mcp-server-learn",
        "--client",
        "claude"
      ]
    }
  }
}

MCP Weather Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is MCP Weather Server?

MCP Weather Server is a demo implementation of a Model Context Protocol (MCP) server that provides weather-related tools. It uses the US National Weather Service API to fetch active weather alerts for a US state and a forecast for a specific latitude/longitude.

How to use MCP Weather Server?

Install the server via Smithery with npx @smithery/cli install @adarshem/mcp-server-learn --client claude, or manually clone the repository, run pnpm install and pnpm build. Configure it in your MCP client (e.g., VSCode) by adding the server entry to settings.json with the command node and the absolute path to build/index.js.

Key features of MCP Weather Server

  • Built with Node.js
  • Provides get-alerts tool for US state alerts
  • Provides get-forecast tool by lat/lon
  • Uses US National Weather Service API

Use cases of MCP Weather Server

  • Learning how to build an MCP server with Node.js
  • Fetching active weather alerts for a US state
  • Retrieving a weather forecast for a specific latitude/longitude

常见问题

1

What runtime is required?

Node.js must be installed on your system.

2

Where does the weather data come from?

The server uses the US National Weather Service API for accurate and up-to-date information.

3

How do I configure the server in VSCode?

Add the server entry to your `settings.json` with the command `node` and the absolute path to `build/index.js`.

4

Is this server production-ready?

The README describes it as a demo implementation, so it may not be intended for production use.

评论

媒体与设计 分类下的更多 MCP 服务器