Home / Docs / MCP Server

Use TstoneLab from Claude Desktop (MCP)

Ask Claude Desktop about your Touchstone files in plain language. Your files are read and analyzed by TstoneLab right on your computer.

πŸ’‘

Works with Claude Desktop today. This guide sets up the Claude Desktop app. Support for Claude Code and Codex is planned and will be added here. Web assistants such as ChatGPT and Claude for Web can't be used β€” they only connect to online tools, not a local one like TstoneLab.

What you can do

Ask about your Touchstone files in plain language

Once it's set up, Claude Desktop can use TstoneLab to read and analyze .sNp files on your computer β€” you don't even need to have the TstoneLab app open. Claude Desktop starts TstoneLab's local MCP helper when it needs it. A few examples:

πŸ“„ Summarize a fileport count, span, format, impedance

β€œGive me a quick summary of the .s2p in my Downloads folder.”

β€œWhat reference impedance and format is C:\meas\filter.s3p in?”

πŸ“ˆ Read a parameterone S-parameter across frequency

β€œWhat is S11 in dB for amp.s2p on my Desktop, from 2.4 to 2.5 GHz?”

β€œShow the VSWR of C:\meas\antenna.s1p across the band.”

πŸ—‚οΈ List a folderfind the Touchstone files in a folder

β€œList the Touchstone files in my Downloads folder.”

β€œHow many .s2p files are in C:\meas\batch?”

πŸ”Ž Scan a folder against a specscreen many files by a condition

β€œWhich files in C:\meas\batch have S11 ≀ βˆ’10 dB across 2.4–2.5 GHz?”

β€œIn my measurements folder, find every file whose S21 stays above βˆ’3 dB in-band.”

These are the tools available today. Want a different analysis? Email the developer at ppappui@outlook.com to suggest a feature.

πŸ”’

Local and private. TstoneLab reads and analyzes your Touchstone files on your own computer and does not upload the source files anywhere. Keep in mind that Claude Desktop is still an online service: your prompts and the tool results (which can include measurement values) go to Claude.

Set it up

Turn it on in Claude Desktop

TstoneLab offers this through MCP, an option you switch on in your AI assistant. Here's the core step β€” adding TstoneLab to Claude Desktop's configuration:

πŸ“¦

Requires TstoneLab 6.11.0.0 or later, installed from the Microsoft Store. Earlier versions don't include these tools.

  1. Open the config file
    In Claude Desktop, open Settings β†’ Developer and click Edit Config. This creates the file claude_desktop_config.json (if it doesn't exist yet) and opens its folder. Open that file in a text editor.
  2. Add TstoneLab and save
    If the file already has an "mcpServers" section, add just the "TstoneLab" entry inside it β€” don't create a second one.
    claude_desktop_config.json
    {
      "mcpServers": {
        "TstoneLab": {
          "command": "tstonelab-mcp.exe"
        }
      }
    }
  3. Restart Claude Desktop completely
    Closing the window isn't enough β€” Claude Desktop keeps running in the background. You must fully quit it from the system tray: find the Claude icon in the notification area (the ^ arrow at the bottom-right of the taskbar), right-click it, and choose Quit. Then reopen Claude Desktop so it loads the new config.
⌨️

Prefer to let AI do the editing? If you have Claude Code, you can skip the manual steps above β€” paste the prompt below and it will safely create or update Claude Desktop's config file for you (backing it up first, merging without touching your other servers, and checking the result is valid). This sets up Claude Desktop β€” it does not connect TstoneLab to Claude Code itself.

Paste into Claude Code
Please find and edit Claude Desktop's configuration file
(claude_desktop_config.json) to add an MCP server named "TstoneLab".

Locate the file first:
- Normally it is at %APPDATA%\Claude\claude_desktop_config.json.
- If Claude Desktop was installed from the Microsoft Store, it instead uses
  %LOCALAPPDATA%\Packages\Claude_*\LocalCache\Roaming\Claude\claude_desktop_config.json.
- Edit whichever one already exists. If neither exists, create the %APPDATA% one.

The entry to add is exactly:

  "TstoneLab": {
    "command": "tstonelab-mcp.exe"
  }

Rules you must follow:
1. If the file already exists, first read it and show me its current contents.
   Do NOT delete or change any other server entries under "mcpServers"; only
   merge in the "TstoneLab" key. If there is no "mcpServers" key, create it.
   When creating a new file, use:
   {
     "mcpServers": {
       "TstoneLab": { "command": "tstonelab-mcp.exe" }
     }
   }
2. If a "TstoneLab" entry already exists, show me the current value vs. the new
   value and ask before overwriting it.
3. Before modifying, back up the original to the same path with a .bak extension.
4. After saving, print the full final file contents and verify the JSON is valid
   (braces and commas correct).
5. Finally, remind me to fully quit Claude Desktop (including the tray icon) and
   restart it for the change to take effect.

Other AI assistants

What else can connect

TstoneLab runs as a local tool on your computer, so it works with assistants that can launch a program on your machine β€” not with web-only ones.

βœ… Available nowdesktop app

Claude Desktop β€” set up using the steps above.

🧭 PlannedCLI and desktop apps

Claude Code and Codex (CLI and desktop app) β€” setup steps will be added here.

🚫 Not supportedweb assistants

ChatGPT and Claude for Web β€” these connect only to online tools, so they can't reach a local one like TstoneLab.