FieldCure.Mcp.ZStudio 0.2.0

There is a newer version of this package available.
See the version list below for details.
{
  "inputs": [
    {
      "type": "promptString",
      "id": "zstudio_license_key",
      "description": "ZStudio license key carrying the zstudio-ai (MCP) entitlement. Omit to use the fingerprint-bound server-issued trial.",
      "password": true
    },
    {
      "type": "promptString",
      "id": "zstudio_workdir",
      "description": "Default folder for reading and writing .zstudy files when a tool is called without an explicit path. Defaults to a 'ZStudio' folder under your Documents. Paste a full folder path, e.g. E:\\Workspace.",
      "password": false
    }
  ],
  "servers": {
    "FieldCure.Mcp.ZStudio": {
      "type": "stdio",
      "command": "dnx",
      "args": ["FieldCure.Mcp.ZStudio@0.2.0", "--yes"],
      "env": {
        "ZSTUDIO_LICENSE_KEY": "${input:zstudio_license_key}",
        "ZSTUDIO_WORKDIR": "${input:zstudio_workdir}"
      }
    }
  }
}
                    
This package contains an MCP Server. The server can be used in VS Code by copying the generated JSON to your VS Code workspace's .vscode/mcp.json settings file.
dotnet tool install --global FieldCure.Mcp.ZStudio --version 0.2.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local FieldCure.Mcp.ZStudio --version 0.2.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=FieldCure.Mcp.ZStudio&version=0.2.0
                    
nuke :add-package FieldCure.Mcp.ZStudio --version 0.2.0
                    

ZStudio MCP Server

An MCP (Model Context Protocol) server that exposes the ZStudio electrochemical impedance spectroscopy (EIS) analysis engine to AI assistants. Import multi-vendor EIS measurement files, build and organize .zstudy documents, plot them, and run Z-HIT / Kramers–Kronig / DRT / equivalent-circuit fitting — directly from Claude, VS Code, and other MCP hosts.

ZStudio MCP ties ZStudio's validation / DRT / fitting engine into a conversational analysis flow, so you can check data quality faster, compare physically plausible candidate models, and understand the limits of every result. All numbers are computed by the verified ZStudio engine (each result carries a provenance stamp) — the AI only guides the workflow and interprets. Results are saved as .zstudy and open seamlessly in the ZStudio desktop app.

Developed by FieldCure Co., Ltd.

Requirements

  • Windows 10/11 (x64) — this is a Windows-only package. It uses the native Intel MKL (x64) math provider and Windows-based machine licensing; macOS and Linux are not supported.
  • .NET SDK 10 or later — the server is launched with dnx, which runs the NuGet package without installing it globally and requires the SDK (not just the runtime).
  • An MCP host (Claude Desktop, VS Code, or any stdio MCP client).

Configure your MCP host

Many hosts can add this server automatically from the NuGet MCP registry. To configure manually, run it from NuGet without installing, via dnx:

{
  "mcpServers": {
    "zstudio": {
      "command": "dnx",
      "args": ["FieldCure.Mcp.ZStudio"],
      "env": {
        "ZSTUDIO_LICENSE_KEY": "<your license key>",
        "ZSTUDIO_WORKDIR": "C:\\Users\\<you>\\Documents\\ZStudio"
      }
    }
  }
}

Both environment variables are optional:

  • Omit ZSTUDIO_LICENSE_KEY to run on the 15-day trial.
  • Omit ZSTUDIO_WORKDIR to default to a ZStudio folder under your Documents (created on first use). This is where studies are read/written when a tool is called without an explicit path.

(Exact config syntax varies by host — see your MCP host's documentation.)

Environment variables

Variable Required Description
ZSTUDIO_LICENSE_KEY No ZStudio license key carrying the MCP (zstudio-ai) entitlement. If omitted, a 15-day trial is used.
ZSTUDIO_WORKDIR No Default folder for reading and writing .zstudy files when a tool is called without an explicit path. Defaults to a ZStudio folder under your Documents.
ZSTUDIO_AUTOSAVE No Set to off to disable the automatic save of the affected study after each successful mutating tool call (on by default).

Tools

The model works through short id-handles and token-light summaries; raw spectra stay on the server. Charts travel as Plotly specs that chart-capable hosts (Claude Desktop, Cowork, VS Code, …) render inline.

  • Session & documents — create_from_file (import a raw file; optionally opens the study in the same call), open_study, list_studies, list_tree, get_dataset (token-light summary, optional geometric shape), get_dataset_metadata, get_curve (decimated / windowed measured points, column-oriented), save_study, list_session, close_study, open_in_app (launch the ZStudio desktop app).
  • Editing — new_study, import_data, add_folder, rename_item, move_item, remove_item, set_active_dataset, set_dataset_properties, get_study_info, set_study_info.
  • Plotting — plot (Nyquist / Bode / admittance; overlay multiple datasets, overlay a stored analysis reconstruction, or a dataset-level residual plot).
  • Analysis — zhit, set_analysis_source, kk (Kramers–Kronig; R/C-vs-τ Voigt distribution), drt_tikhonov (continuous γ(τ) with a curve-shape description), drt_loewner (discrete RC/RL poles), estimate_inductance (series/stray diagnostic), guess_ecm (data-derived initial values, no fit), evaluate_ecm (χ²/uncertainty at adjusted values, no fit), fit_ecm (with optional circuit schematic; seed_from continues from the stored state).
  • Circuits (CDC) — parse_circuit, render_circuit, circuit_reference, simulate_circuit, list_models (built-in model catalog with typical values and recommended frequency windows).
  • Licensing — license_status (reports licensed / trial / unlicensed; always callable).

Studies and analysis results auto-save to their .zstudy after each mutating tool call (disable with ZSTUDIO_AUTOSAVE=off).

Vendor formats auto-detected on import: BioLogic (.mpr/.mpt), Gamry (.DTA), Scribner/ZView (.z), Ivium, EcoChemie, Elchemea, MinTech, and generic CSV/TSV.

License & support

Commercial software. The MCP tools require a valid ZStudio license that includes the AI (MCP) add-on; a time-limited trial runs when no key is supplied.

  • To purchase a license (including the AI/MCP add-on), contact MinTech: support@g-mintech.co.kr
  • Developer: FieldCure Co., Ltd. — https://www.fieldcure.com — support@fieldcure.com

© FieldCure Co., Ltd. All rights reserved.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.16.0 164 7/10/2026
0.15.0 140 7/10/2026
0.14.0 129 7/5/2026
0.13.0 136 7/2/2026
0.12.0 144 7/1/2026
0.11.0 146 6/27/2026
0.10.0 141 6/26/2026
0.9.0 138 6/26/2026
0.8.1 139 6/25/2026
0.8.0 130 6/24/2026
0.7.0 135 6/22/2026
0.6.0 141 6/21/2026
0.5.0 132 6/21/2026
0.4.0 208 6/19/2026
0.3.1 143 6/18/2026
0.3.0 129 6/17/2026
0.2.0 134 6/12/2026
0.1.1 142 6/9/2026
0.1.0 142 6/8/2026

v0.2.0 — 37 tools (from 32).
New: guess_ecm / evaluate_ecm / fit_ecm(seed_from) form the estimate → adjust → fit workflow; list_models exposes the built-in equivalent-circuit catalog (categories, CDC, typical values, frequency windows) and the server instructions now carry a model-selection discipline (evidence first, 2–4 candidates, screen before fitting, reject over-parameterized circuits); get_curve adds a bounded, log-decimated raw-point drill-down; create_from_file(open_session=true) imports and opens a study in one call.
Upgraded: automatic ECM initial values now come from ZStudio's structural estimator; plot gains analysis-reconstruction overlays, a residual view, and shape narration; kk gains the R/C-vs-τ Voigt chart and real/imaginary test types; drt_tikhonov describes the γ(τ) curve by segments; drt_loewner reports model order and de-embedded Rs/Ls/Rp|Lp; estimate_inductance returns a verdict with a failure trace; fit_ecm always reports uncertainty and can attach an SVG schematic.
Fixed: chart delivery/stripping signaling (_meta.render_status) for every chart tool, auto-save behavior described accurately in tool descriptions, and the runtime version now derives from assembly metadata.
Also includes 0.1.1: headerless CSV/TSV import (headerless_format) and hostname-based license seat names.