Finance
Simulation mensuelle côte à côte : amortissement du crédit + taxe/assurance/copropriété/entretien contre loyer + assurance locataire ; le locataire place l'apport et l'épargne mensuelle au taux d'opportunité ; sortie : VAN annuelle, année d'équilibre, TRI des flux différentiels, bouclier fiscal sous plafond SALT et diagramme tornado ±20 %.
Appelez cet outil depuis votre code en trois langages.
curl -X POST 'http://127.0.0.1:3003/fr/api/tools/rent-vs-buy-total-cost-of-ownership-mortgage-tax-insurance-maintenance-irr-tutor' \
-H 'Content-Type: application/json' \
-d '{"homePrice":450000,"downPaymentPct":20,"mortgageRatePct":6.5,"termYears":30,"propertyTaxRatePct":1.1,"insuranceAnnual":2200,"hoaMonthly":0,"maintenancePct":1,"appreciationPct":3.5,"sellingCostPct":6,"closingCostPct":3,"rentMonthly":2400,"rentGrowthPct":3,"renterInsuranceAnnual":180,"investmentReturnPct":5,"marginalTaxRatePct":24,"saltCap":40400,"standardDeduction":31500,"analysisYears":10}'Envoyez une requête POST avec vos entrées en JSON. Les paramètres de type fichier nécessitent un upload préalable.
POST http://127.0.0.1:3003/fr/api/tools/rent-vs-buy-total-cost-of-ownership-mortgage-tax-insurance-maintenance-irr-tutor| Nom | Type | Requis | Description |
|---|---|---|---|
| homePrice | number | Oui | — |
| downPaymentPct | number | Non | — |
| mortgageRatePct | number | Non | — |
| termYears | number | Non | — |
| propertyTaxRatePct | number | Non | — |
| insuranceAnnual | number | Non | — |
| hoaMonthly | number | Non | — |
| maintenancePct | number | Non | — |
| appreciationPct | number | Non | — |
| sellingCostPct | number | Non | — |
| closingCostPct | number | Non | — |
| rentMonthly | number | Oui | — |
| rentGrowthPct | number | Non | — |
| renterInsuranceAnnual | number | Non | — |
| investmentReturnPct | number | Non | — |
| marginalTaxRatePct | number | Non | — |
| saltCap | number | Non | — |
| standardDeduction | number | Non | — |
| analysisYears | number | Non | — |
Résultat HTML
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Ajoutez cet outil à votre serveur Model Context Protocol pour que les agents IA puissent le lister et l'appeler.
Ajoutez ce bloc à la configuration de votre client MCP :
{
"mcpServers": {
"elysiatools-rent-vs-buy-total-cost-of-ownership-mortgage-tax-insurance-maintenance-irr-tutor": {
"name": "rent-vs-buy-total-cost-of-ownership-mortgage-tax-insurance-maintenance-irr-tutor",
"description": "Simulation mensuelle côte à côte : amortissement du crédit + taxe/assurance/copropriété/entretien contre loyer + assurance locataire ; le locataire place l'apport et l'épargne mensuelle au taux d'opportunité ; sortie : VAN annuelle, année d'équilibre, TRI des flux différentiels, bouclier fiscal sous plafond SALT et diagramme tornado ±20 %.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=rent-vs-buy-total-cost-of-ownership-mortgage-tax-insurance-maintenance-irr-tutor",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Après connexion au point d'accès SSE, listez les outils exposés :
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Appelez l'outil par son id ; les arguments sont construits à partir de ses paramètres :
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "rent-vs-buy-total-cost-of-ownership-mortgage-tax-insurance-maintenance-irr-tutor",
"arguments": {
"homePrice": 450000,
"downPaymentPct": 20,
"mortgageRatePct": 6.5,
"termYears": 30,
"propertyTaxRatePct": 1.1,
"insuranceAnnual": 2200,
"hoaMonthly": 0,
"maintenancePct": 1,
"appreciationPct": 3.5,
"sellingCostPct": 6,
"closingCostPct": 3,
"rentMonthly": 2400,
"rentGrowthPct": 3,
"renterInsuranceAnnual": 180,
"investmentReturnPct": 5,
"marginalTaxRatePct": 24,
"saltCap": 40400,
"standardDeduction": 31500,
"analysisYears": 10
}
}
}Des questions ou un problème ? Contactez [email protected]