---
title: AmIHub for developers: REST, MQTT, WebSocket and MCP
url: https://www.amimotion.com/developers/
description: Build on AmIHub: REST queries, MQTT and WebSocket events, an omlox hub interface and a built-in MCP server, with API keys, roles, TLS and audit logs.
updated: 2026-11-21
publisher: AmIMotion (Locatepro Technologies Pvt Ltd, Bengaluru)
---

# For developers. Five ways into AmIHub.

AmIHub keeps one record of where each tag is and when it moved. Your code reads it over open interfaces, inside your plant or in the cloud.

[AmIHub](https://www.amimotion.com/products/amihub/), AmIMotion's software, gives developers location data over REST, MQTT, WebSocket and an omlox hub interface, and has an MCP server built in for AI assistants. Every interface runs over TLS, with API keys and access by role, and every call is logged. On-premise, AmIHub runs on a PC inside your plant, so every interface stays on your network.

[Specifications](https://www.amimotion.com/specs/) · [Trust and data](https://www.amimotion.com/trust/)

## What you can read. Records, not raw radio.

- **Positions** A 3D position for every tracked item, with the time AmIHub saw it.
- **Zone events** Each entry, exit, idle and dwell, with the tag, the zone and the time stamps.
- **History** Trails, trips and waits for any item, over the time window you ask for. CSV and Parquet export.
- **Devices** Health, battery level and firmware state for each AmIGo tag and AmIMo anchor.
- **The map** Your floor plan, zones, fences and racking.
- **Trackables** Assets, vehicles and work orders are objects in AmIHub. You assign tags to them, in AmIHub or over the API.

## Pick the interface. By what your system needs.

| Interface | Pattern | Use it for |
| REST | Request and response | Queries from MES, ERP, WMS and BI tools |
| MQTT | Publish and subscribe | Zone events into plant systems, as they happen |
| WebSocket | Live stream | Screens and your own apps that show live positions |
| omlox hub interface | The open omlox location model | Data that is not tied to one vendor's format |
| MCP server | Tools for AI assistants | Questions in plain words; any change needs a person's approval |

Which topics, fields and rates your systems receive is agreed for your site. The architecture for your site comes with the datasheets, under NDA.

## A zone event, in words.

T-114 entered Inspection at 09:12 .

{
"tag" : "T-114" ,
"zone" : "Inspection" ,
"event" : "entered" ,
"time" : "09:12:04"
}

Example. Field names for your site come with the datasheets.

When a tagged trolley enters a zone, AmIHub records an event. It names the tag, the zone, the kind of event (entered, left, idle or dwell) and the time. When the trolley leaves, a second event closes the visit, so the wait is the time between them. You can take these events as they happen over MQTT or WebSocket, or ask AmIHub for them by time window over REST.

Link each trolley to the job it carries, in AmIHub or from your own system. AmIHub then reports the wait against that job. Your MES stays in charge of the job itself.

## AI assistants, with limits.

AmIHub has an MCP server built in. MCP is an open standard that lets AI assistants use other software.

- **Scoped** Each assistant gets its own access: read-only, or only the actions you allow.
- **Logged** Every request is logged: who asked, what was called and what changed.
- **Approved** Any change, such as raising a work order, needs a person's approval. You can require it from a supervisor.

AmIHub's MCP tools cover live positions, history by time window, zones and fences, and the tags assigned to things. The same tools are there over REST and MQTT. Any assistant that supports MCP can connect. We show it live on a call.

- [MCP and location data](https://www.amimotion.com/learn/mcp-location-data/) What an assistant can and cannot do
- [Ask your floor](https://www.amimotion.com/use-cases/ask-your-floor/) AI assistants and MCP

## Security. The same on every interface.

- **In transit** TLS on every interface.
- **Access** API keys per system or assistant. Access set by role for people.
- **Record** Every call logged. Data retention rules for how long AmIHub keeps history.

- [Trust and data](https://www.amimotion.com/trust/) Where your data lives
- [How a pilot runs](https://www.amimotion.com/pilot/) One flow, one bay.
- [For integrators](https://www.amimotion.com/partners/) Build on open interfaces.

## Build on any layer.

Your team or your integrator can build on AmIMotion at any layer, through open interfaces: the tags and anchors, AmIHub's records, or the MCP tools. One contract and one support line cover every layer.

## Questions developers ask.

### Does AmIHub have an API?

Yes. AmIHub has REST for queries, MQTT and WebSocket for live events and positions, an omlox hub interface, and an MCP server built in for AI assistants.

### Can AmIHub send zone events to our MES?

Yes, over MQTT as they happen, or over REST when your MES asks. Which fields and topics your MES receives is agreed for your site.

### Where is the AmIHub API reference?

Ask on the first call. AmIMotion shares the architecture for your site with the datasheets, under NDA.

### Does AmIHub work without internet?

Yes. On-premise, AmIHub runs on an industrial PC inside your plant, and every interface stays on your network.

### Can an integrator build on AmIMotion?

Yes. Your team or your integrator can build on AmIMotion at any layer, through open interfaces.

## Read next.

[Next step How a pilot runs One flow, one bay.](https://www.amimotion.com/pilot/)
- [See where work waits](https://www.amimotion.com/solutions/wip/)
- [How a pilot runs](https://www.amimotion.com/pilot/)
- [Book a call](https://www.amimotion.com/contact/)

See it on a live map. On a short call we show the live map and an AI query, on real AmIHub data. [Book a call](https://www.amimotion.com/contact/)
