FreshContext is context integrity infrastructure, positioned between context acquisition and agent action, used to determine whether information entering an AI workflow is still fresh, attributable, and consistent enough for the system to rely on. The core problem it solves is: large models retrieve web data by semantic similarity, and cosine similarity cannot determine when a document was written, so a 2022 blog post and a 2026 paper may score similarly, and the model will summarize outdated content as if it were current information.
Main capabilities: The temporal core uses Decay-Adjusted Relevancy, including base semantic relevance R_0, source-specific decay constant λ (e.g., Hacker News about a 14-hour half-life, blogs about 29 days, academic papers about 1.6 years), hours elapsed since publication t, and decay-adjusted relevance at query time R_t. This layer can be layered onto existing retrieval pipelines without changing models, re-embedding, or rebuilding indexes. FreshContext evaluates freshness, source profile, confidence, utility, provenance material, and failure honesty before context reaches the LLM, and outputs decision-prioritized results.
Usage: The repository is the FreshContext Core/MCP integration package. The main MCP interface is evaluate_context, which accepts caller-provided candidate context and returns decision-prioritized output and readable objects; it itself does not fetch URLs, crawl, browse, read folders, or call adapters. The repository also provides read-only reference adapters, which use the network only when those adapter tools are called. It supports Claude Desktop and can also be run via the npm package and the freshcontext-mcp binary; full local mode requires Node.js 20+. Production endpoint https://api.freshcontext.dev,演示见 api.freshcontext.dev/demo.
Use cases: Provide temporal layer correction for RAG, agent, retrieval, or governance workflows; queries that require timeliness, such as job hunting, competitor research, company intelligence, and dependency maintenance status.
Limitations: The project has stopped development, 0.5.3 is the final version, and there will be no more feature releases. FreshContext does not authenticate truth; it only records why context was used, supported, challenged, refreshed, observed, or excluded. evaluate_context does not acquire external data. The hosted Cloudflare Worker MCP endpoint and the npm package are independent deployment surfaces; check /v1/health to confirm the actual version and tool count.