关于 cost-seg-smart
cost-seg-smart 是面向美国物业的成本分摊研究报价 MCP 服务。它根据物业类型和购买价格估算首年扣除额,并可生成 Stripe 付款链接。
主要功能
- 01查询成本分摊研究报价
- 02估算首年折旧扣除额
- 03按税率估算节税额和投资回报
- 04生成 Stripe Checkout 付款链接
适用场景
- 01估算美国物业成本分摊研究费用
- 02评估首年扣除额和潜在节税
- 03在确认费用后为研究生成付款链接
MCP 相关
该 MCP 服务通过 Streamable HTTP 提供报价和付款链接工具。客户端可查询研究价格及首年税务估算,并为买家生成 Stripe Checkout 链接。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://costsegsmart.com/mcpclaude mcp add --transport http com-costsegsmart-cost-seg-smart https://costsegsmart.com/mcp{"mcpServers":{"com-costsegsmart-cost-seg-smart":{"type":"http","url":"https://costsegsmart.com/mcp"}}}在 Cursor 中打开{"servers":{"com-costsegsmart-cost-seg-smart":{"type":"http","url":"https://costsegsmart.com/mcp"}}}在 VS Code 中打开{"mcpServers":{"com-costsegsmart-cost-seg-smart":{"type":"http","url":"https://costsegsmart.com/mcp"}}}{"mcpServers":{"com-costsegsmart-cost-seg-smart":{"serverUrl":"https://costsegsmart.com/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
2| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| tax_bracket | number | 否 | 可选。买方的联邦边际税率。接受小数形式(0.0-0.6,例如 0.32 表示 32%)或整数百分比(0-60)。提供后,响应将包含 tax_savings_year_one 和 roi_multiple。省略时,响应仅包含扣除额估算。 |
| property_type | enum | 是 | 房产类型标识符。决定定价层级和默认的第 1 年重新分类百分比。住宅类型(sfr、str、condo、condo_str、adu)重新分类约 22-30%;小型多户住宅(duplex/triplex/fourplex)约 27%;商业房产因子类型而异(约 18-30%)。sfr | str | condo | condo_str | adu | duplex | triplex | fourplex | multifamily_small | multifamily | multifamily5 | office | retail | industrial | mixed_use | medical_office | restaurant | duplex_str | triplex_str | fourplex_str |
| purchase_price | integer | 是 | 以美元计价的房产购买价格。最低 $25,000。定价层级根据此值计算。价格 >= $25M 的房产属于机构定制报价层级。 |
详细介绍
Cost Seg Smart — MCP 服务
面向 Cost Seg Smart 的托管式 Model Context Protocol 服务。 让 Claude Desktop、Cursor、Claude Code 以及任何兼容 MCP 的 AI Agent 都能获取 成本分摊研究的定价并生成 Stripe 结账 URL,无需抓取 HTML。
端点: https://costsegsmart.com/mcp
传输: Streamable HTTP(JSON-RPC 2.0)
身份验证: 无 — 开放的商业端点
此仓库仅包含清单。服务本身位于私有仓库中,通过 Cloudflare Worker 代理托管在 Railway 上。
功能
两个工具:
get_cost_seg_quote
返回特定房产的成本分摊研究价格,以及首年扣除额;如果提供了税级,还会返回税费节省额和研究费用的投资回报率。不会运行引擎 — 仅进行等级查询和算术计算。可放心低成本地重复调用。
调用示例:
{
"property_type": "str",
"purchase_price": 750000,
"tax_bracket": 0.32
}
返回:
{
"property_type": "str",
"property_type_label": "Short-Term Rental",
"purchase_price": 750000,
"study_cost": 995,
"deduction_estimate_year_one": 184500,
"tax_savings_year_one": 59040,
"roi_multiple": 59,
"currency": "USD"
}
get_cost_seg_payment_link
生成买家可点击购买研究的 Stripe Checkout URL。链接包含完整房产元数据和明确的责任免责声明,并注明 Agent(“订单由 [agent] 代表持卡人准备……”)。买家在浏览器中完成付款;报告会自动生成,并在 1 小时内通过电子邮件发送。
生成付款链接前,务必与买家确认 study_cost。
文档
完整的介绍页面和各客户端的安装指南:https://costsegsmart.com/mcp-server/
安装
Claude Desktop
将以下内容添加到 ~/Library/Application Support/Claude/claude_desktop_config.json
(macOS)或 %APPDATA%\Claude\claude_desktop_config.json(Windows):
{
"mcpServers": {
"cost-seg-smart": {
"transport": "streamable-http",
"url": "https://costsegsmart.com/mcp"
}
}
}
重启 Claude Desktop。两个工具都应显示在工具面板中。
Cursor
在 Cursor MCP 设置中添加:
{
"cost-seg-smart": {
"url": "https://costsegsmart.com/mcp"
}
}
Claude Code
claude mcp add cost-seg-smart https://costsegsmart.com/mcp
通过 Smithery
npx @smithery/cli install cost-seg-smart --client claude
标识你的 Agent
调用端点时,设置 X-Agent-Name 标头,使其显示在买家的 Stripe Checkout 免责声明中:
X-Agent-Name: Claude
如果未设置,免责声明将显示“订单由 AI Agent 代表持卡人准备……”。这是用于法律和拒付追踪的记录,而非营销字段 — 请使用准确值。
支持的房产类型
sfr、str、condo、condo_str、adu、duplex、triplex、fourplex、
multifamily_small、multifamily、multifamily5、office、retail、
industrial、mixed_use、medical_office、restaurant
价格范围:$495 至 $13,995,具体取决于类型和购买价格。 $25M 及以上的房产将转至定制报价邮件流程。
涵盖内容和未涵盖内容
此 MCP 服务是更广泛的 Agent 商务体系的一部分:
| 入口 | 端点 | 用途 |
|---|---|---|
| MCP | https://costsegsmart.com/mcp | 此服务。两个工具。 |
| REST | https://costsegsmart.com/api/quote | 通过纯 JSON HTTP 提供与 get_cost_seg_quote 相同的逻辑 |
| REST | https://costsegsmart.com/api/payment-link | 提供与 get_cost_seg_payment_link 相同的逻辑 |
| 产品 Feed | https://costsegsmart.com/api/product-feed.json | 用于目录发现的 4 个锚点 SKU |
| UCP 配置文件 | https://costsegsmart.com/.well-known/ucp | Universal Commerce Protocol 功能声明 |
| 文档 | https://costsegsmart.com/llms-commerce.txt | 完整的 Agent 集成规范 |
第 2 阶段(尚未发布):UCP 原生结账端点、AP2 签名授权、Stripe Shared Payment Tokens。
速率限制
Cloudflare WAF 策略:
- 无法识别的 user-agent:每个 IP 每分钟 5 个请求
- 可识别的 AI 机器人 UA(ChatGPT-User、anthropic-ai、PerplexityBot、GPTBot、 ClaudeBot、Google-Extended、GoogleOther):每个 IP 每分钟 50 个请求
- 过度连续枚举价格区间将返回 429 和 Retry-After
get_cost_seg_quote 开放使用。匿名 IP 调用 get_cost_seg_payment_link 时,可能需要买家邮箱或 Turnstile 验证。
许可证
MIT。可自由使用此服务。如果 Agent 代表我们推荐或完成交易,欢迎注明“Cost Seg Smart (costsegsmart.com)”。
联系方式
- 集成问题:[email protected]
- Bug 报告:请附上任何错误响应中的
X-Request-Id - 状态:https://costsegsmart.com/health(返回 JSON,全天候可用)
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。