关于 DSCR Loan Calculator
DSCR Loan Calculator 是面向评估住宅租赁物业 DSCR 融资的投资者和贷款分析人员的 MCP 服务。它可计算覆盖率、求解贷款或租金目标、比较方案并汇总摊还情况。
主要功能
- 01计算 DSCR 和贷款档位
- 02求解最高贷款额或所需租金
- 03比较最多五种贷款方案
- 04汇总付款与摊还情况
适用场景
- 01检查租赁物业的 DSCR
- 02计算目标 DSCR 下的贷款上限
- 03比较物业融资条件
MCP 相关
向 MCP 客户端提供 DSCR、贷款上限、租金目标、方案比较和摊还工具。它提供计算结果,不构成贷款报价或批准。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://dscr-loan-calculator-mcp.lipmichal.workers.dev/mcpclaude mcp add --transport http theluckystrike-dscr-loan-calculator https://dscr-loan-calculator-mcp.lipmichal.workers.dev/mcp{"mcpServers":{"theluckystrike-dscr-loan-calculator":{"type":"http","url":"https://dscr-loan-calculator-mcp.lipmichal.workers.dev/mcp"}}}在 Cursor 中打开{"servers":{"theluckystrike-dscr-loan-calculator":{"type":"http","url":"https://dscr-loan-calculator-mcp.lipmichal.workers.dev/mcp"}}}在 VS Code 中打开{"mcpServers":{"theluckystrike-dscr-loan-calculator":{"type":"http","url":"https://dscr-loan-calculator-mcp.lipmichal.workers.dev/mcp"}}}{"mcpServers":{"theluckystrike-dscr-loan-calculator":{"serverUrl":"https://dscr-loan-calculator-mcp.lipmichal.workers.dev/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
DSCR 贷款计算器 MCP
为 AI 助手提供精确的 DSCR 贷款计算:出租物业贷款的债务偿付覆盖率、最高贷款额、所需租金、情景对比和摊还计划。
托管 MCP URL(无需登录,无需令牌):https://dscr-loan-calculator-mcp.lipmichal.workers.dev/mcp
提供完整计算器和利率页面的网站:dscrradar.com
工具
| 工具 | 功能 |
|---|---|
calculate_dscr | DSCR = 符合条件的租金 / PITIA。精确计算本息还款或仅付利息的还款额、税费、保险、HOA 和其他住房成本,并给出贷款机构的档位(1.25+、1.00-1.24、0.75-0.99、低于 0.75)。 |
max_loan_for_target_dscr | 计算可使 DSCR 达到或高于目标值的最大整美元贷款额。可选提供购买价格和 LTV 上限,以计算最低首付款以及哪个限制条件起决定作用。 |
rent_needed_for_target_dscr | 计算达到目标 DSCR 所需的最低月租金,并给出达到 0.75、1.00 和 1.25 时所需的租金。 |
compare_scenarios | 并排比较最多 5 种利率、首付款、期限和仅付利息情景,并显示 DSCR、档位、租金减 PITIA 后的金额和总利息。 |
amortization_summary | 月供、付款次数、最后一期付款额、总利息、总付款额,以及 N 年后的余额。支持先设置一段仅付利息期。 |
每个结果都包含结构化 JSON、一段摘要、as_of 日期、source URL,以及指向 dscrradar.com 对应页面的 more 链接。
它掌握了模型不知道的信息
- 精确到美分的还款额。语言模型常会把年金公式算错几美元,或在错误的位置进行四舍五入。此服务使用标准年金公式,按月复利,并将每个部分的金额按四舍五入规则精确到美分,与贷款机构的还款计划一致。
- PITIA 的真实定义(Fannie Mae Selling Guide B3-6-03):本金、利息、税费、保险、协会费用、地租和特别评估费。
- 精确的档位边界。1.2499 的 DSCR 并不是 1.25。档位根据精确比率通过整数运算确定,保留两位小数的 DSCR 会截断,不会向上舍入。
- 求解器。最高贷款额和所需租金都根据舍入后的还款额精确求解,而非估算。
- 贷款机构之间的实际差异。有些贷款机构要求 1.25,有些接受 1.00,有些最低可到 0.75,还有些提供无比率计划。每个结果中都列出了来源。
安装
Claude.ai 自定义连接器、ChatGPT 开发者模式
将此 URL 粘贴为自定义连接器。无需令牌或登录。
https://dscr-loan-calculator-mcp.lipmichal.workers.dev/mcp
Claude Code
claude mcp add --transport http dscr-loan-calculator https://dscr-loan-calculator-mcp.lipmichal.workers.dev/mcp
也可以通过 stdio 在本地运行:
claude mcp add dscr-loan-calculator -- npx -y dscr-loan-calculator-mcp
Claude Desktop
添加到 claude_desktop_config.json:
{
"mcpServers": {
"dscr-loan-calculator": {
"command": "npx",
"args": ["-y", "dscr-loan-calculator-mcp"]
}
}
}
Cursor
添加到 ~/.cursor/mcp.json:
{
"mcpServers": {
"dscr-loan-calculator": { "url": "https://dscr-loan-calculator-mcp.lipmichal.workers.dev/mcp" }
}
}
VS Code
添加到 .vscode/mcp.json:
{
"servers": {
"dscr-loan-calculator": { "type": "http", "url": "https://dscr-loan-calculator-mcp.lipmichal.workers.dev/mcp" }
}
}
使用 curl 测试
curl -s -X POST https://dscr-loan-calculator-mcp.lipmichal.workers.dev/mcp \
-H 'content-type: application/json' -H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"calculate_dscr","arguments":{"monthly_rent":2500,"loan_amount":300000,"annual_rate_pct":7,"annual_property_tax":3600,"annual_insurance":1200}}}'
示例提示词
- “租金是 $2,500,贷款金额为 $300,000,利率为 7%,期限为 30 年,年税费为 $3,600,保险费为 $1,200。我的 DSCR 是多少?”
- “一套价值 $400,000、租金为 $3,000 的出租物业,利率为 7.5%,如果贷款机构要求 DSCR 达到 1.25,我最多能贷多少?”
- “对于一笔金额为 $300,000、利率为 7% 的贷款,要达到 1.25 的 DSCR,我需要多少租金?”
- “比较一套价值 $400,000、租金为 $3,200 的物业:首付 20%、利率 7%;首付 25%、利率 7.5%;以及首付 30%、利率 8% 且仅付利息的方案。”
- “一笔金额为 $500,000、利率为 7.5% 的贷款,先仅付利息 10 年,再按 20 年摊还,显示 10 年和 20 年后的余额。”
数学与舍入
- 月利率 = 年利率 / 12。P&I = L x r / (1 - (1 + r)^-n)。在 0% 利率下,P&I = L / n。
- 仅付利息的月供 = L x r。
- 月房产税和保险 = 年金额 / 12。
- 以上各项在加总为 PITIA 前,均按四舍五入规则舍入到美分。
- 符合条件的租金 = 总租金 x (1 - 空置率),按四舍五入规则舍入到美分。空置率默认为 0,因为许多 DSCR 贷款机构使用总租金。
- DSCR = 符合条件的租金 / PITIA。显示时截断到 2 位小数,并以精确比率显示到 6 位小数。
- 摊销按月计算。每月利息均按四舍五入规则舍入到美分,最后一期还款结清余额。
23 个测试样例会检查这些数值。预期值来自独立的 Python Decimal 脚本(scripts/expected.py),该脚本使用暴力搜索,而非服务器代码。
数据来源
请参阅 DATA_SOURCES.md。简而言之,PITIA 的定义来自 Fannie Mae Selling Guide,贷款机构区间来自 Griffin Funding、Defy Mortgage 和 LendingOne 的页面,这些页面于 2026-10-30 抓取。
限制
- 这只是数学计算,并非贷款要约或审批。各贷款机构的最低要求、利率定价、储备金规则和 LTV 上限各不相同,且经常变化。
- 此处的 DSCR 是住宅 DSCR 贷款的衡量指标(租金 / PITIA)。商业贷款机构通常使用 NOI / 年债务偿付额。有些贷款机构会先扣除空置率或费用;可使用
vacancy_pct和monthly_other_housing对此建模。 - 有些贷款机构会按摊销还款额评估仅付利息的贷款。
calculate_dscr在interest_only为 true 时会显示两者。 - 此服务不提供实时利率报价。当前 DSCR 利率页面见 dscrradar.com。
开发
npm install
npm run build
npm test
npx wrangler deploy
src/core.ts 包含纯数学计算。src/stdio.ts 和 src/worker.ts 是轻量入口,共用 src/tools.ts 中的工具注册表。
许可证
MIT
Zovo MCP 合集的一部分:https://mcp.zovo.one
同一作者提供的更多数据服务
每个服务都免费,无需 API 密钥,并提供托管 URL,可直接粘贴到 Claude 或 ChatGPT 中使用。
| 服务 | 工具 | 托管 URL |
|---|---|---|
| cups-to-grams-mcp | convert_ingredient, search_ingredients, scale_recipe, convert_oven_temperature | https://cups-to-grams-mcp.lipmichal.workers.dev/mcp |
| gold-price-per-gram-mcp | get_gold_price_per_gram, get_metal_prices, calculate_jewelry_value, convert_gold_units | https://gold-price-per-gram-mcp.lipmichal.workers.dev/mcp |
| lake-level-mcp | search_lakes, get_lake_level, get_lake_history, compare_lakes | https://lake-level-mcp.lipmichal.workers.dev/mcp |
| minimum-wage-mcp | get_minimum_wage, list_upcoming_increases, compare_states, annual_income_at_minimum_wage | https://minimum-wage-mcp.lipmichal.workers.dev/mcp |
| no-tax-on-overtime-mcp | calculate_overtime_deduction, calculate_tips_deduction, calculate_senior_deduction, estimate_tax_savings, explain_eligibility | https://no-tax-on-overtime-mcp.lipmichal.workers.dev/mcp |
| paycheck-calculator-mcp | calculate_take_home_pay, compare_states_take_home, salary_to_hourly, hourly_to_salary, get_federal_tax_brackets | https://paycheck-calculator-mcp.lipmichal.workers.dev/mcp |
| uk-income-tax-salary-mcp | calculate_uk_take_home, get_uk_tax_bands, compare_salaries, marginal_rate_at_income | https://uk-income-tax-salary-mcp.lipmichal.workers.dev/mcp |
| us-federal-holidays-business-days-mcp | list_federal_holidays, is_business_day, add_business_days, count_business_days, invoice_due_date | https://us-federal-holidays-business-days-mcp.lipmichal.workers.dev/mcp |
付费的后台办公工具合集(发票、VAT、PDF、电子表格)位于 https://mcp.zovo.one
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。