Skip to content
Docs menu

Tool reference · Knowledge graph & temporal facts

kg_at

Returns the facts that were valid at a given moment, or the facts valid now when no timestamp is passed.

local stdio server read-only

When to use

  • You want to know what the stack or configuration was on a past date.
  • You want the current value of a fact, such as which database a service uses.
  • You are reconstructing context for an old bug report.

Parameters

NameTypeDefaultDescription
timestamp string — ISO 8601 or omit for now
subject string — —
predicate string — —
object string — —
project string — —
limit integer 100 —

Example

Arguments

{
  "timestamp": "2026-03-01T00:00:00Z",
  "subject": "my-api",
  "project": "my-api"
}

Result shape

{
  "count": 1,
  "assertions": [
    {
      "id": "1a2b3c4d5e6f47089a0b1c2d3e4f5a6b",
      "subject": "my-api",
      "predicate": "uses_queue",
      "object": "redis",
      "confidence": 1,
      "project": "my-api",
      "valid_from": "2025-11-02T09:00:00Z",
      "valid_to": "2026-06-10T14:21:00Z",
      "superseded_by": "5e0b7d2c9a1f4e3b8c6d0a2f4b6e8c1d"
    }
  ]
}

Values are illustrative; the keys follow the server's handler. MCP clients receive the result as JSON text content.

Server description

The description the server sends to your agent in tools/list, captured from the v14.7.0 source:

Point-in-time query: return fact assertions valid at `timestamp` (ISO 8601). Omit timestamp for currently-valid facts.

Found a mistake? Open an issue on GitHub.

Search