modelglass

MCP serverAI & models

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

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use modelglass

From the project's README

As published by modelglass/modelglass-vscode in README.md.

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.

Development

npm install                              # installs + links all three workspace packages
npm run typecheck                        # all packages
npm run test                             # all packages (packages without a test script are skipped)
npm run build                            # all packages

# per-package:
npm run build --workspace packages/router
npm 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 scott@modelglass.com.au.


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

Signals

GitHub stars
1
Last commit
Aug 2026
Advanced
Delivery
modelglass MCP server → your ahel gateway (mcp.ahel.ai) → every connected AI client.
Catalog kind
mcp-server
Gateway key
io-github-modelglass-modelglass
Source
github.com/modelglass/modelglass-vscode
Hosted endpoint
https://modelglass-api.vercel.app/mcp