Skip to main content

mcp_pykingenie

Tests Read the Docs

This repository contains a local MCP server for the analysis of surface-based binding kinetics data from Octet and Gator experiments. It is based on the Python package pykingenie.

Demo videos

Installation

We recommend running mcp_pykingenie with uv.

Run from the command line

uvx mcp_pykingenie

By default, generated plots and relative-path input data are stored in ~/user_data_mcp_pykingenie/<YYYY-MM-DD>/. To choose a different results folder, set RESULTS_DIR before starting the server. Use the print_data_dir MCP tool to inspect the active output folder for a running server.

RESULTS_DIR=~/Documents/user_data_mcp_pykingenie uvx mcp_pykingenie

Configure an MCP client

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

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

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

If you want to run directly from the Git repository:

{
  "mcpServers": {
    "mcp_pykingenie": {
      "command": "uvx",
      "args": ["git+https://github.com/osvalB/mcp_pykingenie.git@main"]
    }
  }
}

Claude Desktop

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

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

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_pykingenie": {
      "command": "uvx",
      "args": [
        "--refresh",
        "--from",
        "/absolute/path/to/mcp_pykingenie",
        "mcp_pykingenie"
      ]
    }
  }
}

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

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

For HTTP transport during development:

uv run mcp_pykingenie -t http -p 8000

Install with pip

pip install --user mcp_pykingenie

Then run the server with:

mcp_pykingenie

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

Install from source

git clone https://github.com/osvalB/mcp_pykingenie.git
cd mcp_pykingenie
uv sync --extra dev --extra doc --extra test

Run tests with:

uv run pytest

Build the documentation with:

uv run --extra doc make -C docs html

Example workflow

Once connected through your MCP client, ask your AI assistant to run a flow like:

1. load the Octet example experiment
2. align the association phase
3. align the dissociation phase
4. subtract the sensor H1
5. plot all the steps
6. show me the sample information
7. create a fitting dataset using sample wt - imd
8. run kinetic fitting with a one-to-one model
9. plot the fitted curves

XY plots

The plotting tools (plot_sample_plate_info, plot_traces_with_all_steps, plot_kinetic_traces, plot_steady_state) use PyKinGenie's XY plotting helpers. Their appearance is controlled by shared settings that you can change in plain language, for example "make the XY plots 800 px wide and save them as SVG". The assistant uses update_xy_plot_config, update_xy_axis_config, update_xy_layout_config, update_xy_legend_config and update_xy_trace_config; get_xy_plot_configs shows the current settings and reset_xy_plot_configs restores the defaults.

Importing data

Use print_data_dir to see the active MCP data directory. Import tools accept absolute paths, or paths relative to that directory.

  • Download the bundled Octet BLI example data: octet_bli_example_data.zip.
  • import_octet_experiment: pass a folder containing Octet .frd files and sample plate metadata.
  • import_gator_experiment: pass a Gator folder or .zip archive containing channel CSV files plus Setting.ini and ExperimentStep.ini.
  • import_kingenie_surface_csv: pass a surface-simulation CSV with trace columns such as Time, Signal, Smax, and Analyte_concentration_micromolar_constant.
  • load_octet_example: load the packaged example to test the workflow.

Contact

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

Citation

If you use mcp_pykingenie, please cite it as:

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

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

Metadata

Release files for mcp-pykingenie 1.1.5

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-pykingenie 1.1.5
File Size Uploaded Provenance Actions
mcp_pykingenie-1.1.5.tar.gz 7.2 MB With provenance Details for mcp_pykingenie-1.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcp-pykingenie 1.1.5
File Interpreter ABI Platform Actions
mcp_pykingenie-1.1.5-py3-none-any.whl Python 3 none any Details for mcp_pykingenie-1.1.5-py3-none-any.whl

Total release size: 10.5 MB

Release files / mcp_pykingenie-1.1.5.tar.gz

Download URL mcp_pykingenie-1.1.5.tar.gz
Size 7.2 MB
Tags Source
SHA-256 checksum
How to use checksums
69cb046a18595db01350494512ca4dc588ec31a3d0be44668b9bfd43295338dd
BLAKE2b-256 checksum
How to use checksums
bfbfc3ef50da37e99048fccd782185057986ec9d61a243db0440d28ef026a6d1
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 Oct 26, 2026.

Transparency log

Release files / mcp_pykingenie-1.1.5-py3-none-any.whl

Download URL mcp_pykingenie-1.1.5-py3-none-any.whl
Size 3.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
5040b37f227767958c3b50e2142fdf1ca47a435f5e99124a3351b1d8651454d6
BLAKE2b-256 checksum
How to use checksums
c536586d799bec0a19a6eadb3f198f655848e53241c6e59f960453884b8c093b
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 Oct 26, 2026.

Transparency log

Security for mcp-pykingenie 1.1.5

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mcp_pykingenie-1.1.5.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 Oct 26, 2026.

Transparency log

A 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.

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