MoRSwitch MCP
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MoRSwitch + CA SB 122 MCP (io.github.spleyapp/morswitch-mcp)

Zero-dependency, 100% read-only Model Context Protocol (MCP) server and Node 20+ CLI auditing both urgent 2027 SaaS billing & tax cliffs locally with zero API keys and zero telemetry:
March 31, 2027 Lemon Squeezy Shutdown (
audit_lemon_squeezy_country_and_mrr) — Checks Stripe Managed Payments' 37-country allowlist across 197 countries, quantifies PayPal recurring subscription churn exposure, flags dropped features (License Keys, Digital Files, Native Affiliates, Hosted Storefront), and models Year-1 vs. Year-2 MoR fees (including Stripe Managed Payments' Dec 1, 20271.5% -> 3.5%promo cliff) across Creem.io, Dodo Payments, Polar.sh, Paddle Billing, Stripe Managed Payments, Whop, and Gumroad.January 1, 2027 California SB 122 SaaS & AI Sales Tax (
audit_ca_sb122_tax_split) — Evaluates California's $500,000 current/prior-year economic nexus with explicit separation of marketplace-facilitated CA sales (AWS/Shopify/Apple) vs. direct-billed CA sales so you never double-remit, calculates legal savings from unbundling exempt IaaS (txcd_10010001), custom dev (txcd_10701300), and video games (txcd_10201000) from taxable SaaS/AI (txcd_10103001) and downloaded software (txcd_10202003), and outputs the 3-point pre-Jan-1 Stripe verification checklist.Migration Resources & PayAI x402 Endpoints (
get_billing_migration_resources) — Direct machine-readable references to interactive calculators, Migration Kits ($49/$99/$149), Done-For-You Sprints ($499), and PayAI Base Mainnet x402 API endpoints ($0.01/$0.02USDC).
Install in Claude Desktop, Claude Code, Cursor, or Windsurf
MCP Config (Zero Install via npx)
{
"mcpServers": {
"morswitch": {
"command": "npx",
"args": ["-y", "github:spleyapp/morswitch-mcp"]
}
}
}One-Click .mcpb Bundle
Download morswitch-mcp.mcpb from GitHub Releases or install directly from the Official MCP Registry (io.github.spleyapp/morswitch-mcp).
Quick Terminal CLI Mode
# Run both audits (Ukraine $12k MRR Lemon Squeezy exit + CA SB 122 marketplace-triggered nexus)
npx -y github:spleyapp/morswitch-mcp --demo
# Audit a specific Lemon Squeezy store
npx -y github:spleyapp/morswitch-mcp --mor --country=IN --mrr=15000 --aov=49 --intl=60 --paypal=20
# Audit California SB 122 direct + marketplace sales
npx -y github:spleyapp/morswitch-mcp --sb122 --ca-sales=220000 --marketplace-ca-revenue=310000 --mix=saas:45,ai:25,iaas:20,dev:10Related MCP server: EU Data Act SaaS Switching & Zero-Egress Fee Auditor MCP Server
Exposed MCP Tools (Read-Only, Local Deterministic Math)
1. audit_lemon_squeezy_country_and_mrr
Parameter | Type | Default | Description |
|
|
| ISO-2 country code or country name across 197 countries (e.g. |
|
|
| Monthly GMV / MRR in USD |
|
|
| Average invoice / order value in USD |
|
|
| International card share ( |
|
|
| PayPal recurring share ( |
|
|
| Requires Lemon Squeezy License Key API replacement |
|
|
| Requires hosted file delivery |
|
|
| Requires affiliate tracking |
|
|
| Requires hosted storefront |
|
|
| Customers run desktop/CLI/WP binaries that cannot auto-update overnight |
|
|
| Optional code snippet scanned for hardcoded |
|
|
| Exported license statuses (flags revocation leaks if |
|
|
| Whether existing customer license key strings are imported verbatim |
|
|
| Offline grace-window duration (days) for legacy binaries hitting 410/DNS errors |
v1.1.0 License-Key Migration Hardening (
license_key_migration_risks): Everyaudit_lemon_squeezy_country_and_mrrcall now checks hardcodedapi.lemonsqueezy.com/v1/licenses/*calls, thedisabled/expiredkey export revocation trap, shipped-binary update windows & fail-open grace policies, and verbatim customer key string preservation. (Informed by DEV.to community discussion — credit: Arthur / Keyharbor.)
2. audit_ca_sb122_tax_split
Parameter | Type | Default | Description |
|
|
| Direct-billed annual California sales (USD) |
|
|
| Marketplace-facilitated CA revenue (counts toward |
|
|
| SKU weights ( |
|
|
| Blended CA district sales tax rate ( |
|
|
| B2B CDTFA-230 resale-exempt share ( |
|
|
| California employees, contractors, office, or inventory |
|
|
| Largest single CA buyer annual spend ( |
3. get_billing_migration_resources
Parameter | Type | Default | Description |
|
|
| Returns calculators, Kits ( |
Live Interactive Calculators, Deep-Dive Articles & Kits
Lemon Squeezy Shutdown Switchboard & Migration Kit (
$49/$99, DFY Sprint$499): morswitch.netlify.appCalifornia SB 122 Tax Split Calculator & Stripe
txcd_*Kit ($49/$149, DFY Sprint$499): sb122ready.netlify.appAll-9 Studio Conversion Hub & Complete Bundle (
$149): spleyapp.github.ioDeep-Dive Guide #1 (Lemon Squeezy Exit): Lemon Squeezy Shuts Down March 31, 2027: Auditing Stripe Managed Payments Country Blocks & PayPal Churn
Deep-Dive Guide #2 (California SB 122): California SB 122 Takes Effect Jan 1, 2027: Splitting Taxable SaaS & AI APIs from Exempt IaaS on Stripe
Autonomous Agent PayAI x402 APIs (Base Mainnet USDC via
https://facilitator.payai.network):GET https://morswitch.netlify.app/api/x402/mor-quote($0.01USDC)POST https://sb122ready.netlify.app/api/x402/sb122-check($0.02USDC)
Direct Contact / DFY Sprints:
or@spley.app
Disclaimer:
morswitch-mcpprovides deterministic fee comparisons, Stripetxcd_*reference mappings, and informational tax readiness estimates. It is not licensed CPA, tax, or legal advice. Verify final tax obligations with a qualified California tax professional and merchant underwriting terms directly with your billing provider.
License
MIT — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Check US state, EU and UK sales tax thresholds against your sales and watch for new nexus.
Free live previews and human-paid checkout links for fixed-price business audits and compliance.
36-month B2B SaaS TCO modeling and website SEO/llms.txt AI-readiness checks.
Audits invoice PDFs: exact-cent math, tax and total checks, price creep and dispute memos. No LLM.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables auditing of bank transactions and receipts against IRS Schedule C expense categories such as home office, software, mileage, and meals. It calculates deductible amounts and estimated tax savings while flagging potential audit risks.-
- AlicenseNot gradedqualityCmaintenanceEnables compliance teams and AI agents to bulk-audit SaaS, cloud, API, and hosted AI domains for the 12 January 2027 switching and egress-fee rules, open export obligations, portability registers, government-access disclosures, and DORA exit readiness. Produces compliance scores, prioritized findings, SDK fingerprints, outreach hooks, and ready-to-paste remediation artifacts.MIT
- AlicenseAqualityBmaintenanceEnables MCP-compatible AI assistants to determine which states a business has crossed sales tax nexus thresholds in, which vendors require 1099-NEC or 1099-MISC filings, how healthy a set of books is, and which federal business tax deadlines apply by entity type (including Form 5472 for foreign-owned single-member LLCs). Requires no sign-up or API key and never requests SSNs, EINs, or bank details.5323 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables local, offline auditing of AI provider billing statements to detect runaway spend anomalies, generate dispute evidence PDFs and preventive guardrail configs, and split multi-client usage into client-ready invoice PDFs.MIT