
cmxflow
io.github.b-shieldsPublished by GitHub account b-shieldsv0.4.0Updated Oct 24, 2026
Composable, tunable cheminformatics workflows: library preparation, clustering, docking, and more.
Overview
cmxflow is a local MCP server that lets an assistant build, run and tune cheminformatics workflows such as ligand preparation, clustering, docking and virtual-s
- What you can do
- Build workflows from composable blocks for sourcing, transforming, filtering, clustering, scoring and docking molecules, and run them on molecule libraries to produce prepared or docked structure files. Optimize workflow parameters end-to-end with Bayesian optimization and compare results. Manage saved workflows through serialization for save, load and reuse. View molecular structures in 3D when PyMOL is installed.
- When to use it
- Useful when you want an assistant to assemble and execute computational chemistry pipelines conversationally, for example preparing ligands for docking, docking a congeneric series, or tuning a ligand-based virtual screen without writing the pipeline code yourself.
- Requirements
- Runs as a local process over stdio, installed from PyPI (cmxflow) and started with the cmxflow-mcp command, for example via uvx. Python environment needed. The 3D structure viewing tool additionally requires PyMOL (pymol-open-source). No accounts, API keys or headers are declared.
Installation
In SourceWeft
- Open cmxflow in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
cmxflow 🧪
[Docs] [CI] [codecov] [Python 3.11+] [Code style: black] [License: MIT]
Build cheminformatics and computational chemistry pipelines with composable blocks. Tune end-to-end with Bayesian Optimization. Or ask an LLM agent to do it.
Quick examples
Prepare ligands for docking
Dock a congeneric series
Pure-Python docking. Free docking is the default (index_poses=False); scaffold-indexed mode caches poses by Bemis–Murcko scaffold for ~3× faster throughput on congeneric series with consistent pose alignment.
Tune a ligand-based virtual screen
The four fingerprint parameters above are searched automatically — every block exposes its mutable parameters to the optimizer.
Or build it conversationally via an LLM agent
"How many of the molecules in library.csv pass Lipinski's rules?"
"I need to build a ligand-based virtual screening workflow. I'm not sure if 2D or 3D is better. Can you optimize two workflows?"
"Dock the molecules in hits.csv against receptor.pdb with crystal_ligand.sdf as a reference."
The agent can build, run, and optimize workflows. See Using with Claude for full transcripts.
What's in the box
- 15+ blocks for sourcing, transforming, filtering, clustering, scoring, and docking molecules
- Bayesian optimization of pipeline parameters via Optuna
- Parallel execution for compute-heavy blocks (conformer generation, docking)
- Workflow serialization for save / load / reuse
- An MCP server with five tools:
build_workflow,run_workflow,optimize_workflow,manage_workflows,view_structures
Install
MCP server
Optional: PyMOL
Required only for the view_structures MCP tool (3D visualization):
Documentation
- Docs site
- Block catalog
- Using with Claude — agent transcripts
examples/basic_usage.ipynb— full tutorialexamples/docking/docking.ipynb— docking walkthrough (ILS, scaffold-indexed, and template modes)
Project
MIT licensed. See CONTRIBUTING.md and RELEASING.md.
Source: README.md at commit c2960bc
Tools
0Version history
1- v0.4.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts