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}
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_pyphotomol-1.1.0.tar.gz (456.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_pyphotomol-1.1.0-py3-none-any.whl (284.2 kB view details)

Uploaded Python 3

File details

Details for the file mcp_pyphotomol-1.1.0.tar.gz.

File metadata

  • Download URL: mcp_pyphotomol-1.1.0.tar.gz
  • Upload date:
  • Size: 456.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mcp_pyphotomol-1.1.0.tar.gz
Algorithm Hash digest
SHA256 9342e6d133fa989550f0efedc55ed0e48b6ecd75d4e4f46c723bc3cd2500588a
MD5 82a885da715bd2d26303e1dfd937aa8f
BLAKE2b-256 504d9a5b2115443f080c1031fdb0ac4448d3618213f9690e700bcf90b965c245

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_pyphotomol-1.1.0.tar.gz:

Publisher: release.yaml on osvalB/mcp_pyphotomol

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_pyphotomol-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: mcp_pyphotomol-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 284.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mcp_pyphotomol-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 394a39fa4142177eac6b52684e9d1504654ad50da4bdbdf3d5ef9d571d585b75
MD5 8aeee3b310e8f7b104e63e55f75d5c33
BLAKE2b-256 21a7b403ddb8abd4b68c1d39f5564bdf7be383aa53e128a50f806b49a9a80910

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_pyphotomol-1.1.0-py3-none-any.whl:

Publisher: release.yaml on osvalB/mcp_pyphotomol

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 files

1.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page