labmcp-ocean-spectrometer MCP
An MCP server that enables AI agents to interact with Ocean Insight and Ocean Optics spectrometers via the python-seabreeze library. It supports acquiring spectra, configuring integration times, storing dark and reference spectra, and performing measurements such as absorbance, transmittance, peak positions, and FWHM. It includes a simulation mode for testing without hardware and supports various USB spectrometer models.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Acquire spectral data from connected Ocean Insight hardware
- Measure absorbance and transmittance with peak analysis
- Store dark and reference spectra for calibration
- Simulate spectrometer behavior for testing agents
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
labmcp-ocean-spectrometer 0.1.2
{
"version": "0.1.2",
"transport": "stdio",
"identifier": "labmcp-ocean-spectrometer",
"registryType": "pypi",
"registryBaseUrl": "https://pypi.org",
"environmentVariables": [
{
"name": "LABMCP_ADDRESS",
"description": "Instrument address, e.g. serial:///dev/ttyUSB0 or tcp://192.168.1.50:5025"
},
{
"name": "LABMCP_SIMULATE",
"description": "Set to 1 to use the built-in simulator (no hardware)"
},
{
"name": "LABMCP_READ_ONLY",
"description": "Set to 1 to disable all state-changing tools"
},
{
"name": "LABMCP_LIMITS",
"description": "Safety limit overrides, e.g. max_temperature_c=80"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"labmcp-ocean-spectrometer-mcp": {
"command": "uvx",
"args": [
"labmcp-ocean-spectrometer==0.1.2"
],
"env": {
"LABMCP_ADDRESS": "<YOUR_LABMCP_ADDRESS>",
"LABMCP_SIMULATE": "<YOUR_LABMCP_SIMULATE>",
"LABMCP_READ_ONLY": "<YOUR_LABMCP_READ_ONLY>",
"LABMCP_LIMITS": "<YOUR_LABMCP_LIMITS>"
}
}
}
}Cline
{
"mcpServers": {
"labmcp-ocean-spectrometer-mcp": {
"command": "uvx",
"args": [
"labmcp-ocean-spectrometer==0.1.2"
],
"env": {
"LABMCP_ADDRESS": "<YOUR_LABMCP_ADDRESS>",
"LABMCP_SIMULATE": "<YOUR_LABMCP_SIMULATE>",
"LABMCP_READ_ONLY": "<YOUR_LABMCP_READ_ONLY>",
"LABMCP_LIMITS": "<YOUR_LABMCP_LIMITS>"
}
}
}
}VS Code
{
"servers": {
"labmcp-ocean-spectrometer-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"labmcp-ocean-spectrometer==0.1.2"
],
"env": {
"LABMCP_ADDRESS": "<YOUR_LABMCP_ADDRESS>",
"LABMCP_SIMULATE": "<YOUR_LABMCP_SIMULATE>",
"LABMCP_READ_ONLY": "<YOUR_LABMCP_READ_ONLY>",
"LABMCP_LIMITS": "<YOUR_LABMCP_LIMITS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"labmcp-ocean-spectrometer-mcp": {
"command": "uvx",
"args": [
"labmcp-ocean-spectrometer==0.1.2"
],
"env": {
"LABMCP_ADDRESS": "<YOUR_LABMCP_ADDRESS>",
"LABMCP_SIMULATE": "<YOUR_LABMCP_SIMULATE>",
"LABMCP_READ_ONLY": "<YOUR_LABMCP_READ_ONLY>",
"LABMCP_LIMITS": "<YOUR_LABMCP_LIMITS>"
}
}
}
}Let your agent find its tools
Find servers like labmcp-ocean-spectrometer MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.