Open-source context engine for physical assets: entities, readings, networks and maps for agents.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Group the entities matching a CEL `expression` by the scalar `group_by` expression and return one row per group, ranked by the aggregate descending — a bounded roll-up, NOT per-entity fetch-and-tally. `aggregate` is 'count' (default) or sum|avg|min|max applied to the `metric` CEL expression (required for those). Examples: aggregate("entity.type=='Well'", group_by="entity.state.status") → count of wells per status aggregate("entity.type=='Well' && has_obs(entity,'gas_rate')", group_by="entity.identity.field", metric="latest(entity,'gas_rate')", aggregate='avg') → average current gas_rate per field Bounded to a context-lookup roll-up: fixed aggregates, no joins, and a hard group cap (a high-cardinality group_by errors — group by a low-cardinality field or narrow the selection). `format` (json|tsv|md) applies to the group rows.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http henosis https://oil-gas.try.henos.io/mcp
Group the entities matching a CEL `expression` by the scalar `group_by` expression and return one row per group, ranked by the aggregate descending — a bounded roll-up, NOT per-entity fetch-and-tally. `aggregate` is 'count' (default) or sum|avg|min|max applied to the `metric` CEL expression (required for those). Examples: aggregate("entity.type=='Well'", group_by="entity.state.status") → count of wells per status aggregate("entity.type=='Well' && has_obs(entity,'gas_rate')", group_by="entity.identity.field", metric="latest(entity,'gas_rate')", aggregate='avg') → average current gas_rate per field Bounded to a context-lookup roll-up: fixed aggregates, no joins, and a hard group cap (a high-cardinality group_by errors — group by a low-cardinality field or narrow the selection). `format` (json|tsv|md) applies to the group rows.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| types | any | |
| format | string | |
| metric | any | |
| group_by* | string | |
| aggregate | string | |
| expression* | string |
{
"type": "object",
"title": "aggregateArguments",
"required": [
"expression",
"group_by"
],
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 10000
},
"types": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Types",
"default": null
},
"format": {
"enum": [
"json",
"tsv",
"md"
],
"type": "string",
"title": "Format",
"default": "json"
},
"metric": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Metric",
"default": null
},
"group_by": {
"type": "string",
"title": "Group By"
},
"aggregate": {
"type": "string",
"title": "Aggregate",
"default": "count"
},
"expression": {
"type": "string",
"title": "Expression"
}
}
}Count entities of an EntityType matching optional filters, without fetching them — useful for deciding a fetch/pagination strategy.
| Argument | Type | Description |
|---|---|---|
| at | any | |
| type* | string | |
| filters | any |
{
"type": "object",
"title": "count_entitiesArguments",
"required": [
"type"
],
"properties": {
"at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "At",
"default": null
},
"type": {
"type": "string",
"title": "Type"
},
"filters": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Filters",
"default": null
}
}
}Retrieve one declared document for an entity: its metadata plus either a URL (url-shaped bindings) or base64-encoded bytes with a decoded byte length (file-shaped bindings).
| Argument | Type | Description |
|---|---|---|
| type | any | |
| document* | string | |
| entity_id* | string |
{
"type": "object",
"title": "get_documentArguments",
"required": [
"entity_id",
"document"
],
"properties": {
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Type",
"default": null
},
"document": {
"type": "string",
"title": "Document"
},
"entity_id": {
"type": "string",
"title": "Entity Id"
}
}
}Fetch a single entity by EntityType name and ID. `fields` selects specific dotted field paths (e.g. "identity.name", "state.*", "*"); omit for the default identity+state projection. `at` is an ISO 8601 timestamp for a point-in-time query against a versioned source.
| Argument | Type | Description |
|---|---|---|
| at | any | |
| id* | string | |
| type* | string | |
| fields | any |
{
"type": "object",
"title": "get_entityArguments",
"required": [
"type",
"id"
],
"properties": {
"at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "At",
"default": null
},
"id": {
"type": "string",
"title": "Id"
},
"type": {
"type": "string",
"title": "Type"
},
"fields": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Fields",
"default": null
}
}
}Calendar-aligned snapshots of one entity's identity/state/spatial over `[from_, to]` at `grain` ("daily"|"monthly"|"yearly"). Requires an SCD2-versioned primary binding (raises TemporalError otherwise). `format` (json|tsv|md, default json) applies to this snapshot list only: tsv/md return the snapshots as a compact table.
| Argument | Type | Description |
|---|---|---|
| id* | string | |
| to* | string | |
| type* | string | |
| from_* | string | |
| grain* | string | |
| fields | any | |
| format | string |
{
"type": "object",
"title": "get_entity_historyArguments",
"required": [
"type",
"id",
"grain",
"from_",
"to"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"to": {
"type": "string",
"title": "To"
},
"type": {
"type": "string",
"title": "Type"
},
"from_": {
"type": "string",
"title": "From"
},
"grain": {
"type": "string",
"title": "Grain"
},
"fields": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Fields",
"default": null
},
"format": {
"enum": [
"json",
"tsv",
"md"
],
"type": "string",
"title": "Format",
"default": "json"
}
}
}Distinct values (with counts, most common first) of one sourced field on an EntityType — the candidate values for a filter facet, e.g. the operators present or the well statuses in use. `field` is a path like 'state.status' or 'identity.operator'. For a filtered query, pass the chosen values to list_entities' `filters` as {path: [v1, v2]}. `format` (json|tsv|md, default json) applies to this list result only.
| Argument | Type | Description |
|---|---|---|
| type* | string | |
| field* | string | |
| limit | integer | |
| format | string |
{
"type": "object",
"title": "get_facet_valuesArguments",
"required": [
"type",
"field"
],
"properties": {
"type": {
"type": "string",
"title": "Type"
},
"field": {
"type": "string",
"title": "Field"
},
"limit": {
"type": "integer",
"title": "Limit",
"default": 100
},
"format": {
"enum": [
"json",
"tsv",
"md"
],
"type": "string",
"title": "Format",
"default": "json"
}
}
}The most recent value of one observation property for one entity.
| Argument | Type | Description |
|---|---|---|
| property* | string | |
| entity_id* | string |
{
"type": "object",
"title": "get_latest_observationArguments",
"required": [
"entity_id",
"property"
],
"properties": {
"property": {
"type": "string",
"title": "Property"
},
"entity_id": {
"type": "string",
"title": "Entity Id"
}
}
}Time-series points for one observation property of one entity, over the `[from_, to]` ISO-8601 window. Optionally downsample by `resolution` (e.g. "1h", "1d") with `aggregation` (mean/min/max/…). The entity's EntityType is inferred from `entity_id`'s prefix. `format` (json|tsv|md, default json) applies to this point list only: tsv/md return the series as a compact table to cut token cost.
| Argument | Type | Description |
|---|---|---|
| to* | string | |
| from_* | string | |
| format | string | |
| property* | string | |
| entity_id* | string | |
| resolution | any | |
| aggregation | string |
{
"type": "object",
"title": "get_observationsArguments",
"required": [
"entity_id",
"property",
"from_",
"to"
],
"properties": {
"to": {
"type": "string",
"title": "To"
},
"from_": {
"type": "string",
"title": "From"
},
"format": {
"enum": [
"json",
"tsv",
"md"
],
"type": "string",
"title": "Format",
"default": "json"
},
"property": {
"type": "string",
"title": "Property"
},
"entity_id": {
"type": "string",
"title": "Entity Id"
},
"resolution": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Resolution",
"default": null
},
"aggregation": {
"type": "string",
"title": "Aggregation",
"default": "mean"
}
}
}Fetch the entities related to `entity_id` through its declared relationships. Omit `relationship` to fetch all of them. direction: "outbound" (default, live from the source), "inbound" (who points at this entity — resolved from the graph index, "as of last sync"; the result's `synced_at` reports the freshness bound), or "both". An entity's own EntityType is inferred from `entity_id`'s prefix, so no separate `type` parameter is needed. `format` (json|tsv|md, default json) applies to this list result only: tsv/md return the related entities as a compact table.
| Argument | Type | Description |
|---|---|---|
| fields | any | |
| format | string | |
| filters | any | |
| direction | string | |
| entity_id* | string | |
| target_type | any | |
| relationship | any |
{
"type": "object",
"title": "get_relationshipsArguments",
"required": [
"entity_id"
],
"properties": {
"fields": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Fields",
"default": null
},
"format": {
"enum": [
"json",
"tsv",
"md"
],
"type": "string",
"title": "Format",
"default": "json"
},
"filters": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Filters",
"default": null
},
"direction": {
"type": "string",
"title": "Direction",
"default": "outbound"
},
"entity_id": {
"type": "string",
"title": "Entity Id"
},
"target_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Target Type",
"default": null
},
"relationship": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Relationship",
"default": null
}
}
}Return the full compiled schema for one EntityType: its identity/ state/observation properties, spatial and lifecycle declarations, documents, and relationships. `has_data_source` is False for a schema-only EntityType populated entirely via hand-authored data — get_entity/list_entities/get_relationships have no data to return for it even though its schema is fully knowable here.
| Argument | Type | Description |
|---|---|---|
| name* | string |
{
"type": "object",
"title": "get_typeArguments",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
}
}
}List declared actions and their parameter schema so a caller can build a form and pick a valid subject — no action is named in code. Each action carries its `subject_target` (the EntityType names its subject may be; absent = any type), `subject_required`, and the ordered `parameters` (name/type/required/description) the caller must supply. Pass `subject_type` to keep only actions runnable on that type (e.g. the type of the currently selected entity). The routing target is never returned — only what the caller provides.
| Argument | Type | Description |
|---|---|---|
| subject_type | any |
{
"type": "object",
"title": "list_actionsArguments",
"properties": {
"subject_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Subject Type",
"default": null
}
}
}List entities of an EntityType. `filters` maps a field path to either an exact value or a range object ({"gte"/"lte"/"gt"/"lt": v}). The result's `total` is the full matching count, independent of `limit`/`offset` — more results may exist than are returned. `format` (json|tsv|md, default json) applies to this list result only: tsv/md return the rows as a compact table to cut token cost; json is unchanged.
| Argument | Type | Description |
|---|---|---|
| at | any | |
| type* | string | |
| limit | integer | |
| fields | any | |
| format | string | |
| offset | integer | |
| filters | any |
{
"type": "object",
"title": "list_entitiesArguments",
"required": [
"type"
],
"properties": {
"at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "At",
"default": null
},
"type": {
"type": "string",
"title": "Type"
},
"limit": {
"type": "integer",
"title": "Limit",
"default": 50
},
"fields": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Fields",
"default": null
},
"format": {
"enum": [
"json",
"tsv",
"md"
],
"type": "string",
"title": "Format",
"default": "json"
},
"offset": {
"type": "integer",
"title": "Offset",
"default": 0
},
"filters": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Filters",
"default": null
}
}
}List every EntityType registered in the project, with its description and extends/abstract status.
No arguments.
{
"type": "object",
"title": "list_typesArguments",
"properties": {}
}Dispatch a declared action by name and return the outcome. henosis stores nothing itself — the action calls a bound statement on the source system. `subject` is the entity id the action acts on (its EntityType is inferred from the id prefix and checked against the action's declared subject.target); omit it for a subject-less global action. `params` supply the action's declared inputs.
| Argument | Type | Description |
|---|---|---|
| action* | string | |
| params | any | |
| subject | any |
{
"type": "object",
"title": "perform_actionArguments",
"required": [
"action"
],
"properties": {
"action": {
"type": "string",
"title": "Action"
},
"params": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Params",
"default": null
},
"subject": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Subject",
"default": null
}
}
}Find entities by a free-text name/label match — case-insensitive substring over every string identity property (name, code, uwi, …), across all EntityTypes or a given `types` subset. A finder for locating an entity when you know part of its name but not its id, not a ranked search engine. Returns entity stubs; call get_entity for full detail. `format` (json|tsv|md, default json) applies to this list result only: tsv/md return the rows as a compact table to cut token cost.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| query* | string | |
| types | any | |
| fields | any | |
| format | string |
{
"type": "object",
"title": "search_entitiesArguments",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 20
},
"query": {
"type": "string",
"title": "Query"
},
"types": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Types",
"default": null
},
"fields": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Fields",
"default": null
},
"format": {
"enum": [
"json",
"tsv",
"md"
],
"type": "string",
"title": "Format",
"default": "json"
}
}
}Select a subset of entities with a CEL selection expression — the composable way to filter across types, attributes, and observation thresholds with boolean logic, and (with `project`/`order_by`) return ranked computed columns in ONE call instead of a per-entity fan-out. Examples: entity.type == 'Well' && entity.state.status in ['active','injection'] entity.type == 'Well' && has_obs(entity,'gas_rate') && latest(entity,'gas_rate') < 50000 avg(entity,'water_cut','30d') > 80 Functions: has_obs(entity,prop), latest(entity,prop), avg|min|max|sum|count(entity,prop,window), search(entity,text), related(entity,rel[,'inbound']) (neighbour-id list; size(...) counts them — use 'inbound' to count entities pointing AT this one, e.g. size(related(entity,'subject','inbound')) for interventions targeting a well), derived(entity,prop) (a derived_from state value, so you can rank by a computed metric — order_by="derived(entity,'constraint_ratio')"). Guard any observation/maybe-missing-field predicate (has_obs/has(...)). `project` = {column: cel_expr} computes a scalar per matched entity onto each result's `computed` (e.g. {"gas_rate":"latest(entity,'gas_rate')", "defects":"size(related(entity,'defects'))"}). `order_by` = a projection column name or its own cel_expr; `descending` reverses it; `limit` then keeps the top N. So "rank the wells feeding pipeline X by current gas rate, with defect counts" is a single select, not 3N calls. `types` narrows the scan (else inferred from the expression). `format` (json|tsv|md, default json) applies to this list result only: tsv/md return the rows (including any projected columns) as a compact table.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| types | any | |
Bounded, directed, cycle-safe trace over one `kind: network` relationship — every node and edge reachable from `entity_id` within `max_depth` hops in ONE call (nodes carry their `entity_type` and depth; the origin is depth 0). Use this to follow a network instead of chaining get_relationships hop by hop. `direction="outbound"` goes downstream (well → … → plant); `direction="inbound"` goes upstream — e.g. from a pipeline back to the wells that feed it: traverse(pipeline_id, 'feeds', direction='inbound') then keep the nodes whose entity_type == 'Well'. Capped at max_depth=5. Reads the synced graph index (`henosis sync`).
| Argument | Type | Description |
|---|---|---|
| direction | string | |
| entity_id* | string | |
| max_depth | integer | |
| max_nodes | integer | |
| relationship* | string |
{
"type": "object",
"title": "traverseArguments",
"required": [
"entity_id",
"relationship"
],
"properties": {
"direction": {
"type": "string",
"title": "Direction",
"default": "outbound"
},
"entity_id": {
"type": "string",
"title": "Entity Id"
},
"max_depth": {
"type": "integer",
"title": "Max Depth",
"default": 4
},
"max_nodes": {
"type": "integer",
"title": "Max Nodes",
"default": 60
},
"relationship": {
"type": "string",
"title": "Relationship"
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 3, 2026.
| format |
| string |
| project | any |
| order_by | any |
| descending | boolean |
| expression* | string |
{
"type": "object",
"title": "selectArguments",
"required": [
"expression"
],
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 200
},
"types": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Types",
"default": null
},
"format": {
"enum": [
"json",
"tsv",
"md"
],
"type": "string",
"title": "Format",
"default": "json"
},
"project": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Project",
"default": null
},
"order_by": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Order By",
"default": null
},
"descending": {
"type": "boolean",
"title": "Descending",
"default": false
},
"expression": {
"type": "string",
"title": "Expression"
}
}
}