SAFE & Cap Table Calculator
This MCP server models startup financings—SAFEs, convertible notes, priced rounds, option-pool timing, and multi-step rounds—returning cap-table and conversion calculations; the provided schema exposes six read-only tools (the README's v1.1 compare/load-scenario tools are not present).
Calculate implied ownership and dilution for post-money SAFEs, including MFN resolution and optional share estimates.
Compute a single SAFE/note conversion price by comparing cap, discount, and round prices, returning the best price and shares.
Model a full priced round: convert SAFEs/notes, issue new-investor shares, top up the option pool pre- or post-money, apply placement fees and advisor grants, and show before/after cap table, dilution, and FD ownership.
Model ordered financing sequences: SAFE issuances/extensions, notes, priced rounds, and milestone tranches at fixed price or valuation.
Compare option-pool timing by running the same round with pre-money vs post-money pool top-up and showing price and dilution impact.
Explain the calculator's formulas and conventions.
All exposed tools are read-only and idempotent; no auth or API keys are needed.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SAFE & Cap Table Calculator I raised $1M on a $10M post-money SAFE. What do I own after?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SAFE & Cap Table Calculator (MCP server)
Live MCP URL (Streamable HTTP, no auth): https://safe-cap-table-mcp.vercel.app/mcp
Health check: https://safe-cap-table-mcp.vercel.app/health
An MCP server that lets Grok Bot (or any MCP client) model startup financings: SAFEs, convertible notes, priced rounds, option pool shuffles, fees, and multi-step financing histories. It returns cap tables before and after, per-holder dilution and fully diluted ownership, as a markdown table plus structured JSON.
It works for any country and any currency, because amounts are unitless and shown with a $ sign. It needs no API keys, makes no network calls and stores nothing. The math is deterministic.
Use in Cursor
From the Cursor Marketplace: once listed, install it from https://cursor.com/marketplace (publisher MAASAI Labs). The plugin manifest lives in https://github.com/MAASAI-Labs/cursor-plugins.
Search the Marketplace for this plugin and click Install.
Check the server is enabled under Cursor Settings, then MCP. Plugin servers show with a
plugin-prefix.
Manually: add the hosted server to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"safe-cap-table": { "url": "https://safe-cap-table-mcp.vercel.app/mcp" }
}
}Related MCP server: Personal Finance MCP
Tools
Tool | What it does |
| Implied ownership of post-money SAFEs (amount / post-money cap), combined SAFE dilution, MFN resolution, optional share estimates |
| One SAFE or note: compares the cap price, discount price and round price, and returns the best-of conversion price and the share count |
| Full round: converts post-money and pre-money SAFEs (cap, discount, MFN) and notes (with interest), issues new-money shares at a pre-money valuation or a fixed price, tops up the option pool (pre-money or post-money), and applies placement fees (cash and equity) and advisor grants |
| Runs events in order: SAFEs (including extensions at different caps), notes, priced rounds and milestone tranches at a fixed price or valuation |
| The same round with the pool top-up in the pre-money vs the post-money, showing who bears the dilution |
| New in v1.1: Compare 2-6 scenarios side-by-side. Each scenario can be a full model input or a scenario token. Returns ownership % per holder, price per share, post-money valuation, and deltas vs baseline (in percentage points) |
| New in v1.1: Load and rerun a scenario from a scenario token (returned by modeling tools). Validates, decodes, and reruns the exact same scenario |
| Returns the formulas and conventions used |
All tools are read-only and idempotent. Invalid input returns a tool error that lists each bad field.
Scenario tokens (v1.1+)
Modeling tools (model_priced_round, model_round_sequence, compare_pool_timing) now return a scenarioToken: a versioned, compressed, base64url-encoded snapshot of the validated input. Tokens are:
Portable: share a scenario by copying the token
Deterministic: the same input always produces the same token
Self-contained: no external state or dependencies
Lossless:
load_scenarioreproduces the exact same result
Use load_scenario to rerun a saved scenario later, or pass tokens to compare_scenarios to compare multiple scenarios without duplicating full inputs.
Example prompts
"I raised $1M on a $10M post-money SAFE. What do I own after it, and after a $10M Series A at $40M pre?"
"Founders hold 8M shares and the pool is 2M. Model a $2M seed at $8M pre with the pool topped up to 10% post-money. Compare that with putting the pool in the post-money."
"We have a $500k SAFE at a $6M cap with a 20% discount, a $250k MFN SAFE, and a $300k note at 8% for 18 months with a $5M cap. Convert them all in a $3M round at $12M pre."
"Seed SAFE at a $10M cap, then an extension at $20M, then a Series A of $8M at $40M pre, then a second $2M tranche at $5/share. Show the cap table after each step."
"Add a 5% cash and 2% equity placement fee, plus an advisor with 0.5% from the pool."
New in v1.1: "Compare two scenarios: (A) Series A at $15M pre with 10% pre-money pool vs (B) same round with 10% post-money pool. Show founder ownership difference."
New in v1.1: "Here's my scenario token [sct1.priced_round.xyz...]. Rerun it and show the cap table."
Run locally
npm install
npm test # unit tests (vitest)
npm run build
npm start # Streamable HTTP at http://localhost:3000/mcp (PORT to change)
npm run start:stdio # stdio transport for desktop MCP clients
npm run smoke # lists tools and runs a sample round against the local HTTP serverExample stdio client config:
{ "mcpServers": { "safe-cap-table": { "command": "node", "args": ["/path/to/safe-cap-table-mcp/dist/main-stdio.js"] } } }Deploy to Vercel
Push this repo to GitHub and import it at vercel.com/new (Framework preset: Other). No environment variables are needed.
Vercel serves
api/mcp.tsas a Node function.vercel.jsonrewrites/mcpto/api/mcpand/healthto/api/health.Your MCP URL is
https://<project>.vercel.app/mcp. Check it withnode scripts/smoke.mjs https://<project>.vercel.app/mcp.
The server is stateless (no sessions, JSON responses), so it scales on serverless without sticky sessions. A GET request returns 405 by design.
Methodology
Fully diluted (FD) = issued shares + granted options + unallocated pool.
Post-money SAFE (YC): cap price = cap / Company Capitalization, where Company Capitalization = pre-round FD + all conversion shares + any pre-money pool increase, but only to the extent promisedOptions exceeds the existing pool (per YC SAFE). New-money shares excluded. Ownership at conversion ~= amount / cap.
Pre-money SAFE and notes (default): cap price = cap / pre-round FD (excludes all converting securities and pool increase).
Notes convert principal + simple interest (rate x days/365).
Discount price = round price x (1 - discount). Holder gets the LOWEST of round, cap and discount prices.
MFN SAFE: adopts lowest cap and highest discount among SAFEs listed after it.
Pre-money pool: pool top-up counted in pre-money price (dilutes existing holders, pre-money instruments, and post-money SAFEs, but not new investors).
Post-money pool: top-up issued after pricing; dilutes everyone, including new investors.
Target pool % = unallocated pool / post-round FD (before advisor grants).
Equity placement fee: shares at round price worth (fee% x new money), priced like new-money shares.
Advisor grants: issued after close; fromPool=true reduces unallocated pool, otherwise new shares (percent sized so advisor holds that % of final FD).
Circular round math solved by deterministic fixed-point iteration; shares rounded down per holder; price unrounded internally.
This is a modelling tool, not legal, tax or investment advice. Confirm with counsel and your actual instruments.
YC references: Post-Money Safe User Guide (ycombinator.com/documents). A $1M SAFE on a $10M post-money cap owns 10% of the company capitalization at conversion, before new money.
Testing instructions for marketplace reviewers
No credentials, accounts or API keys are needed.
Connect the MCP URL (or run
npm install && npm run build && npm start, then usehttp://localhost:3000/mcp).List tools. You should see 8 tools (6 from v1.0, plus
compare_scenariosandload_scenariofrom v1.1).Call
model_priced_roundwith:{"capTable":[{"name":"Founders","shares":9000000},{"name":"Option pool","shares":1000000,"class":"pool"}], "safes":[{"name":"Seed SAFE","amount":1000000,"valuationCap":10000000}], "round":{"preMoneyValuation":40000000,"newInvestors":[{"name":"Lead","amount":10000000}]}}Expected: SAFE converts at $0.90 into 1,111,111 shares, the Series A price is $3.60, Lead holds 20.00%, the SAFE holds 8.00% and Founders hold 64.80%. The result includes a
scenarioTokenfield.Call
compare_pool_timingwith founders at 10,000,000 shares, $8M pre, $2M raise andtargetPoolPercent: 0.1. Expected: Founders get 70.00% with a pre-money pool vs 72.00% with a post-money pool. The price is $0.70 vs $0.80.v1.1 new: Call
load_scenariowith thescenarioTokenfrom step 3. Expected: the same cap table and round summary as the original result.v1.1 new: Call
compare_scenarioswith two scenarios: the example from step 3 at $40M pre, and the same round at $50M pre. Expected: a markdown table showing ownership % for each holder in both scenarios, plus deltas vs baseline.Send bad input (for example
round: {}). Expected: a clear validation error, not a crash.
Disclaimer
This is a modelling aid, not legal, tax or investment advice. Real instruments vary (for example pro-rata side letters, pay-to-play, or a non-standard definition of "Company Capitalization"). Check final numbers against your documents and counsel.
Privacy and terms
Privacy policy: https://maasai.tech/privacy
Terms of use: https://maasai.tech/terms
Support and data requests: colepresley000@gmail.com
License
MIT
Available Tools
6 toolscompare_pool_timingOption pool shuffle comparisonARead-onlyIdempotent
Run the same round with the option pool top-up in the pre-money vs the post-money, showing price per share and who bears the dilution. Requires round.targetPoolPercent.
Inputs: round (required), capTable (required), notes, safes, +1 more.
explain_methodologyExplain the mathBRead-onlyIdempotent
Return the documented conventions and formulas this calculator uses.
Inputs: no named parameters.
model_priced_roundModel a priced roundARead-onlyIdempotent
Full priced-round model: converts all SAFEs (post- and pre-money, cap/discount/MFN) and convertible notes, issues new investor shares at pre-money valuation or fixed price, tops up the option pool (pre- or post-money), applies placement fees (cash and equity) and advisor grants. Returns before/after cap table, per-holder dilution, FD ownership and markdown.
Inputs: round (required), capTable (required), notes, safes, +1 more.
model_round_sequenceModel multi-tranche / extension roundsARead-onlyIdempotent
Apply a sequence of events in order: SAFE issuances (e.g. extensions at different caps), notes, priced rounds (which convert outstanding instruments), and tranche closes at fixed price or valuation (milestone tranches). Returns each step and the final cap table vs start.
Inputs: events (required), capTable (required).
safe_conversion_priceSAFE / note conversion priceARead-onlyIdempotent
For one SAFE or note: compare cap price, discount price and round price, return the conversion price (best-of for the holder) and shares.
Inputs: amount (required), roundPricePerShare (required), discount, valuationCap, +1 more.
safe_ownershipSAFE ownership snapshotBRead-onlyIdempotent
Implied ownership of post-money SAFEs (amount / post-money cap), combined SAFE dilution, MFN resolution, and optional share estimates. Use before a priced round.
Inputs: safes (required), preSafeShares.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Tools are distinguished by scope: single-instrument conversion (safe_conversion_price), aggregate SAFE ownership (safe_ownership), and full modeling (model_priced_round, model_round_sequence). model_priced_round and model_round_sequence overlap somewhat since both do full cap-table modeling, but the single-round vs multi-event sequence distinction is stated clearly.
All names use consistent snake_case and read predictably. A couple (safe_conversion_price, safe_ownership) are noun phrases rather than verb_noun, while others (model_*, explain_*, compare_*) use verbs, but the convention is coherent and unsurprising.
Six tools is well-scoped for a specialized SAFE/cap-table calculator. Each tool covers a distinct modeling need (conversion, ownership, priced round, methodology, sequence, pool timing) with no filler.
The surface covers SAFE conversion, ownership, priced rounds, round sequencing, and pool-timing comparison, which spans the core lifecycle of the domain. Minor gaps like explicit cap-table input/export or convertible-note-only tooling, but these are largely absorbed into the modeling tools.
Maintenance
Related MCP Connectors
Startup cap table: ownership, SAFEs, vesting and round modeling, plus drafts for admin approval.
Financial models in chat: cap tables, waterfalls, fund economics, SaaS, ecommerce, unit economics.
Your startup's cap table in Claude or ChatGPT: ownership, vesting, 409A, round models and exits.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides startup verification tools including domain/package/org availability checks, unit economics, runway, market size, and cap table calculations with transparent formulas and warnings to prevent common agent errors.MIT
- AlicenseBqualityCmaintenanceProvides 77 deterministic financial calculators, live market data, and a meta-advisor that chains tools into prioritized plans from plain-language descriptions.7722 PyPI7MIT
- AlicenseAqualityBmaintenanceStartup valuation calculators for AI agents: 14 MCP tools covering 80+ formulas from the Startup Valuation textbook — probability, time value, CAPM, pre-revenue methods (Scorecard, Berkus, VC Method), options, comparables, SaaS, marketplace, fintech, biotech, hardware, international, stakeholder equity, and emerging methods.143MIT
- AlicenseNot gradedqualityBmaintenanceExposes twelve tools (fourteen with company requests enabled) that let agents search and read verified funding rounds, company funding histories with total raised, investor profiles and rankings, and the news behind each record. Filters cover stage, sector, amount, certainty, and date windows.10MIT