Interacting with IoT Data Spaces Using LLMs and the Model Context Protocol

The rapid proliferation of the Internet of Things (IoT) systems has resulted in large volumes of heterogeneous data that are often difficult to access and exploit due to limited interoperability and complex application programming interfaces. Data spaces address these challenges by providing governed environments for secure and semantically interoperable data sharing, commonly relying on standardized interfaces such as the ETSI NGSI-LD API. While powerful, these interfaces are primarily designed for machine-to-machine interaction and remain difficult to use directly by human operators. In this paper, we propose an architecture that enables natural-language access to IoT data stored in a data space by integrating Large Language Models (LLMs) with the Model Context Protocol (MCP). Experimental results using <i>fastMCP</i> and OpenAI API to access a FIWARE-based data space demonstrate that our solution offers accuracy even for prompts that require advanced reasoning.

Authors

Institutions

Publication Details

Journal
Sensors
Published
2026-02-12
DOI
https://doi.org/10.3390/s26041193
Primary Topic
Semantic Web and Ontologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Interacting with IoT Data Spaces Using LLMs and the Model Context Protocol

Nikos Fotiou, Avraam Chatzopoulos, Aristea Athanasopoulou
Sensors
Semantic Web and Ontologies
article

Interacting with IoT Data Spaces Using LLMs and the Model Context Protocol

Nikos Fotiou, Avraam Chatzopoulos, Aristea Athanasopoulou
article en

Abstract

The rapid proliferation of the Internet of Things (IoT) systems has resulted in large volumes of heterogeneous data that are often difficult to access and exploit due to limited interoperability and complex application programming interfaces. Data spaces address these challenges by providing governed environments for secure and semantically interoperable data sharing, commonly relying on standardized interfaces such as the ETSI NGSI-LD API. While powerful, these interfaces are primarily designed for machine-to-machine interaction and remain difficult to use directly by human operators. In this paper, we propose an architecture that enables natural-language access to IoT data stored in a data space by integrating Large Language Models (LLMs) with the Model Context Protocol (MCP). Experimental results using <i>fastMCP</i> and OpenAI API to access a FIWARE-based data space demonstrate that our solution offers accuracy even for prompts that require advanced reasoning.

SensorsVol. 26(4)
University of West Attica (GR), Exodus (Greece) (GR)
Openalex Percentile: Top 59%
Semantic Web and Ontologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.