v0.7.3 — model_info MCP tool
[0.7.3] — 2026-06-29
Added — model_info MCP tool
Static lookup tool returning canonical Claude model metadata. No JSONL scan, no network call — just an in-process table sourced from Anthropic platform docs.
Per-model fields:
id,displayName,family(opus/sonnet/haiku/fable/mythos),generation(current/legacy/deprecated)contextWindow,maxOutputTokenspricing(input/output per MTok)capabilities(vision, extendedThinking, adaptiveThinking)knowledgeCutoff,trainingDataCutoffnotes(special quirks, EOL dates)
Usage:
model_info()— list all 10 known modelsmodel_info({ model: "claude-opus-4-7" })— single lookup (date suffix + [1m] stripped)model_info({ generation: "current" })— filter by lifecycle
Refactored
- Extracted canonical model table to
src/parser/model-metadata.ts(= single source of truth shared betweencontext-usage.tsandmodel_infotool). detectContextLimitnow delegates tolookupModelfrom the shared table.
Tests
- 248 → 263 (+15 covering normalization, lookup, table integrity).