Build, check, simulate and analyse Petri nets in the pflow.xyz format from Claude or any MCP client, then open them in the pflow.xyz editor.
Connector URL:
https://pflow.xyz/mcp
Claude (web, desktop and mobile): open Settings, then Connectors, choose Add custom connector, and paste the URL above. No sign-in is needed to start.
Claude Code:
claude mcp add --transport http pflow https://pflow.xyz/mcp
Other clients: it is a stateless Streamable HTTP server. POST JSON-RPC to the URL; there is no event stream.
Every tool works without an account except pflow_save. The first time you save, your client opens a pflow.xyz page where you sign in with GitHub or Google. The saved net is then recorded as yours. Saved nets are public, so don't save anything private. pflow.xyz keeps only your account id (and your GitHub username), never a password; see the privacy policy.
pflow_edit | Build a net or change one with a list of edits, applied all together or not at all. |
pflow_info | Summarise a net: places, transitions, arcs, marking and what is enabled. |
pflow_check | Parse a net and report its size and anything it refuses. |
pflow_validate | Structural checks: connectivity, deadlocks, boundedness, conservation. |
pflow_verify | Prove or refute properties, with an invariant proof or a replayable counterexample. |
pflow_fire | Play the token game: fire a sequence of transitions. |
pflow_reachability | Explore reachable markings: state count, deadlocks, dead transitions, liveness. |
pflow_invariants | P- and T-invariants (conservation laws and cycles). |
pflow_incidence | The incidence matrix. |
pflow_simulate | Mass-action ODE simulation with a sampled trajectory. |
pflow_ssa | Seeded stochastic (Gillespie) simulation. |
pflow_rate_scan | Sweep one rate and see how the outcome moves. |
pflow_export | The net as normalised JSON-LD or as an SVG drawing. |
pflow_cid | The content id a net seals to. |
pflow_links | Links to see a net: the editor, its SVG and its JSON-LD. |
pflow_get | Fetch a stored net by its content id. |
pflow_save | Store a net on pflow.xyz as yours (needs sign-in; stored nets are public). |
pflow_check on it to see why, or open it in the editor, which can repair most problems.Report problems or ask questions at github.com/pflow-xyz/pflow-xyz/issues. Use of the connector is covered by the terms and privacy policy.