fresh_check
Should I Fetch This URL Again?
Return REUSE, REFETCH, or UNKNOWN before retrieving a URL again.
url必填lastSeenAt必填toleranceSeconds
io.github.GSterlingPress由 GitHub 账号 GSterlingPress 发布v0.1.3更新于 Oct 25, 2026
Decide whether an agent should reuse cached URL knowledge or fetch the resource again.
一个远程 MCP 服务,用于判断此前见过的网址是否可能仍然足够新、可以复用,还是应当重新抓取。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.GSterlingPress%2Ffresh/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"fresh-shared-url-freshness-intelligence": {
"type": "http",
"url": "https://fresh-api-production-c783.up.railway.app/mcp"
}
}
}Know whether to fetch again.
FRESH is shared URL freshness intelligence for AI agents. Before re-fetching, re-scraping, re-rendering, or re-embedding a URL, ask whether the previously seen version is probably still fresh enough to reuse.
Production base URL: https://fresh-api-production-c783.up.railway.app
MCP endpoint: https://fresh-api-production-c783.up.railway.app/mcp
FRESH returns one of three decisions:
REUSE — cached knowledge is probably still fresh enoughREFETCH — the URL is likely stale enough to justify another retrievalUNKNOWN — evidence is insufficient; FRESH prefers uncertainty over false confidenceA local cache knows when you last fetched something. It does not know whether the outside resource changed since then, nor what other callers recently observed. FRESH builds shared, privacy-safe URL change history from timestamps, ETags, Last-Modified values, and content hashes.
POST /v1/checkPOST /v1/observeRaw page content is not required.
fresh_check — decide whether to retrieve a URL againfresh_observe — report privacy-safe freshness evidence after retrievalFRESH does not need raw page contents, cookies, target-site credentials, or customer payloads. URL keys are stored as one-way hashes with aggregate observation metadata.
A core-tool invocation is evidence of use, not automatically proof of a genuine stranger. FRESH classifies candidate activity as KNOWN_VALIDATOR, LIKELY_VALIDATOR, CONTROLLED_TEST, UNKNOWN_MACHINE, or CREDIBLE_REAL_USE. Only CREDIBLE_REAL_USE advances stranger milestones.
Our acceptance/smoke traffic uses X-Tollbooth-Internal: 1 or X-Fresh-Internal: 1 so it cannot earn stranger credit.
Every Railway deployment now performs live internal checks against the running service before /health can return 200. The gate exercises REST, UNKNOWN, REUSE, REFETCH, persistent observation reload, MCP initialize, MCP tool discovery, MCP fresh_check, and verifies that the controlled self-test does not increase the verified-stranger count.
v0.1.2 experimental production infrastructure. Priorities: conservative decisions, low latency, sub-penny economics, privacy-safe shared learning, REST + MCP, durable observations, and auditable real-use analytics.
来源:README.md,提交 12137c0
Should I Fetch This URL Again?
Return REUSE, REFETCH, or UNKNOWN before retrieving a URL again.
url必填lastSeenAt必填toleranceSecondsReport URL Observation
Report privacy-safe freshness metadata from a completed retrieval.
url必填etagobservedAtcontentHashlastModified已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在仓库或注册中心条目中声明许可证。
{"url":"https://example.com/docs/api","lastSeenAt":"2026-08-13T12:00:00Z","toleranceSeconds":3600}{"url":"https://example.com/docs/api","observedAt":"2026-08-13T13:00:00Z","etag":"abc123","lastModified":"Wed, 13 Aug 2026 12:45:00 GMT","contentHash":"sha256:..."}