io.github.Modelglass/modelglass

Official registry AI and agents

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

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
Claude Code
claude mcp add --transport http modelglass 'https://modelglass-api.vercel.app/mcp' --header 'Authorization: <Bearer <api-key>. Get a free key at https://modelglass.com.au/signup>'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "modelglass": {
            "type": "http",
            "url": "https://modelglass-api.vercel.app/mcp",
            "headers": {
                "Authorization": "<Bearer <api-key>. Get a free key at https://modelglass.com.au/signup>"
            }
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. modelglass-vscode
  2. What Modelglass is
  3. What this repo is
  4. Development
  5. Contributing
  6. Talk to us

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.

= 1.104">

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.

Frequently asked questions

What is io.github.Modelglass/modelglass?

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

How do I install io.github.Modelglass/modelglass?

It runs as a remote server. In Claude Code: claude mcp add --transport http modelglass 'https://modelglass-api.vercel.app/mcp' --header 'Authorization: <Bearer <api-key>. Get a free key at https://modelglass.com.au/signup>'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.Modelglass/modelglass need an API key?

Yes. It expects Authorization, which you set in its configuration.

Is io.github.Modelglass/modelglass open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains io.github.Modelglass/modelglass?

It is published by Modelglass. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.