Adafruit IO MCP by usefulapi
v1.28.0Read Adafruit IO feeds, data, groups and dashboards; publish a data point or create a feed.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
adafruitio_get_user Get user
The Adafruit IO account this key belongs to: id, name, username, time zone, created/updated times, plus the data rate limit when reported. GET /api/v2/user.
adafruitio_get_throttle Get data rate limit
The account's data rate limit (data-record modifications per minute: 30 on free accounts, 60 on Plus) and the current active data rate. Check it before publishing many points. GET /api/v2/{username}/throttle.
adafruitio_list_feeds List feeds
List all of the account's feeds with key, name, description, unit, visibility, enabled flag, last value and last update. GET /feeds.
adafruitio_get_feed Get feed
One feed by key: name, description, unit, visibility, last value, status settings and the groups it belongs to. GET /feeds/{feed_key}.
| Parameter | Type | Description |
|---|---|---|
feed_key * | string | Feed key (the URL-safe key shown in Adafruit IO, for example 'temperature'; 'group-key.feed-key' also works). |
adafruitio_get_feed_details Get feed details
A feed with its details block: first and last data point and the number of stored points. GET /feeds/{feed_key}/details.
| Parameter | Type | Description |
|---|---|---|
feed_key * | string | Feed key (the URL-safe key shown in Adafruit IO, for example 'temperature'; 'group-key.feed-key' also works). |
adafruitio_list_feed_data List feed data
Data points of a feed (max 1000 per call). Newest first, except that with start_time the API returns the oldest page after that time. Filter by time range and limit; to read further back call again with the reply's next_page_args (the same filters plus `before`). GET /feeds/{feed_key}/data.
| Parameter | Type | Description |
|---|---|---|
feed_key * | string | Feed key (the URL-safe key shown in Adafruit IO, for example 'temperature'; 'group-key.feed-key' also works). |
before | string | Pagination token: next_before from the previous reply (keep the same other arguments). |
end_time | string | ISO 8601 date or date-time, e.g. 2026-10-01T00:00:00Z. |
include | string | Comma-separated fields to return: value, lat, lon, ele, id, created_at. |
limit | integer | Maximum records to return, 1-1000 (default 100). |
start_time | string | ISO 8601 date or date-time, e.g. 2026-10-01T00:00:00Z. |
adafruitio_get_last_data Get latest data point
The most recent data point of a feed (value, location, created_at). GET /feeds/{feed_key}/data/last.
| Parameter | Type | Description |
|---|---|---|
feed_key * | string | Feed key (the URL-safe key shown in Adafruit IO, for example 'temperature'; 'group-key.feed-key' also works). |
include | string | Comma-separated fields to return: value, lat, lon, ele, id, created_at. |
adafruitio_get_data_point Get data point
One stored data point of a feed by its id. GET /feeds/{feed_key}/data/{id}.
| Parameter | Type | Description |
|---|---|---|
data_id * | string | Data point id (the `id` field of a data point). |
feed_key * | string | Feed key (the URL-safe key shown in Adafruit IO, for example 'temperature'; 'group-key.feed-key' also works). |
adafruitio_get_feed_chart Get feed chart data
Aggregated chart data for a feed: values sliced by `resolution` minutes over the last `hours` (or a start/end range), using avg, sum, min, max, val or val_count. Good for trends without downloading every point. GET /feeds/{feed_key}/data/chart.
| Parameter | Type | Description |
|---|---|---|
feed_key * | string | Feed key (the URL-safe key shown in Adafruit IO, for example 'temperature'; 'group-key.feed-key' also works). |
end_time | string | ISO 8601 date or date-time, e.g. 2026-10-01T00:00:00Z. |
field | string | Aggregation (default avg). |
hours | integer | Hours of history (ignored when start_time and end_time are given). |
resolution | Slice size in minutes. | |
start_time | string | ISO 8601 date or date-time, e.g. 2026-10-01T00:00:00Z. |
adafruitio_list_groups List groups
List the account's groups (named sets of feeds) with their feeds. GET /groups.
adafruitio_get_group Get group
One group by key with its feeds. GET /groups/{group_key}.
| Parameter | Type | Description |
|---|---|---|
group_key * | string | Group key. |
adafruitio_list_dashboards List dashboards
List the account's dashboards with key, name, description and visibility. GET /dashboards.
adafruitio_get_dashboard Get dashboard
One dashboard by key. GET /dashboards/{dashboard_key}.
| Parameter | Type | Description |
|---|---|---|
dashboard_key * | string | Dashboard key. |
adafruitio_list_blocks List dashboard blocks
The blocks (widgets: gauges, toggles, charts, sliders...) of a dashboard with their feeds, position and properties. Integration secrets in properties are removed. GET /dashboards/{dashboard_key}/blocks.
| Parameter | Type | Description |
|---|---|---|
dashboard_key * | string | Dashboard key. |
adafruitio_list_activities List activity log
The account's activity log (feed/data/dashboard changes), optionally within a time range. GET /activities.
| Parameter | Type | Description |
|---|---|---|
end_time | string | ISO 8601 date or date-time, e.g. 2026-10-01T00:00:00Z. |
limit | integer | Maximum entries, 1-1000. |
start_time | string | ISO 8601 date or date-time, e.g. 2026-10-01T00:00:00Z. |
adafruitio_publish_data_point Publish data point
WRITE: publish one data point (a value) to a feed. This can drive REAL DEVICES: anything subscribed to the feed (relays, motors, lights, heaters, locks, dashboard toggles) will receive and may act on the value, and it cannot be undone from here. Only publish a value the user has asked for. Counts against the account's data rate limit (30 per minute on free accounts, 60 on Plus). POST /feeds/{feed_key}/data.
| Parameter | Type | Description |
|---|---|---|
feed_key * | string | Feed key (the URL-safe key shown in Adafruit IO, for example 'temperature'; 'group-key.feed-key' also works). |
value * | The value to publish (text or number, up to 1000 characters). | |
ele | number | Elevation of the reading in meters. |
lat | number | Latitude of the reading. |
lon | number | Longitude of the reading. |
adafruitio_create_feed Create feed
WRITE: create a new, empty feed (private by default), optionally inside an existing group. Adds a feed only; it does not change or delete anything existing, and fails if the name is taken. POST /feeds.
| Parameter | Type | Description |
|---|---|---|
name * | string | Feed name (the key is derived from it). |
description | string | Optional description. |
group_key | string | Optional existing group key to create the feed in. |