Rain Check

Rain Check

Enables users to check whether an Australian field-service job can be worked at a location on a given day for a specific trade, using live weather forecasts, daylight hours, and public holiday data.

Category
访问服务器

README

Rain Check

A remote MCP server that answers whether an Australian field-service job can be worked at a place on a day, for a given trade, from live forecast, daylight and public holiday data.

Live: https://rain-check-mu.vercel.app MCP endpoint: https://rain-check-mu.vercel.app/mcp OpenAPI: https://rain-check-mu.vercel.app/openapi.json Health: https://rain-check-mu.vercel.app/health

Connect it

claude mcp add --transport http rain-check https://rain-check-mu.vercel.app/mcp

Any MCP client that speaks Streamable HTTP can use the same URL. It is POST only: the server is stateless, so GET and DELETE answer 405 by design.

For anything that does not speak MCP, the identical operations are at /v1/<operation> and described by /openapi.json, which is generated from the same constants the MCP tools use so the two cannot drift.

Run it locally

npm install
npm run typecheck     # tsc, no emit
npm run smoke         # every operation against the real upstreams
npm run smoke:mcp     # every endpoint over a real node:http server
npm run smoke:live -- https://rain-check-mu.vercel.app        # the deployed server
npm run adversarial -- https://rain-check-mu.vercel.app       # tries to break it
npm run prove -- https://rain-check-mu.vercel.app             # independent evidence

There are no mocks anywhere. The point of these is to catch an upstream changing shape, and a mock never will.

npm run adversarial is the one that finds things. It throws nonsense ranges, hostile strings, wrong types, foreign coordinates and malformed protocol frames at the deployed server; a refusal with a usable message passes, a 500 or a confident answer to a question it should not answer fails. It found three real bugs the happy-path suites had missed.

Checking it without trusting this repository

npm run prove exists because my own tests passing proves very little to someone who did not write them. It connects with the official MCP client SDK, then takes every number the server reported and re-fetches the same day straight from Open-Meteo, comparing field by field, and prints the upstream URL it used so you can open it yourself.

Three more ways, needing nothing from here:

# Anthropic's own inspector, not my code
npx @modelcontextprotocol/inspector --cli https://rain-check-mu.vercel.app/mcp --transport http --method tools/list

# raw JSON-RPC, no client, no session, because it is stateless
curl -s -X POST https://rain-check-mu.vercel.app/mcp -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

# let your own client run its health check against it
claude mcp add --transport http rain-check https://rain-check-mu.vercel.app/mcp
claude mcp list

And the version that needs only a browser: open both of these and compare the dates. rain_mm in the first equals precipitation_sum in the second.

  • https://rain-check-mu.vercel.app/v1/workability?location=Bendigo&trade=concreting&days=3
  • https://api.open-meteo.com/v1/forecast?latitude=-36.75818&longitude=144.28024&daily=precipitation_sum&timezone=Australia/Melbourne

Deploy

vercel deploy --prod

How it is laid out

src/core.ts          the six operations, with no transport in them
src/mcpServer.ts     the MCP tool surface
src/lib/             http, dates, geocoding, forecast, holidays, thresholds, verdicts
api/mcp.ts           Streamable HTTP, stateless
api/v1/[op].ts       the same operations over REST
api/openapi.ts       the OpenAPI document, generated from the same constants
api/health.ts        calls every upstream and reports real latency
public/index.html    the landing page, including the build log
scripts/             the three verification runs

Both front doors import src/core.ts. That is the only way the custom GPT and the MCP client can be trusted to give the same answer, and it means a threshold fixed once is fixed everywhere.

What it will not do

  • Present a threshold as a safety clearance. They are planning defaults, shown in every answer and overridable per call.
  • Guess past the sixteen-day forecast. Later dates come back in out_of_range with the reason and no data.
  • Let third-party holiday data pass as authoritative. It is state level only, carries no regional or show days, and every response links the official state government page.
  • Fill a gap with a guess. When an upstream is unreachable the tool says which one and what to do, and tells the model not to substitute an opinion.
  • Pick between two Richmonds. Ambiguity comes back as candidates.

Data sources

  • Weather and geocoding: Open-Meteo, CC BY 4.0.
  • Public holidays: Nager.Date, third party, state level only.

The Bureau of Meteorology's API is not used: its own terms say "You must not use, copy or share it".

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选