The MCP server exposes 9 tools that map directly to Kremis HTTP API endpoints.
| Tool | HTTP Equivalent | Description |
|---|
kremis_ingest | POST /signal | Ingest a signal (entity, attribute, value) |
kremis_lookup | POST /query (lookup) | Look up an entity by ID |
kremis_traverse | POST /query (traverse_filtered) | Traverse graph from a node; optional top_k limit |
kremis_path | POST /query (strongest_path) | Find the strongest path between two nodes |
kremis_intersect | POST /query (intersect) | Find nodes connected to all input nodes |
kremis_status | GET /status | Get graph statistics |
kremis_properties | POST /query (properties) | Get properties of a node |
kremis_retract | POST /signal/retract | Decrement edge weight between two entities |
kremis_hash | GET /hash | Get the canonical BLAKE3 hash of the graph |
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.
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.
kremis_intersect
Find common connections between nodes.
kremis_status
No parameters required. Returns node count, edge count, and density.
kremis_properties
Get all properties of a node.
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