Analysis of mass photometry data
Project description
This package is being developed and breaking changes may occur at any moment
mcp_pyphotomol
This repository contains an 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}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_pyphotomol-1.0.1.tar.gz.
File metadata
- Download URL: mcp_pyphotomol-1.0.1.tar.gz
- Upload date:
- Size: 452.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e0f7696396c51c2adb052b11ab792b8b4df220d766195d8d0d88c564fa3edaf
|
|
| MD5 |
d95d0baba4738162bba9c3f0e65c1296
|
|
| BLAKE2b-256 |
b91d48af48580a01227b682a745c456e09e18e3f60ac6eb41775bf74e7207392
|
Provenance
The following attestation bundles were made for mcp_pyphotomol-1.0.1.tar.gz:
Publisher:
release.yaml on osvalB/mcp_pyphotomol
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_pyphotomol-1.0.1.tar.gz -
Subject digest:
0e0f7696396c51c2adb052b11ab792b8b4df220d766195d8d0d88c564fa3edaf - Sigstore transparency entry: 1930282522
- Sigstore integration time:
-
Permalink:
osvalB/mcp_pyphotomol@15fbbf970be9140509b5700f37cd2424c32004c8 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/osvalB
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@15fbbf970be9140509b5700f37cd2424c32004c8 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mcp_pyphotomol-1.0.1-py3-none-any.whl.
File metadata
- Download URL: mcp_pyphotomol-1.0.1-py3-none-any.whl
- Upload date:
- Size: 285.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
189a46170ae3afae755dd8e1da4c98589ce402f038aa4f3860689ab583522b92
|
|
| MD5 |
a0828cfac901d6f86f22a1a9e687b514
|
|
| BLAKE2b-256 |
55246a3183db52ce7e2bb7e928fa89a6e12e2428b77f5a4504880f6c6df40799
|
Provenance
The following attestation bundles were made for mcp_pyphotomol-1.0.1-py3-none-any.whl:
Publisher:
release.yaml on osvalB/mcp_pyphotomol
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_pyphotomol-1.0.1-py3-none-any.whl -
Subject digest:
189a46170ae3afae755dd8e1da4c98589ce402f038aa4f3860689ab583522b92 - Sigstore transparency entry: 1930282606
- Sigstore integration time:
-
Permalink:
osvalB/mcp_pyphotomol@15fbbf970be9140509b5700f37cd2424c32004c8 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/osvalB
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@15fbbf970be9140509b5700f37cd2424c32004c8 -
Trigger Event:
release
-
Statement type: