Modelglass

io.github.Modelglass由 GitHub 账号 Modelglass 发布v1.0.2更新于 Oct 24, 2026

Sourced AI-model pricing and capability data — compare and route to the cheapest capable model.

已验证Streamable HTTP可网页运行数据与分析AI 与机器学习

概览

AI 生成的概览

远程 MCP 服务器,提供带来源的 AI 模型价格与能力数据,让助手比较模型并找到最便宜的可胜任选项。

可以做什么
查询图像、视频、音频和 LLM 等各类 AI 模型的价格与能力数据,每条价格都附带来源和核验日期。读取价格历史,重新定价以新的带日期条目出现,而非静默覆盖。比较竞品并查看账户或套餐信息。所有工具均为只读;服务器只提供数据,不代理流量,也不在运行时选择模型。
适用场景
适合让助手比较模型成本或能力、查询某模型当前或历史价格,或判断某项任务最便宜的服务商选项,无需离开对话去查价格网站。
运行要求
远程 streamable HTTP 端点,无需本地包或运行时。需要 Modelglass 账户和 API 密钥,以 bearer 令牌放在 Authorization 请求头中发送;可在服务商网站注册获取免费密钥。需要能访问该端点的网络。
安装前请注意
Authorization 请求头携带密钥,应避免出现在共享日志和配置中。README 称该 API 为付费服务,使用前请确认套餐与计费条款。工具被描述为只读,但价格数据来自第三方,做成本决策前应核对所引用的来源。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Modelglass,将其添加到工作区。
  2. 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.Modelglass%2Fmodelglass/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "modelglass": {
      "type": "http",
      "url": "https://modelglass-api.vercel.app/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

Modelglass's VS Code extensions — route dev tasks (and generate video/audio) to the cheapest capable option against your own provider keys, or bring the live Modelglass pricing/capability feed into Copilot's agent mode as MCP tools.

[License: MIT] [VS Code >= 1.104] [Documentation] [See it on the site]

[Cost-Aware Router version] [Cost-Aware Router installs] [Modelglass MCP version] [Modelglass MCP installs]

modelglass-vscode

What Modelglass is

Modelglass is a pricing-and-capability data layer for AI models — image, video, audio, and LLM — built as a sourced, append-only registry: every price carries a source URL and the date it was verified, and a repricing is a new dated entry, never a silent overwrite. It's served two ways: a free comparison site, and a paid read API + MCP server (https://modelglass-api.vercel.app, POST /mcp) for operators wiring model pricing into their own tooling. Modelglass itself doesn't proxy your traffic or pick a model at runtime — it's the data other people's tools (including both extensions in this repo) read.

What this repo is

An npm workspaces monorepo publishing two independent VS Code extensions, each installable on its own:

PackageWhat it isMarketplace
packages/routerModelglass Cost-Aware Router — routes dev tasks to the cheapest capable LLM (and generates video via Runway, audio via ElevenLabs) directly against your own provider keys, BYOK, no Modelglass proxy in the request path. Also available directly inside Copilot Chat's model picker.modelglass.cost-aware-router
packages/mcpModelglass MCP — registers the live Modelglass MCP server directly in Copilot's agent mode, no manual .vscode/mcp.json editing. Seven read-only tools (models, pricing history, competitors, account/tier info) — Copilot's agent decides when to use them, this extension just makes them discoverable.modelglass.modelglass-mcp
packages/sharedInternal only, not published. SecretStorage-backed auth (ensureApiKey/peekApiKey) and the Modelglass API base URL, shared by both extensions above.—

Both extensions use the same Modelglass account/API key — installing one doesn't require separately authenticating the other. See each package's own README.md for full usage docs, including a screenshot of it in action.

[Modelglass: Route Task recommendation]

Development

bash
npm install                              # installs + links all three workspace packagesnpm run typecheck                        # all packagesnpm run test                             # all packages (packages without a test script are skipped)npm run build                            # all packages
# per-package:npm run build --workspace packages/routernpm run package --workspace packages/mcp   # -> packages/mcp/*.vsix

To run an extension locally: open packages/router or packages/mcp as the VS Code workspace root and press F5 to launch an Extension Development Host with your changes loaded — standard VS Code extension tooling, no custom launch config needed. See CONTRIBUTING.md for the full local-dev + PR flow.

The router/mcp split is tracked as SCO-434 in the main modelglass repo's Linear project.

Contributing

Bug reports, fixes, and new features are welcome — see CONTRIBUTING.md and our Code of Conduct.

To report a security vulnerability, follow SECURITY.md instead of opening a public issue.

Talk to us

Questions about Modelglass itself or either extension — email [email protected].


Copyright © 2026 Modelglass Pty Ltd. Licensed under the MIT License — see LICENSE.

来源:README.md,提交 e748acd

工具

0
该服务器需要 API 密钥等凭据,因此 SourceWeft 无法在没有凭据的情况下读取其工具,也未收录。

版本历史

1
  1. v1.0.2最新Sep 16, 2026

评分

已满足适用检查项的 85%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

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

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