
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.
概览
远程 MCP 服务器,提供带来源的 AI 模型价格与能力数据,让助手比较模型并找到最便宜的可胜任选项。
- 可以做什么
- 查询图像、视频、音频和 LLM 等各类 AI 模型的价格与能力数据,每条价格都附带来源和核验日期。读取价格历史,重新定价以新的带日期条目出现,而非静默覆盖。比较竞品并查看账户或套餐信息。所有工具均为只读;服务器只提供数据,不代理流量,也不在运行时选择模型。
- 适用场景
- 适合让助手比较模型成本或能力、查询某模型当前或历史价格,或判断某项任务最便宜的服务商选项,无需离开对话去查价格网站。
- 运行要求
- 远程 streamable HTTP 端点,无需本地包或运行时。需要 Modelglass 账户和 API 密钥,以 bearer 令牌放在 Authorization 请求头中发送;可在服务商网站注册获取免费密钥。需要能访问该端点的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Modelglass,将其添加到工作区。
- 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
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:
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
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版本历史
1- v1.0.2最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分