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 分