Trust Engine AI: model retirements and agent cost

io.github.DinevDecor由 GitHub 账号 DinevDecor 发布v0.2.2更新于 Nov 14, 2026

Model retirement dates with sources, public cost-vs-quality benchmark, local usage-cost check. Free.

发布方自己的服务:model.tools — Zero-Auth Agent Utilities

概览

AI 生成的概览

只读 MCP 服务器:扫描代码库中的 AI 模型 ID,给出带来源的退役日期,并在本地分析用量成本导出文件。

可以做什么
  • 扫描工作目录或传入文本中的 AI 模型 ID,标出即将退役的模型及所在文件与行号
  • 按平台核查一组模型的退役日期、剩余天数、厂商替代型号与来源
  • 按供应商、模型或日期筛选列出即将退役和弃用的模型
  • 在本地分析 OpenAI 或 Anthropic 用量/成本导出,查看各模型花费与成本驱动因素
  • 展示公开编码基准结果,并为已测量的模型组合估算节省金额
  • 准备试点任务模板,并起草一封由人工发送的试点申请邮件
适用场景
适用于需要确认代码或智能体所用模型是否即将退役、模型调用开始失败时,或希望在不外传用量数据的前提下了解并降低智能体开销的场景。
运行要求
以 uvx 运行的本地进程(需 Python 3.10+ 与 uv),或使用 pip 安装;无需账号或 API 密钥。刷新数据需访问 agenttrustapi.com,不可达时使用内置快照。可选环境变量 TRUST_ENGINE_OFFLINE 与 TRUST_ENGINE_BASE_URL。
安装前请注意
服务器会向 agenttrustapi.com 发送 GET 请求,携带 User-Agent 和带 ref 参数的链接,用于按渠道统计使用量。退役日期抄自厂商页面,行动前应核对所引来源。基准结果来自单一编码智能体在公开题目上的测试,不能预测你自己任务上的表现。节省估算仅覆盖已测量的模型组合。服务器不会代你发送任何内容,试点申请仅生成草稿。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Trust Engine AI: model retirements and agent cost,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

trust-engine-mcp

Free MCP server from Trust Engine AI. It answers questions agents otherwise search the web for:

  • Which AI models does this code use, and are any being retired? scan_for_models finds the model ids in the working directory (read-only, on your machine) and checks them against the calendar. The same scan runs as a command (trust-engine-mcp check) and as a GitHub Action, without an agent.
  • Is a model we use being retired, and when? Verified dates for Anthropic, OpenAI, Google Gemini API and Vertex AI, AWS Bedrock and Mistral. Each date has its official source URL and the date it was checked.
  • Why do our agents cost so much? It reads an OpenAI or Anthropic usage/cost export locally and shows spend by model, cost drivers and the fixes you can make yourself.
  • Is a cheaper model good enough? You get our public benchmark numbers, a savings estimate for the model pairs we measured, and a ready request for a free pilot on your own tasks.

Read-only. No key, no account, no telemetry. The server only sends GET requests to agenttrustapi.com, with the User-Agent trust-engine-mcp/<version> (mcp|cli|action) so we can count use per channel; links to agenttrustapi.com in answers carry ?ref=mcp, ?ref=cli or ?ref=action for the same reason. Nothing else is recorded or sent.

Honesty notes. The retirement data is copied from vendor pages, so follow source_url before you act on a date. The benchmark is one coding agent on 27 public exercises: it compares the models fairly, but it does not predict results on your tasks. Savings estimates exist only for pairs we measured; for any other pair the tool gives no number. Nothing is sent for you: request_pilot drafts an e-mail that a person sends.

Connect with one command

Needs Python 3.10+ and uv.

bash
# Claude Codeclaude mcp add --transport stdio trust-engine -- uvx trust-engine-mcp
# Codex CLIcodex mcp add trust-engine -- uvx trust-engine-mcp

Claude Desktop, Cursor and other stdio clients use this config (claude_desktop_config.json, .cursor/mcp.json):

json
{  "mcpServers": {    "trust-engine": { "command": "uvx", "args": ["trust-engine-mcp"] }  }}

Claude Desktop can also install the one-file bundle trust-engine-mcp-<version>.mcpb from the GitHub releases. Without uv, run pip install trust-engine-mcp and use the command trust-engine-mcp.

Try this first

Are we using any deprecated AI models in this repo?

Use the trust-engine tools. We use claude-sonnet-4-5, gpt-4o and gemini-2.5-flash. Which of them are being retired, on which platform, and by when must we re-test? Cite the sources.

Here is our usage export (CSV). Why are our agents so expensive? List the quick fixes we can do ourselves this week.

Is Claude Sonnet good enough instead of Opus for coding work? Show the benchmark numbers and what we would save on a $4,000 monthly bill. Then tell me how to test this on our own tasks.

Tools

ToolAnswers
scan_for_models(path?, texts?)Finds every model id from the calendar in the working directory (or in texts you pass) as a whole token, with file:line for each, plus the check_my_models result for those models. path must be inside the working directory. Limits: 20,000 files / 50 MB; single files over 1 MB (data dumps, bundles) are skipped and listed, not read; code and config files are read first, prose next. Skips .git, node_modules, venv, .venv, dist, build, __pycache__, .next, .nuxt, coverage, .cache, target and test caches, lockfiles and binaries. Never opens .env or .env.* (only .env.example, .env.sample, .env.template); skipped ones are listed by name
check_my_models(models)For each model your agent uses: retirement date per platform, days left, the vendor's replacement, the source, and what to do before the date
model_retirements(provider?, model?, before_date?, include_past?, text_models_only?)Upcoming retirements and deprecations, filtered, with sources
analyze_usage(csv_text? | rows?)Spend by model, top-model share, models on the retirement calendar, cost drivers, next steps. Runs offline; nothing is uploaded
benchmark_results()Public Aider benchmark for Claude Opus, Sonnet and Haiku 5.5: tasks solved, cost per solved task, failed tasks, method and raw data
estimate_switch_savings(monthly_bill_usd, from_model, to_model)Measured cost ratio and the arithmetic, for measured pairs only
prepare_pilot_tasks(csv_text?, use_case?)The pilot task format (CSV template), how to pick 20-30 tasks, how to mask personal data, and an offline check of a draft
request_pilot(company?, use_case?, models?, task_count?, monthly_bill_usd?, notes?)A draft e-mail and mailto: link to [email protected] for a person to send
pricing()Published prices (US$, valid from 12 Nov 2026), incl. the fixed-price 7-day test ($1,390), 24/7 watch and Bulgarian review

What the scan does not see: model ids built at runtime (from environment variables or string concatenation), models that are not on the calendar, and ids written in a form the calendar does not list. Aliases such as gpt-4.1 match the dated snapshot on the calendar (gpt-4.1-2025-04-14); the answer says so, because an alias can point to a newer snapshot.

Check a repository without an agent

Command line

bash
uvx trust-engine-mcp check            # scan the current folderuvx trust-engine-mcp check src --days 90

It prints each model found, its dates, replacement and source, and where it is used. Exit code 1 if a model found retires within --days days (default 60; a date that has already passed counts), otherwise 0. trust-engine-mcp with no arguments still starts the MCP server.

GitHub Action

yaml
# .github/workflows/model-retirements.ymlname: model retirementson:  pull_request:  schedule:    - cron: "17 6 * * 1"   # Mondayspermissions:  contents: readjobs:  check:    runs-on: ubuntu-latest    steps:      - uses: actions/checkout@v4      - uses: DinevDecor/trust-engine-mcp/check@v1        with:          days: "60"                  # default 60          # path: "."                 # default: the whole repository          # fail-on-retiring: "true"  # default false: warnings only

It adds a warning on each line that uses a model retiring within days and a table to the job summary. It needs no token and posts no comments. By default the step never fails; set fail-on-retiring: "true" to fail it.

Usage exports analyze_usage reads

Column names are matched loosely; case, spaces and separators are ignored. Only a model column is required.

  • model: model, model_name, model_id, snapshot_id, line_item (e.g. "gpt-4o-2024-08-06, input")
  • cost: cost, cost_usd, amount, amount_value, spend, total_cost
  • requests: requests, num_model_requests, n_requests, request_count
  • tokens: input_tokens, prompt_tokens, n_context_tokens_total, uncached_input_tokens, output_tokens, completion_tokens, cache_read_input_tokens, input_cached_tokens, cache_creation_input_tokens
  • reliability: errors, error_count, status, status_code, retries
  • other: batch, service_tier, date, start_time, bucket_start

Data sources

DataURLLicense
Model retirement calendarhttps://agenttrustapi.com/retirements.json (schema, Atom, page)CC BY 4.0
Aider model-diet benchmarkhttps://agenttrustapi.com/benchmarks/aider-model-diet.json (report, protocol, raw CSV)as on the report
Pilot task templatehttps://agenttrustapi.com/pilot/tasks_template.csv—

The server caches each file for 6 hours with a 10-second timeout. The package includes a snapshot of both files. If the site is unreachable, the server uses that snapshot and says so in every answer.

Environment

VariableDefaultMeaning
TRUST_ENGINE_OFFLINE01: never fetch; use the bundled snapshot only
TRUST_ENGINE_BASE_URLhttps://agenttrustapi.comdata host (for testing against a local copy)

Development

bash
pip install -e ".[dev]"pytest && ruff check .

The tests use fixtures and a fake site. They make no network calls.

License

Code MIT © 2026 Trust Engine AI. Retirement data CC BY 4.0. Contact: [email protected]

mcp-name: io.github.DinevDecor/trust-engine-mcp

来源:README.md,提交 c46ed5a

工具

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

版本历史

4
  1. v0.2.2最新Nov 14, 2026
  2. v0.2.1Nov 14, 2026
  3. v0.2.0Nov 14, 2026
  4. v0.1.0Nov 12, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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

其他 Model 集成