MCP Server for sensor device
@kmwebnet
About MCP Server for sensor device
This project is a Node.js application designed for use with Claude Desktop. It simulates a CO2 sensor device and provides a JSON-RPC server to interact with the device. The application can run in both simulation mode and real mode, where it connects to a Raspberry Pi Pico via USB
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"MCP-Server-for-sensor-device": {
"command": "node",
"args": [
"index.js"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Server for sensor device?
MCP Server for sensor device is a Node.js application designed for use with Claude Desktop. It simulates a CO2 sensor device and provides a JSON-RPC server to interact with the device, supporting both simulation mode and real mode where it connects to a Raspberry Pi Pico via USB to read actual CO2 levels.
How to use MCP Server for sensor device?
Install Node.js, clone the repository, run npm install to install dependencies, then configure claude_desktop_config.json with the server command and path. Start the server by running node index.js in the project directory.
Key features of MCP Server for sensor device
- Simulates a CO2 sensor with random CO2 levels in simulation mode.
- Connects to a Raspberry Pi Pico via USB for real CO2 readings.
- Provides device information, sensor data, and network status via JSON-RPC.
- Supports commands to publish to MQTT, reconnect WiFi, and reconnect MQTT (some functionalities are mocked).
- Logs CO2 levels and other information to a log file in the user's home directory.
Use cases of MCP Server for sensor device
- Testing and prototyping CO2 sensor interactions without physical hardware.
- Monitoring real CO2 levels in a physical space using a Raspberry Pi Pico.
- Integrating environmental sensor data into Claude Desktop workflows.
- Simulating network and MQTT commands for development and debugging.
FAQ from MCP Server for sensor device
What does MCP Server for sensor device do?
It provides a JSON-RPC server that can simulate a CO2 sensor or connect to a real Raspberry Pi Pico sensor. It is used with Claude Desktop to expose device information, sensor data, and network status.
What are the dependencies or runtime requirements?
The application requires Node.js to be installed on the machine. No other external runtime dependencies are mentioned.
How is the server configured for Claude Desktop?
The claude_desktop_config.json file must include a mcpServers entry with the command node and the path to index.js as the argument. An example configuration is provided in the README.
Where does the application store data?
The application logs CO2 levels and other information to a file named co2_level.log in the user's home directory.
What is the license for this project?
The project is licensed under the MIT License.
More Developer Tools MCP servers
JetBrains MCP Proxy Server
JetBrainsA model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio
TalkToFigma
sonnylazuardiTalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
test
cloudwegoThe ultimate LLM/AI application development framework in Go.
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. 🦀
test
harlancA simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
Comments