# DeviceChain

> DeviceChain is an open-source MCP server for cloud and infrastructure. Read-only access to a self-hosted DeviceChain IoT fleet: devices, telemetry and alarms. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** self-hosted, API
- **Website:** https://docs.devicechain.io/concepts/mcp/
- **Repository:** https://github.com/devicechain-io/devicechain/tree/HEAD/backend/services/mcp
- **MCP Registry name:** io.devicechain/mcp
- **Categories:** cloud and infrastructure, analytics and data
- **Listing updated:** 2026-11-16

## About

This server runs inside your own DeviceChain instance, so the URL carries your host name and there is no shared endpoint. It is a thin layer over the platform's GraphQL API, and every tool runs under the signed-in user's own tenant-scoped token, which means an assistant never sees more than that person can.

Authorization uses an OAuth 2.1 server with PKCE, RFC 8414 metadata, refresh-token rotation and RFC 8707 audience binding. Dynamic client registration is planned, so an administrator registers clients for now. The docs describe eleven read tools plus preview tools that propose alarm actions for human review. A caveat from the docs: list_devices and get_device do not yet show whether a device is disabled.

## Features

- **Device lookup:** list_devices and get_device read device records, and get_device_capabilities lists measurable metrics and published commands.
- **Live state:** get_device_state says whether a state was reported or inferred from silence.
- **Measurements:** get_latest_measurements, query_measurements and aggregate_measurements cover latest values, raw series and bucketed aggregates.
- **Position history:** query_locations returns reported positions and needs a separate location scope and permission.
- **User-scoped access:** Tools use the caller's tenant token so results match what that user may see.
- **Alarm proposals:** Preview tools propose alarm actions for human review.

## Good for

- Ask which devices in a building have not reported in an hour
- Summarise today's alarms for cold-storage assets
- Check the latest temperature on a thermostat
- Find where a vehicle was last reported

## Tools

- `list_devices`: Lists devices, with filtering.
- `get_device`: A single device's details.
- `get_device_capabilities`: What a device can measure and the published commands it accepts.
- `get_device_state`: The device's last-known state and whether it was reported or inferred.
- `get_latest_measurements`: The most recent value per measurement.
- `query_measurements`: Raw time-series readings over a time range.
- `aggregate_measurements`: Bucketed aggregates over a range.
- `query_locations`: A device's reported positions over an optional time window.

## FAQ

### Is it hosted by DeviceChain?

No. It is an opt-in service in a self-hosted instance, at https://{host}/api/mcp.

### Can it change devices?

The read tools cannot; preview tools only propose alarm actions for review.

### What licence does DeviceChain use?

Apache 2.0, with no device cap and no enterprise edition.

### Why can query_locations be refused?

It needs the separate location scope and the user's location permission.

### Is DeviceChain free?

Yes. DeviceChain is open source, so you can use and self-host it for free.

### What are the best alternatives to DeviceChain?

The closest alternatives to DeviceChain are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP, World Monitor and CompanyData.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [CompanyData](https://ai-powered.com/mcp/companydata): CompanyData is a paid MCP server for analytics and data.
- [ChartAnt](https://ai-powered.com/mcp/chartant): ChartAnt is a freemium MCP server for design and media.
- [Quantivex Research](https://ai-powered.com/mcp/quantivex-research): Quantivex Research is a free MCP server for finance and payments.
- [Provyan](https://ai-powered.com/mcp/provyan): Provyan is a free MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/devicechain
