Whatif
OnlineConversational what-if simulation: build, diagnose and compare Petri-net models; CC0 catalog.
What it can do: 59 tools
sim_accept_migrationCarry offered taxonomic edges of a superseded model forward to its current successor. edges lists 1 to 25 edge ids that sim_migration_offers(model) offered; pass successor (the current it returned) so a different currentsim_bindRecord a checked connection between two stored models' declared ports, fromModel's fromPort (a place tagged port.output) feeding toModel's toPort (a transition tagged port.input), as a content-addressed Binding (ROADMAP.sim_calibrateCalibrate a model against YOUR event log — the reading that meets reality. Upload CSV (case_id, activity, timestamp; the shape sim_dataset emits, activities = transition ids), and rates are learned from the observed timisim_canonicalTell whether two differently-labelled models are actually the same net: an isomorphism-invariant id computed from the model's EXACT automorphism orbits (orbits.go), not the colour-refinement (WL) kind sim_classify fallssim_check_witnessRe-check a stored structural witness against both stored models with the independent checker (pkg/morphism), which does no search. Given a structural edge's id, checks every witness of that edge; an edge with none answersim_classifyDiscover the parameter classes of a stored model and return them as JSON-LD with empty annotation slots for you to fill in (label, comment, unit, domain, substitutes — nothing else; membership/kind/evidence are derived asim_code_to_flowDerive a Petri-net model from source code with the configured LLM (control-flow, state-machine, resources or concurrency focus) and store it as a NEW model you own when it passes sim_create_model's decode and the model vsim_compareRun several scenarios against one model on one shared seed and return them side by side — the seed sharing is server-enforced, so differences are the scenarios, not the dice. Returns a summary by default (finals with finsim_componentsList the component registry: pre-baked subnet templates (arrivals, service, hazard, inventory, decision, mailbox, datastore) with the calibration discipline baked into the arcs and rates. Each entry names its ports (placsim_composeInstantiate a registry component into a model and store the result as a NEW content-addressed model you own (lineage recorded when composing onto an existing id). Omit id to start a model from the component alone; pass asim_conformanceCheck how well a stored model matches an observed event log WITHOUT rewriting its rates — the read sim_calibrate bundles into calibration, offered on its own and in full: fitness (can the model replay each case?), precissim_conformance_streamOnline conformance: replay an ORDERED event stream against a stored model and get a running verdict — does the model still match, or which event was the first that did not, and why. Unlike sim_conformance (whole finishedsim_create_collectionMint a named Collection you own and return its content id. A collection carries no member list of its own — a mutable list would change the collection's own id every time something joined it, the same reason Lineage livesim_create_modelStore a Petri-net model and return its content id and url, plus warnings (omitted when there are none) for a model that stores but probably does not say what was meant: transitions with no rate, which simulations run atsim_create_systemDefine a System (ROADMAP.md Phase 11f): a content-addressed, stored set of models and the bindings between them, so the catalog can answer questions about them together. Pass collection (snapshot its model and binding mesim_crosscheckRun every applicable READING of a model against the others and report agreement or divergence with the reason: discrete SSA means vs the continuous mean-field solve, algebraically derived conservation laws vs simulated msim_datasetGenerate a synthetic event log from a stored model (seeded SSA playout; case-per-arrival). Returns CSV. Deterministic: same id, same seed, same bytes.sim_delete_modelDelete a model you created signed in. Refused for the curated catalog, for models you do not own (a model created without sign-in is nobody's, for good), and for models already dedicated to the commons (a dedication is isim_diagnoseReturns what one more of each resource (and a change in each rate) is worth to the outcome, each ranked against a measured noise floor — no fitness test to write. Also reports generic gates (mass balance, dormant sourcessim_diffStructural difference between two stored models: places, transitions and arcs added or removed, and surviving elements whose numbers changed (initial, capacity, rate, stages, arc weight or kind). The readout for what a bsim_distillDistill exact search into the play scorer: fit rate multipliers for named transition groups so play's rankings agree with exact minimax, on positions sampled by random self-play and labeled by search. This is TACTICAL casim_distinguishCompare the behaviour of two stored models of one process — typically a net formalized from a document and a net sim_code_to_flow read out of code — and return proved (no word of visible steps separates them), refuted (wsim_edgesList every relation touching an entity, as either subject or object. Answered from an index by subject and object; each call re-lists the store so edges written by other instances are seen. Legacy edges whose predicate psim_evaluateScore a player's legal next moves with the PLAY method (the blog post's move picker): apply each candidate hypothetically and score the expected objective of the position it leads to, by seeded SSA rollouts (seed 11, shasim_extendApply structural edits to a stored model and store the result as a NEW model you own, with lineage back to the original — the same vocabulary the guided builder uses behind its interview, now callable directly. Operationsim_generateWrite a Petri-net model from a plain-language description with the configured LLM, with the levers that moved the pass rate in the benchmark behind it, each optional. The model is checked as it arrives (decode, validatorsim_get_artifactFetch a stored prompt or artifact by id as JSON-LD: the two records sim_prompt and sim_reroll store besides a model. An artifact (@type Artifact) is an LLM reply that was not stored as a model — a report, code, or modelsim_get_bindingFetch a stored Binding by id, with its check computed now (binds-port-v1; binds-port-v2 for a binding that declares a unit conversion, which is returned as convert; binds-port-v3 for one that declares a delay, returned asim_get_modelFetch a stored model's full Petri-net JSON by its content id. A name in place of an id is refused saying to search with sim_list_models' query, and that a model created without sign-in is listed for nobody, so its id issim_invariantsDerive a model's full algebraic invariant structure: conservation laws (Farkas P-invariants — weighted place sums every run preserves, the arithmetic a trust panel should show), firing cycles (T-invariants, named per-cycsim_license_modelDedicate a model you created to the commons under CC0-1.0, CC-BY-4.0, CC-BY-SA-4.0. It then appears in every user's listing with the license shown, and the dedication is IRREVOCABLE — it cannot be changed or deleted aftesim_linkRecord a typed edge between two stored entities (models, prompts, artifacts, maps, collections, bindings, relations — not witnesses), using a registered predicate. sim_link writes these (subject → object): @type (model →sim_list_bindingsList the content id of every stored Binding.sim_list_modelsList the models visible to you, as a JSON array of {id, name, description, license, curated, mine} sorted by name (a field that does not apply is left out): the curated catalog (curated: true), models dedicated to the cosim_map_getFetch a stored Map's key->value data by id.sim_map_listList the content id of every stored Map.sim_map_putStore a key->value lookup table as its own content-addressed entity — a generated parameter sweep, a rate table, a component registry, anything shaped as key->value rather than free text (an artifact) or a Petri net (a msim_migration_offersList what happens to the edges of a superseded model. Taxonomic edges (hasMember, @type, broader, related, closeMatch, cites, about) are OFFERED: each row gives the edge as it would read on the model's current successorsim_my_sheetsList the sheets this user has published, with their URLs.sim_neighborsOne-hop traversal from an entity, read through the predicate registry. With no predicate: the object of every relation where the entity is the subject. With a predicate: the entities one hop along it — for an inverse nam
…and 19 more.
Connect it
claude mcp add --transport http whatif https://sim.pflow.xyz/mcpSettings → Connectors → Add custom connector
URL: https://sim.pflow.xyz/mcp{
"mcpServers": {
"whatif": {
"url": "https://sim.pflow.xyz/mcp"
}
}
}{
"servers": {
"whatif": {
"type": "http",
"url": "https://sim.pflow.xyz/mcp"
}
}
}Questions
What does Whatif do?
Conversational what-if simulation: build, diagnose and compare Petri-net models; CC0 catalog. It exposes 59 tools to AI assistants.
What tools does Whatif provide?
59 tools, including sim_accept_migration, sim_bind, sim_calibrate, sim_canonical, sim_check_witness, sim_classify, sim_code_to_flow, sim_compare, sim_components, sim_compose, sim_conformance, sim_conformance_stream….
How do I connect Whatif to Claude, ChatGPT or Cursor?
Add the remote MCP endpoint https://sim.pflow.xyz/mcp as a custom connector or MCP server. Copy-paste setup is on this page.
Does Whatif require an account or API key?
No sign-in was needed to list its tools. Individual tools may still need an account or API key.
Is Whatif online?
As of 2026-11-19 our probe found it online. It answered 100% of our last 3 checks.
Who publishes Whatif?
sim.pflow.xyz. The official MCP Registry verified that the publisher controls this domain before accepting the listing.
Similar in Agents & Orchestration
-
Upwork MCPOnline · sign-in requiredOfficialPopular
The official Upwork MCP server, letting AI agents connect to Upwork and act on your behalf.
-
Postman MCP ServerOnline · sign-in requiredOfficialPopular
Give your AI agents trusted access to the full Postman platform.
-
OpenWeather for agentsOnlineOfficialPopular
OpenWeather data for AI agents: list feeds, sign up, check balance, get a top-up link, fetch data.
-
Creator MCPOnline · sign-in requiredOfficialNew
Hosted motion engine for agents. Builds layers and keyframes, exports MP4, WebM or Lottie.
-
Agent economy data (counts from the Official MCP Registry)OnlineNew
MCP server counts from the official registry, new servers per day, and MCP/A2A spec changes. As is.
-
Rota NacionalOnlineOfficialNew
AI API compatible with OpenAI and Anthropic, with personal data handled before the model.