INDIVIDUAL MCP TOOL
simulate_withdrawal
Monte Carlo simulation of withdrawing a yearly percentage of a starting balance, raised with inflation every month, from a portfolio (the 4% rule and its variants).
LIVE ENDPOINT
https://compoundsim.app/mcp
Connect to this endpoint to inspect the live schema for simulate_withdrawal and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- No write-capable action terms were found; this is not proof that invocation has no side effects.
Parent server
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.compoundsim]
url = "https://compoundsim.app/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"compoundsim": {
"type": "http",
"url": "https://compoundsim.app/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: compoundsim
Remote MCP URL: https://compoundsim.app/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"compoundsim": {
"url": "https://compoundsim.app/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"compoundsim": {
"type": "http",
"url": "https://compoundsim.app/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "compoundsim",
"transport": "streamable-http",
"url": "https://compoundsim.app/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
simulate_portfolio— Monte Carlo simulation of investing monthly (plus an optional starting sum) in one asset or a mix rebalanced monthly.compare_portfolios— Runs the same monthly-investing plan through 2 to 4 portfolios (the same simulation as simulate_portfolio) and returns each one's final outcome range, deepest fall, past return and volatility, and url, for questions like 'S&P 500 or all-country stocks?simulate_fixed_rate— Deterministic compound growth of monthly contributions (plus an optional starting sum) at a fixed annual return.get_asset_returns— Annualised past returns of the assets compoundsim simulates, over the last 5, 10 or 20 years, all the data, or a calendar span: total return with dividends reinvested, price return, the dividends' share, volatility, and the return after US inflation (in USD) or the exchange rate's share of the return (in another currency).