Skip to main content

mcp_pyphotomol

Tests Documentation

This repository contains a local MCP server for the analysis of mass photometry data. It is based on the Python package pyphotomol.

Video demonstration

Watch a demonstration of the MCP server in action: Video Demo.

Getting started

Please refer to the documentation

Installation

You need to have Python 3.12 or newer installed on your system. If you don't have Python installed, we recommend installing uv.

Run from the command line

uvx mcp_pyphotomol

By default, plots and log files are saved in ~/user_data_mcp_pyphotomol/<YYYY-MM-DD>/. To choose a different results folder, set RESULTS_DIR before starting the server. This folder is where results are stored; each server run writes into a date-stamped subfolder.

RESULTS_DIR=~/Documents/user_data_mcp_pyphotomol uvx mcp_pyphotomol

Configure an MCP client

Add the server to any MCP-compatible client that supports the mcpServers configuration format:

{
  "mcpServers": {
    "mcp_pyphotomol": {
      "command": "uvx",
      "args": ["mcp_pyphotomol"],
      "env": {
        "RESULTS_DIR": "/absolute/path/to/results-folder"
      }
    }
  }
}

After updating the configuration, restart the MCP client so it can launch the server.

Claude Desktop

In Claude Desktop, open Settings, go to Developer, and click Edit Config. Add mcp_pyphotomol to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp_pyphotomol": {
      "command": "uvx",
      "args": ["mcp_pyphotomol"],
      "env": {
        "RESULTS_DIR": "/Users/your-name/Documents/user_data_mcp_pyphotomol"
      }
    }
  }
}

Claude Desktop stores this file at:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Save the file, then fully quit and reopen Claude Desktop.

Local development

To run the server from a local checkout, use an absolute path to the repository:

{
  "mcpServers": {
    "mcp_pyphotomol": {
      "command": "uvx",
      "args": [
        "--refresh",
        "--from",
        "/absolute/path/to/mcp_pyphotomol",
        "mcp_pyphotomol"
      ]
    }
  }
}

If you want to reuse the checkout's existing environment, run it through uv:

{
  "mcpServers": {
    "mcp_pyphotomol": {
      "command": "uv",
      "args": ["run", "--directory", "/absolute/path/to/mcp_pyphotomol", "mcp_pyphotomol"]
    }
  }
}

Install with pip

pip install --user mcp_pyphotomol

Then run the server with:

mcp_pyphotomol

If your shell cannot find the command, make sure your user-level Python scripts directory is on PATH.

You can use the same output-folder setting when running the installed command:

RESULTS_DIR=~/Documents/user_data_mcp_pyphotomol mcp_pyphotomol

Contact

If you found a bug, please use the issue tracker.

Citation

If you use mcp_pyphotomol, please cite it as:

Burastero, O. (2026). mcp_pyphotomol (Version 1.0) [Computer software]. GitHub. https://github.com/osvalB/mcp_pyphotomol

@software{burastero_2026_mcp_pyphotomol,
  author = {Burastero, Osvaldo},
  title = {mcp_pyphotomol},
  version = {1.0},
  year = {2026},
  url = {https://github.com/osvalB/mcp_pyphotomol}
}

Metadata

Release files for mcp-pyphotomol 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-pyphotomol 1.1.1
File Size Uploaded
mcp_pyphotomol-1.1.1.tar.gz 457.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-pyphotomol 1.1.1
File Interpreter ABI Platform
mcp_pyphotomol-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 741.3 kB

Release files / mcp_pyphotomol-1.1.1.tar.gz

Download URL mcp_pyphotomol-1.1.1.tar.gz
Size 457.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7925cd6b8b1a8c0d7f17b9b07e4d6d91dcea1c4a592552fcdd2828b13efc63c4
BLAKE2b-256 checksum
How to use checksums
cbe5fec503f48e4bc4234f4addb8e400f5b33d1ecb1b4e8fa6c85d28d342c857
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 1, 2026.

Transparency log

Release files / mcp_pyphotomol-1.1.1-py3-none-any.whl

Download URL mcp_pyphotomol-1.1.1-py3-none-any.whl
Size 284.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84907b05f88f2c61da3f6c5c2c14d124daec1ace6d2d250575ee98e2a20b4bb7
BLAKE2b-256 checksum
How to use checksums
c6e7beb80f06e2c09288f85648db72031aa550a16fb2802488e1c8eb27e391a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 1, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page