instrument-index-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
instrument-index-mcp
An MCP server that gives AI agents read-only access to a plant instrument index. With it, an assistant can answer questions like "which SIL-rated transmitters are overdue for calibration?" or "is 370 degC on TT-229 in alarm?" from structured data, without guessing.
The dataset is synthetic: it is generated from a fixed seed (
data.py) and describes no real site, asset or vendor.
Why
Instrument indexes usually live in spreadsheets or engineering databases that LLMs cannot query safely. This server shows the pattern:
A domain layer (
index.py) with no MCP dependency, unit-tested on its own.A thin MCP layer (
server.py) whose tools are all markedreadOnlyHint. The database is also opened in SQLitemode=ro, so it cannot be written even through a bug.Engineering logic the model should not improvise: 4-20 mA scaling with NAMUR NE43 fault detection, alarm and range evaluation, ISA-5.1 tag decoding.
Errors are MCP errors: an unknown tag or loop returns a tool result with
isError: true, so the agent cannot mistake it for data.
Related MCP server: PDF-RAG
Tools
Tool | Purpose |
| Free text and filters (type, area, status) |
| Full record for one tag |
| All devices in a control loop |
| Due or overdue calibrations, flags SIL-rated devices |
| Value → % of span and normal / alarm / out-of-range state |
| 4-20 mA → engineering units, with NE43 diagnostics (failure, under/over-range, undefined band) |
| Decodes a tag such as |
| Counts by type and status |
Run
pip install -e ".[dev]"
pytest -q
python -m instrument_index_mcp.server # stdio
python -m instrument_index_mcp.server --http # streamable HTTP on :8000With Docker:
docker build -t instrument-index-mcp .
docker run --rm -p 127.0.0.1:8000:8000 instrument-index-mcp # local only: the server has no authClaude Desktop / Claude Code (stdio)
{
"mcpServers": {
"instrument-index": {
"command": "python",
"args": ["-m", "instrument_index_mcp.server"],
"env": { "INSTRUMENT_DB": "/absolute/path/to/instruments.db" }
}
}
}The database is created automatically on first run if it does not exist.
Notes:
Calibration dates are generated around 2026-01-01 and
calibration_duecompares them with today's date, so the overdue list grows over time.The HTTP transport has no authentication. Bind it to localhost, or put it behind an authenticating proxy before exposing it.
Example prompts
"List in-service flow transmitters in area 200 and their signal types."
"Which SIL-rated instruments are overdue for calibration?"
"PT-269 reads 13.8 mA. What pressure is that, and is it in alarm?"
Compatibility
Works with MCP Python SDK 1.x (FastMCP) and 2.x (MCPServer).
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
A read-only verified record of agent-operable GTM tools: search, fetch, compare, track changes.
Read-only search of 2,189 AI agent tools (MCP servers, x402 APIs) with daily automated trust scores.
Industrial glossary, protocol reference, technical search and OEE calculation. Read-only.
Read-only Attify tools: AI agent verdicts, standards, attestations and definitions.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to look up thermophysical properties — density, viscosity, thermal conductivity, speed of sound, enthalpy, entropy, Cv/Cp and phase — for roughly 76 reference fluids at a given temperature and pressure, or along the liquid/vapor saturation curve, plus fluid listing and name resolution. Each returned value is accompanied by its unit, and out-of-range conditions surface as clear errors.65 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to search local component-manual corpora via hybrid semantic, full-text, and substring retrieval with table recognition and OCR fallback for scanned pages. Provides tools for literal/regex grepping, reading single or multiple pages, navigating bookmarks and outlines, listing categories and indexed files, and checking index and dependency status.AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceEnables AI agents and LLM clients to securely query and write PI time-series archives, AF asset databases, elements, attributes, and summaries through standard tool calls, with optional off-by-default tools for building and maintaining AF structures and dry-run modifications.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to inspect industrial devices read-only over Modbus TCP and OPC UA, including reading and watching values, browsing nodes, decoding registers, and diagnosing connection issues without any write capability.Apache 2.0