The repository or configuration that created this release differ from a previous release. View details.
PASCO Capstone MCP
Control Capstone experiments and analyze physics data through your AI assistant.
한국어 · English
Getting started · Example requests · User guide (Korean) · Privacy Policy
PASCO Capstone MCP is an unofficial Model Context Protocol (MCP) server for operating PASCO Capstone, extracting .cap/CSV experiment data, running numerical/spectral analysis, and generating physics lab reports.
- Offline file & physics analysis (cross-platform: Windows / macOS / Linux): Reading
.caparchives and CSV files, linear/weighted regression, FFT power spectra, experiment recipes, and Markdown/HTML reports run on any OS without launching Capstone. - Live desktop automation (Windows only): Window control, file Open/Save/CSV export, graph/calculator automation, and live sensor polling integrate with PASCO Capstone running on Windows.
What can it do?
| Task | Capabilities |
|---|---|
| Read saved experiments | Inspect settings, runs, units, and saved graphs in .cap files, and parse strict ISO 8601 CSV time axes safely. |
| Analyze measurements | Plot paired samples, run OLS and inverse-variance weighted linear regression, Cook's distance, and Hann/rectangular FFT power spectra. |
| Operate Capstone UI | Inspect windows/controls, capture screenshots, dismiss delayed software update prompts safely, and drive Windows 11 Open/Save/Export dialogs. |
| Displays & calculator | Manage graphs (axes, 23 built-in fits, ownership-checked Copy Display), pages/tables/Digits/Scope/FFT layouts, and CalcEntryWidget formulas & units. |
| Work with instruments | Poll live sensor/measurement channels over local CDP (127.0.0.1:9222), configure rates, timers, or manual samples. (Physical 850/550 equipment requires real-device verification.) |
| Analyze physics experiments | Analyze photoelectric, polarization (Malus's law), RLC, forced oscillation, adiabatic gas, and single/double-slit diffraction (with GUM uncertainty) data, and render Markdown/HTML lab reports. |
Getting started
1. Prerequisites
You need uv and an MCP-compatible AI client. (uvx provisions Python 3.12+ automatically—no local repository clone required.)
To drive the live desktop app, PASCO Capstone must be installed on Windows. By default the server looks for Capstone at the standard install path below; set CAPSTONE_EXECUTABLE to an absolute .exe path to override it:
C:/Program Files/PASCO scientific/Capstone/Capstone.exe
2. Connect your AI client (recommended via PyPI)
Add this entry to the mcpServers config of any MCP-compatible client (Claude Desktop, Cursor, Antigravity, etc.) to launch the published capstone-mcp PyPI package directly with uvx:
{
"mcpServers": {
"capstone": {
"command": "uvx",
"args": ["capstone-mcp"]
}
}
}
Apply the configuration or restart the client and verify that the 22 capstone_* tools (such as capstone_file_datasets and capstone_manage_graph) appear. Your client launches the stdio server automatically.
Custom Capstone executable path (CAPSTONE_EXECUTABLE)
If PASCO Capstone is installed in a non-default location on Windows, pass CAPSTONE_EXECUTABLE in env:
{
"mcpServers": {
"capstone": {
"command": "uvx",
"args": ["capstone-mcp"],
"env": {
"CAPSTONE_EXECUTABLE": "D:/Apps/PASCO/Capstone/Capstone.exe"
}
}
}
}
Using Streamable HTTP instead
Run the HTTP server from a terminal:
uvx --from capstone-mcp capstone-mcp-http
Register http://127.0.0.1:8766/mcp as the MCP server URL in your client and keep the terminal running. The server listens strictly on local loopback (127.0.0.1). See the user guide (Korean) for details.
Running from a local clone (for developers)
Clone the repository, install dependencies, and point your MCP client to the local folder with --directory:
git clone https://github.com/ji5zi5/pasco-capstone-mcp.git
cd pasco-capstone-mcp
uv sync --python 3.12
{
"mcpServers": {
"capstone": {
"command": "uv",
"args": [
"--directory", "C:/Projects/pasco-capstone-mcp",
"run", "--no-sync", "capstone-mcp"
]
}
}
}
3. Try your first request
Ask your assistant to inspect a local experiment file:
Show me the datasets in
C:/Experiments/momentum.cap, including their names, unit information, and sample counts.
To operate the live app on Windows, open an experiment in Capstone and ask: “Connect to the running Capstone app and show me its current windows.”
Example requests
- Saved experiment — “Show the runs and units, then give me the first 20 paired time and velocity samples from a recorded run.”
- Graphs — “Read the axes, run and fit coefficients from the second saved graph.” When changing an open graph, observe the window first and verify native fit status afterward.
- Export before saving — “Export this experiment to a new file,
C:/Experiments/current.csv, and show the first 20 rows.” - Polarization / diffraction — “Fit Malus’s law (
cos²θ) to my angle (deg) and intensity arrays and generate an HTML lab report.” - Live readings — “Read the current value and unit from the connected force sensor.” Live measurement polling requires the Capstone process to expose the local debugging port. Setup in Korean
Things to know
- UI automation may bring Capstone to the foreground. Use an unlocked Windows desktop and avoid simultaneous control from multiple clients. Pass
--no-synctouv runif another backgroundcapstone-mcpprocess holds a lock on Windows. - Saving and exporting never overwrite existing files. CSV exports follow Capstone's display precision; extract from
.caparchives when full stored numerical precision is required. - Read saved graphs directly from
.capfiles. For unsaved graphs, the server verifies clipboard ownership and generation around nativeCopy Displayand restores prior clipboard formats. - Sensorless live workflows are verified on PASCO Capstone
2.13.4+ Windows 11, while custom-rendered.PageViewTable/Digits internals and physical PASCO 850/550 hardware acquisition remain bounded by UIA exposure and hardware availability.
Detailed tool references and troubleshooting are in the user guide (Korean).
Development & checks
uv run --no-sync ruff check src tests
uv run --no-sync basedpyright src
uv run --no-sync pytest -q
Privacy Policy
capstone-mcp executes strictly on your local machine without telemetry or third-party data transmission. See PRIVACY.md for details.
Metadata
Release files for capstone-mcp 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| capstone_mcp-0.1.3.tar.gz | 571.1 kB | With provenance | Details for capstone_mcp-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| capstone_mcp-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for capstone_mcp-0.1.3-py3-none-any.whl |
Total release size: 853.5 kB
Release files / capstone_mcp-0.1.3.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | capstone_mcp-0.1.3.tar.gz |
|---|---|
| Size | 571.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09bdfd40f6999517b49be1fd0ade130dcc9501ef04c26b616ae8d360043c338d
|
|
BLAKE2b-256 checksum How to use checksums |
58e876177cf07f2c1c5d631d6816602b576e552df52ed651c909f4f1327ce275
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / capstone_mcp-0.1.3-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | capstone_mcp-0.1.3-py3-none-any.whl |
|---|---|
| Size | 282.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e284bc6d59a2207c52116411d34531921fcd929daee0e329f53db6245f750df0
|
|
BLAKE2b-256 checksum How to use checksums |
09b893e0b081deb5290d373b0912bb2c0cc066c16f7ef580350d64f6fef08960
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logSecurity for capstone-mcp 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Change of provenance
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Repository
- Removed 0.1.2 github.com/ji5zi5/capstone-mcp
- Added 0.1.3 github.com/ji5zi5/pasco-capstone-mcp
Attestation for capstone_mcp-0.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.