Modelglass

io.github.ModelglassPublished by GitHub account Modelglassv1.0.2Updated Oct 24, 2026

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

VerifiedStreamable HTTPWeb executableData & AnalyticsAI & ML

Overview

AI-generated overview

A remote MCP server exposing sourced AI-model pricing and capability data so an assistant can compare models and find the cheapest capable option.

What you can do
Look up AI models with their pricing and capability data across image, video, audio and LLM models, each price carrying a source and verification date. Read pricing history, where repricing appears as new dated entries rather than overwrites. Compare competitors and check account or tier information. All tools are read-only; the server supplies data and does not proxy traffic or choose a model at runtime.
When to use it
Useful when you want an assistant to compare model costs or capabilities, check current or historical prices for a model, or decide which provider option is cheapest for a task, without leaving the chat to consult a pricing site.
Requirements
A remote streamable HTTP endpoint; no local package or runtime. A Modelglass account and API key are required, sent as a bearer token in the Authorization header; a free key is available by signing up on the provider's site. Network access to the endpoint.
Before you install
The Authorization header carries a secret API key, so keep it out of shared logs and configuration. The README describes the API as paid, so check plan and billing terms before relying on it. Tools are described as read-only, but pricing data is third-party and should be checked against the cited sources before cost decisions.

Installation

In SourceWeft

  1. Open Modelglass in the dashboard and add it to a workspace.
  2. Connect Authorization token credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.Modelglass%2Fmodelglass/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "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.

Source: README.md at commit e748acd

Tools

0
This server asks for a credential such as an API key, so SourceWeft could not read its tools without one and has not indexed them.

Version history

1
  1. v1.0.2LatestSep 16, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts