Simulate Monte Carlo
Runs paid Monte Carlo simulations for compound and conditional probabilities with declared distributions and boolean expressions.
Install Simulate Monte Carlo
Pick your client, then add it in one click or paste the config.
http://localhost:8787/mcp
Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.
Overview
Use cases
- Estimate a compound event across multiple random variables
- Calculate a conditional probability with rejection sampling
- Reproduce a simulation using a returned seed
- Model weighted discrete outcomes such as dice
- Compare probability estimates under bounded trial counts
Key features
- Monte Carlo estimates for compound events
- Conditional probability via rejection sampling
- Seven supported probability distributions
- Seeded, reproducible pseudorandom sampling
- Restricted expression interpreter
- x402 billing on Base mainnet
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
ActiveLast checked 1d ago
Recent health check succeeded.
5/5 checks healthy over the last 35d
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
GitHub stars1Stargazers on the source repository.
Last commit2mo agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.
How Simulate Monte Carlo works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Simulate Monte Carlo
simulate-monte-carlo is an MCP server that connects AI clients to a Monte Carlo probability simulator through the `simulate_monte_carlo` tool. It samples declared variables from supported distributions, evaluates event and optional condition expressions, and estimates compound or conditional probabilities. Calls cost $0.03 USDC on Base mainnet.
Install it locally by cloning the repository, running `npm install`, and starting either `npm run dev` for Wrangler or `npm run dev:node` for the Node shim. The hosted endpoint is also available at `https://simulate-monte-carlo.encodari.workers.dev/mcp`.
Provide an `event` expression and a `condition` expression to `simulate_monte_carlo`. The server uses rejection sampling to estimate the event probability among trials where the condition is true, producing an estimate of P(event | condition).
Pass the seed returned by a previous response in a later request. The server uses a seedable `mulberry32` pseudorandom generator, so the same simulation inputs and seed reproduce the exact result.
Yes, Cursor can connect when configured for the server's MCP endpoint. The project exposes a standard MCP HTTP handler at the hosted URL and does not document a Cursor-specific setup requirement.
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
Badge Style:
Live Dynamic SVG Preview
Markdown (GitHub README)
[](https://allmcps.com/mcp/simulate-monte-carlo)HTML Embed
<a href="https://allmcps.com/mcp/simulate-monte-carlo"><img src="https://allmcps.com/api/badge/simulate-monte-carlo?style=directory" alt="Simulate Monte Carlo on AllMCPs" /></a>