独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
T

Thx93/mcp-weather-server

An MCP server for weather information.

装之前:没有可直接复制的命令 · 许可证 ISC · 链接可访问

第一步:npm install

无 SECURITY.md
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
远端端点(Claude Desktop / Cursor / Windsurf 共用 mcpServers)
{
  "mcpServers": {
    "thx93-mcp-weather-server": {
      "url": "https://agent-evidence-api.thx93.workers.dev/weather/mcp"
    }
  }
}
把这段粘进 Claude Desktop / Cursor 的 mcpServers 配置即可。端点来自公开证据,我们没有替你安装或托管它。 官方 Registry 记录:这个端点没有列出任何请求头。这不等于免密 —— 以项目文档为准。
VS Code(.vscode/mcp.json —— 键名是 servers,远程要 type: http)
{
  "servers": {
    "thx93-mcp-weather-server": {
      "type": "http",
      "url": "https://agent-evidence-api.thx93.workers.dev/weather/mcp"
    }
  }
}
VS Code 的配置文件和另外三家不同:顶层键是 <code>servers</code>,远程端点还要写 <code>"type": "http"</code>。复制到 .vscode/mcp.json。
Claude Code(命令行)
claude mcp add --transport http thx93-mcp-weather-server https://agent-evidence-api.thx93.workers.dev/weather/mcp
Claude Code 不收 JSON 文件,用这条命令直接加。
客户端配置(取自该仓库的安装命令)
{
  "mcpServers": {
    "thx93-mcp-weather-server": {
      "command": "npx",
      "args": ["-y", "@thx93/mcp-weather-server"]
    }
  }
}

解析自我们于 2026-10-26 抓取的该仓库 README;我们未执行过。

command/args 来自仓库写明的安装命令;不确定时请以该项目 README 为准。
VS Code(.vscode/mcp.json —— 键名是 servers)
{
  "servers": {
    "thx93-mcp-weather-server": {
      "command": "npx",
      "args": ["-y", "@thx93/mcp-weather-server"]
    }
  }
}
VS Code 顶层键是 <code>servers</code>,其余与上面那份相同。
Claude Code(命令行)
claude mcp add --transport stdio thx93-mcp-weather-server -- npx -y @thx93/mcp-weather-server
Claude Code 不收 JSON 文件,用这条命令直接加。
配置项的键名以你的客户端为准:客户端与 CLI
★ 数取值
1 ★ · Thx93/mcp-weather-server · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-23 · 最近见到 2026-11-14 · 共见到 26 次 · 被 23 个来源列出
评分构成
综合分 2,300 · 1 ★ · 23 个来源 · mcp
安装
npx -y @thx93/mcp-weather-server
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 npx -y @thx93/mcp-weather-server。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 Thx93/mcp-weather-server;我们收录于 2026-10-23;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# MCP Weather Server — US alerts and forecasts for AI agents

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A minimal Model Context Protocol server that
exposes US weather data from the
National Weather Service API
as two read-only tools.
The NWS API is free, keyless and US-only, so this server needs no credentials and
no account to run.
| Tool | Input | Returns |
| get-alerts | state — two-letter code, e.g. CA | Active weather alerts for that state |
| get-forecast | latitude, longitude | The next five forecast periods for that point |
Both tools are annotated readOnlyHint: true and destructiveHint: false, so a
host that respects tool annotations can invoke them without asking first. Both
reach out to api.weather.gov and are marked openWorldHint: true for that reason.
## Use it hosted, paid per call
Running it yourself costs nothing. There is also a hosted version, paid per call
in USDC on Base over x402, for agents that would rather not carry a Node process
and a data layer:
https://agent-evidence.thx93.dev/weather/mcp
It serves the same two tools, with the same output schemas and the same null
fallbacks, plus a free health tool and free tools/list so the service can be
discovered and probed before paying. Discovery is free; a tools/call for
get-alerts or get-forecast returns 402 with the price. Both are declared
read-only, so a host that respects annotations will not ask twice.
The server.json in this repository advertises that remote, so an MCP client can
install it by registry name rather than by cloning anything.
## Prerequisites
Node.js 24+
npm
## Build, test and run
bash
npm install
npm test # builds, then runs the suite
npm run build # compile only
node build/index.js
The suite drives the real server over InMemoryTransport with the NWS API stubbed,
so npm test touches no network and needs no credentials. It covers tool
discovery and annotations, the get-alerts and get-forecast data paths, the
fallbacks for fields the NWS sends as null, the failure contract, and input
validation.
Running node build/index.js speaks the MCP protocol over stdio: it prints to
stderr and waits for a client on stdin, so it is meant to be launched by a host
rather than by hand.
## Adding it to a client
Most MCP hosts use the same three-line shape:
json
"mcpServers": {
"weather": {
"command": "node",
"args": ["/absolute/path/to/mcp-weather-server/build/index.js"]
Or straight from npm — published 2026-10-19:
bash
npx -y @thx93/mcp-weather-server
Or, equivalently, as a client config entry:
json
"mcpServers": {
"weather": { "command": "npx", "args": ["-y", "@thx93/mcp-weather-server"] }
Or straight from the repository, with no registry account needed:
bash
npm install github:Thx93/mcp-weather-server
That path works because prepare builds the server during the install; build/ is
not committed, so without it the bin would point at a file that does not exist. It
was verified end to end — install from GitHub, then speak MCP to the result, and both
tools list with object output schemas.
## Verified against the source
The tools return the National Weather Service's own data, so correctness is
checkable rather than asserted. On 2026-10-19, api.weather.gov reported one active
alert for TX and a paid call to the hosted get-alerts returned exactly one -
Event: Flood Advisory - for the same state.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/thx93-mcp-weather-server/)
来源
awesome · https://github.com/Thx93/mcp-weather-server
按领域浏览
MCP 服务
Traction
1 ★
收录来源
23 个独立来源
收录于
今天
安全策略
我们没在该仓库根目录找到 SECURITY.md(这不代表不安全)

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引