Agentโ™ฅ๏ธŽAge
Catalog

PromptSpend

Official

by AndrewAvery7 ยท TypeScript

LLM pricing where every rate carries its source and the date it was last confirmed.

@promptspend/mcp

@promptspend/mcp is an MCP server that provides LLM pricing for coding agents. It reports where each price originates and the date it was last confirmed, including cases where two sources disagree. Unlike rate-only outputs, it can price a described workload by applying the underlying arithmetic behind token and monthly estimates.

๐Ÿ› ๏ธ Key Features

  • LLM pricing with per-rate source attribution
  • Last-confirmed date for pricing numbers
  • Handles conflicting values from two sources
  • Prices a described workload using token/month arithmetic

๐Ÿš€ Use Cases

  • Estimating coding-agent costs from tokens and other workload inputs
  • Auditing LLM pricing by tracing the number to a source and check date
  • Detecting discrepancies when multiple pricing sources disagree

โšก Developer Benefits

  • No API key or account required (MIT)
  • Works via MCP, including an example install command for claude mcp add promptspend
  • Fits developer workflows and tooling (includes topics like token counting and cost estimation)

โš ๏ธ Limitations

  • The provided excerpt does not specify supported models, output formats, or any particular tool list or toolCount.

Topics

ai-costsanthropiccloudflare-workerscost-estimatorllmllm-pricingopenaipricing-apitypescriptcost-optimizationdeveloper-toolsgeminiopen-datatoken-counterclaudemcpmodel-context-protocolvscode-extensionllm-apillm-cost