ai-price-index-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| current_priceA | Today's input and output price per million tokens (usd_per_mtok) for a model id, with the first-party source. Accepts short or aliased ids (e.g. "claude-opus-4-8", "gpt-4o", "gemini-2.5-pro"). Pass provider to disambiguate a bare id shared across vendors. |
| price_onA | The input and output price per million tokens that was IN EFFECT on a given date (YYYY-MM-DD), with the source that proves it. This is the point-in-time lookup: use it to value past usage or to see how a price changed over time. covered=false means the date predates the model's recorded coverage. |
| compareA | Side-by-side input/output prices for several model ids on one date (today by default, or pass date as YYYY-MM-DD). Each row resolves independently; unknown ids are reported per row. |
| cost_from_usageA | Value a token rollup in USD at a point in time, using the shared cache multipliers (cache read 0.1x input, cache write 1.25x for 5m / 2x for 1h). tokens accepts input, output, cache_read, cache_write_5m, cache_write_1h. Defaults to today if no date is given. |
| list_modelsA | List the model ids known to the dataset, optionally filtered to one provider, each with its provider and aliases. Use this to discover valid ids for the other tools. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool serves a distinct purpose: compare for side-by-side price comparison, cost_from_usage for token cost calculation, current_price for today's price, list_models for model discovery, and price_on for historical price lookup. There is no functional overlap.
Names are all lowercase with underscores for multi-word terms (e.g., cost_from_usage, current_price). While not strictly verb-noun (compare is verb-only, price_on is noun-preposition), the pattern is consistent and readable, with no mixing of conventions.
Five tools is well-scoped for an AI pricing index: listing models, current and historical prices, comparison, and cost estimation. Each tool earns its place without unnecessary redundancy or shortage.
The tool set covers the core lifecycle: discovery, current price, historical price, comparison, and cost calculation. A minor gap is the lack of historical cost calculation using past multipliers, but this does not severely impair agent workflows.