Σ
MCLAVIER
DOCUMENTATION

MCLAVIER Marketplace Docs

Everything you need to understand, extend, and deploy actuarial models on the marketplace.

5 min read
Architecture
Full stack diagram, layer-by-layer breakdown, and the end-to-end data flow from button click to WebSocket result.
Read more →
8 min read
App Contract
Complete manifest.json and function.py specification with all supported field types, validation rules, and a worked example.
Read more →
6 min read
Add an App
Step-by-step tutorial: create a repo, write the manifest and function, register via the marketplace UI, run it, and fix common errors.
Read more →
10 min read
API Reference
All REST endpoints and the WebSocket protocol with request/response schemas, status codes, and curl examples.
Read more →
12 min read
Async Deep Dive
How asyncio, BackgroundTasks, WebSocket polling, dynamic importlib loading, and asyncpg sessions fit together under the hood.
Read more →
15 min read
Claude Workflow
Prompt templates, architecture decisions, and domain glossary — how this project was built with AI, documented as a live system.
Read more →

Quick Reference

API base URL
https://backend-production-30991.up.railway.app
WebSocket base URL
wss://backend-production-30991.up.railway.app
Frontend URL
http://localhost:3000
Database
PostgreSQL via asyncpg