RepairWorth Auto Repair Quote Checker

io.github.repairworth由 GitHub 账号 repairworth 发布v0.1.1更新于 Oct 24, 2026

Checks US auto repair quote arithmetic and looks up state repair estimate laws. No market price.

发布方自己的服务:Quote.Trade MCP Adapter

已验证STDIO仅桌面位置与生活金融

概览

AI 生成的概览

本地 MCP 服务器,用于核对美国汽车维修报价的算术、比较两份报价、重算拖车账单、规划保养费用,并查询各州估价法规。

可以做什么
核对单份报价:可支撑的总额、已知明细行合计、无金额的行,以及总额与明细之间的差额。比较同一作业的两份报价:以区间表示的价格差、不同的明细行,以及范围表述差异。根据基础费用、包含里程、总里程、每英里费率和其他费用重算拖车报价。把计划保养项目与可选的每月储备金分摊到 1 至 240 个月。按两位州代码查询美国各州或华盛顿特区汽车维修估价法规数据集中的一行,含状态、引文和官方网址。
适用场景
适合在车主或顾问需要检查美国维修或拖车报价的内部算术是否一致、逐行比较两份报价,或查询某州书面估价规定时使用。它不是定价工具:不含市场价,也不判断报价是否合理。
运行要求
以 stdio 在本地运行,需要 Node.js 18 或更高版本,通常通过 npx 启动。未声明账户、API 密钥、环境变量或请求头。仅限桌面客户端,无网页可执行版本。
安装前请注意
所有金额都来自调用方提供的数字;服务器不含市场价,不会说明维修应花多少钱,也不判断报价是否合理。州法规行只是摘要,不构成法律建议,应对照官方原文核实;规则字段为空表示未能从所读来源确认,而非没有规定。仅涵盖州级法律。

安装

在 SourceWeft 中

  1. 打开 控制台中的 RepairWorth Auto Repair Quote Checker,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

repairworth-mcp

A Model Context Protocol server (stdio) that runs the calculation engine of the RepairWorth car repair estimate checker from an MCP client. RepairWorth is an independent publication that helps drivers read a US auto repair quote before they pay.

The server works on the amounts written on a quote. It checks that a total agrees with its itemized lines, compares two quotes line by line, rebuilds a towing bill from its own terms, and spreads planned maintenance over a number of months. A fifth tool looks up one state in a dataset of state laws on auto repair estimates.

What it does not do. The server holds no market price and no typical range. It does not say what a repair should cost, and it does not say whether a quote is fair. Every dollar amount in a result was computed from an amount the caller supplied.

The engine is not re-implemented here. The site's engine file is copied unchanged into vendor/, and the test suite checks that each tool returns what the engine returns.

Install

Requires Node.js 18 or later. Run it with npx (no install step), or install it globally:

bash
npx -y repairworth-mcp# ornpm install -g repairworth-mcp

Claude Desktop (claude_desktop_config.json):

json
{  "mcpServers": {    "repairworth": {      "command": "npx",      "args": ["-y", "repairworth-mcp"]    }  }}

Claude Code:

bash
claude mcp add repairworth -- npx -y repairworth-mcp

From source: git clone https://github.com/repairworth/repairworth-mcp.git, then npm ci and node bin/repairworth-mcp.js.

Tools

ToolWhat it returns
analyze_quoteOne quote: the total it supports, the sum of its known lines, the lines with no amount, and the gap between the communicated total and the itemized lines.
compare_quotesTwo quotes for the same job: the price gap as an interval (B minus A), the lines that differ, and the scope items the two quotes state differently.
maintenance_planPlanned services and an optional monthly reserve, as a total and a monthly amount over a horizon of 1 to 240 months.
towing_estimateA towing quote rebuilt from its base fee, included distance, total distance, rate per mile or kilometer, and other fees.
state_estimate_lawOne US state or DC: the row of the dataset "U.S. State Auto Repair Estimate Laws", with its status, citation and official URL.

analyze_quote and compare_quotes run the same functions as the car repair estimate checker linked above. towing_estimate runs the function of the site's towing cost calculator, and maintenance_plan the one of its maintenance cost planner.

Inputs

  • A dollar amount is a number, or a string such as "85", "85.50" or "$1,234.50", with two decimals at most.
  • A line or a total has a status: fixed (one amount), range (low to high), unknown (the quote gives no amount), included (covered elsewhere) or not-applicable. Only fixed and range carry an amount. The three others are never counted as zero.
  • A credit is a positive amount with sign: -1. A refundable charge, such as a core charge, is a line with conditionalRefund: true: it stays out of the total and is reported in the refund fields.
  • maintenance_plan takes the services, months and prices from the caller. The engine holds no maintenance schedule and no service interval.
  • An unknown key is refused rather than ignored, so a misspelt input cannot change a total silently.

Results

Each of the four calculation tools returns the engine's result unchanged, as JSON. Amounts are integer US cents (displayLowCents: 140000 is $1,400.00).

An input the engine refuses returns isError: true with the engine's own result: valid: false and an errors list whose messages are the ones the site shows. A call the server refuses for its shape (an unknown key, a line that is not an object) returns isError: true with a single error message.

Example: analyze_quote with a total of 1,400 and three lines of 800, 500 and 80 returns, among other fields:

json
{  "valid": true,  "basis": "communicated-total",  "knownLowCents": 138000,  "knownHighCents": 138000,  "displayLowCents": 140000,  "displayHighCents": 140000,  "unknown": [],  "reconciliation": { "lowCents": 2000, "highCents": 2000 }}

The lines add up to $1,380 and the communicated total is $1,400: $20 of the total is not itemized.

When two quotes are ranges that overlap, compare_quotes returns direction: "overlap" and reports no quote as lower. A price gap only compares like with like when comparableScope is true.

State laws on repair estimates

state_estimate_law takes a two-letter code ("CA", "DC") and returns the row of the dataset as published, in law, with 18 columns: the citation, the official URL, the rules on written estimates, on exceeding the estimate without new consent and on returning replaced parts, a verbatim quote, and the date of the check.

Not legal advice. Verify the official text. The dataset summarizes public legal texts for research and consumer information. Laws change, and a short summary can miss exceptions. Every response repeats this notice in disclaimer.

statusMeaning
verifiedThe official text was read and the row names a statute or rule. Rule values come from that text.
no_statute_foundAn official source was read on the date given and no dedicated statute was found. This is a negative finding: it cannot be proven by quotation. Rule cells are empty.
leadThe official text was not read; any citation or reference kept in the record is a pointer to follow up, and the rule fields are empty.

An empty value means "not established from the source read". It does not mean "no rule". Only state-level law is covered; municipal ordinances are out of scope. The sources behind RepairWorth data are listed on its data sources page.

How the package is built

  • vendor/engine.cjs is the site's engine under a two-line notice. vendor/us-state-auto-repair-estimate-laws.csv is the dataset, byte for byte. vendor/SOURCE.json records the SHA-256 of both, and the tests recompute them.
  • scripts/sync.mjs is the maintainer's script that refreshes vendor/ and test/vectors.json from the site sources. It refuses to copy a dataset that does not match its published checksum. Nothing else reads outside this package: npm ci && npm test runs from a bare copy of the repository.
  • test/vectors.json holds the calls of the engine's own test suite with the answers of the engine source. Each one is replayed through the MCP handler and must come back identical.
bash
npm cinpm test

License

Three parts, three sets of terms (see LICENSE):

  • Server code: MIT.
  • Calculation engine (vendor/engine.cjs): all rights reserved, distributed with this package only.
  • Dataset (vendor/us-state-auto-repair-estimate-laws.csv): CC BY 4.0. Cite it as: RepairWorth (2026). U.S. State Auto Repair Estimate Laws [Data set].

来源:README.md,提交 c9c68c0

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Oct 13, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。

其他 Quote 集成