Skip to main content
The MCP server exposes 9 tools that map directly to Kremis HTTP API endpoints.
ToolHTTP EquivalentDescription
kremis_ingestPOST /signalIngest a signal (entity, attribute, value)
kremis_lookupPOST /query (lookup)Look up an entity by ID
kremis_traversePOST /query (traverse_filtered)Traverse graph from a node; optional top_k limit
kremis_pathPOST /query (strongest_path)Find the strongest path between two nodes
kremis_intersectPOST /query (intersect)Find nodes connected to all input nodes
kremis_statusGET /statusGet graph statistics
kremis_propertiesPOST /query (properties)Get properties of a node
kremis_retractPOST /signal/retractDecrement edge weight between two entities
kremis_hashGET /hashGet the canonical BLAKE3 hash of the graph

Tool Details

kremis_ingest

Add an entity or record a relationship.
{
  "entity_id": 1,
  "attribute": "name",
  "value": "Alice"
}

kremis_lookup

Look up a node by entity ID.
{
  "entity_id": 1
}

kremis_traverse

Traverse the graph from a starting node. Optionally limit results to the K highest-weight edges.
{
  "node_id": 0,
  "depth": 3,
  "top_k": 10
}
top_k is optional. When provided and greater than 0, only the K highest-weight edges are returned (sorted by weight descending). Omit for no limit.

kremis_path

Find the strongest path between two nodes.
{
  "start": 0,
  "end": 5
}

kremis_intersect

Find common connections between nodes.
{
  "nodes": [0, 1, 2]
}

kremis_status

No parameters required. Returns node count, edge count, and density.

kremis_properties

Get all properties of a node.
{
  "node_id": 0
}

kremis_retract

Decrement the weight of an edge between two entities. If the edge does not exist, returns an error. The weight decrements by 1, floored at 0 (never negative).
{
  "from_entity": 1,
  "to_entity": 2
}

kremis_hash

No parameters required. Returns the canonical BLAKE3 hash of the current graph state. Use to verify graph integrity or detect state changes between sessions.
Last modified on March 1, 2026