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:..."}