PromptSpend
LLM price lookups with source and last-verified date, plus workload cost estimates
- Pricing
- Open source
- Platforms
- CLI, API
- Runs
- Locally or Remotely
- Version
- 0.1.11
- Listing updated
- 2 days ago
About PromptSpend
PromptSpend is an open-source MCP server for ai models and llm tooling. It can run locally on your machine or as a hosted remote server.
Most price lists give a number and nothing else. This server attaches a provenance block to each rate: where it came from (such as the provider's own pricing page), the date it was last confirmed and a URL to check. When two sources disagree and nobody has adjudicated, the response is marked disputed and shows both figures instead of quietly choosing one.
Its estimate_cost tool runs the same cost engine as the promptspend.com website, imported rather than reimplemented, and a test asserts that the two agree. The README says it accounts for conversation history re-sent each turn, cache writes costing more than input, per-request long-context tiers, billable reasoning tokens and separately priced output.
The author also budgets for the server's own weight: three tools with short descriptions, about 897 tokens added per turn, checked in CI. It installs with npx, needs no API key or account and is MIT-licensed, and a remote endpoint is also listed.
Install
Run in a terminal
claude mcp add --transport http promptspend https://promptspend.dev/mcpAdd to Settings → Connectors → Add custom connector
https://promptspend.dev/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"promptspend": {
"url": "https://promptspend.dev/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"promptspend": {
"type": "http",
"url": "https://promptspend.dev/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"promptspend": {
"serverUrl": "https://promptspend.dev/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"promptspend": {
"type": "http",
"url": "https://promptspend.dev/mcp"
}
}
}Tools this server provides (2)
Taken from the project documentation; the running server may differ.
- get_price
- Input and output price per million tokens for a model, with provenance.
- estimate_cost
- Estimate the cost of a described workload using the promptspend.com cost engine.
What it does
- Sourced prices
- get_price returns input and output rates per million tokens with source, date and URL.
- Disputed flag
- Conflicting sources are marked disputed with both figures shown.
- Workload costing
- estimate_cost prices a described workload, not just a per-token rate.
- Shared cost engine
- Uses the website's own engine so MCP and web numbers cannot drift.
- Small footprint
- Three tools, about 897 tokens per turn, checked in CI.
- No account needed
- MIT licensed and runs without an API key.
Good for
- Compare what a support assistant costs on two different models
- Cite a model's price with the date it was verified
- Spot prices that sources disagree about before budgeting
- Estimate monthly spend for a chat product with growing history
Pricing
Open source
MIT licensed; no API key or account
Prices change. Check promptspend.com before you buy.
PromptSpend FAQ
Do I need an API key?
No. The README says no API key and no account, and it is MIT licensed.
How do I install it?
Run claude mcp add promptspend -- npx -y @promptspend/mcp.
How many tokens does it cost my context?
The README puts it at about 897 tokens per turn, with a 1,200 budget enforced in CI.
What does estimate_cost account for?
History growth, cache write premiums, long-context tiers, reasoning tokens and separately priced output.
Is PromptSpend free?
Yes. PromptSpend is open source, so you can use and self-host it for free.
How do I add PromptSpend to Claude Code?
Run this command in your terminal: claude mcp add --transport http promptspend https://promptspend.dev/mcp
What are the best alternatives to PromptSpend?
The closest alternatives to PromptSpend are Claude Code Ultimate Guide, Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker and Quantivex Research.
Alternatives to PromptSpend

Claude Code Ultimate Guide
MCP serverMCP server for searching the Claude Code Ultimate Guide from any MCP client
Runs locally- Open source
- 6.5K GitHub stars
- AI models and LLM tooling

Solana MCP by Vybe
MCP serverRemote MCP server exposing the Vybe Solana API to AI clients and code editors
- 44 tools
- Remote
- 2.8K GitHub stars
- Finance and payments

Tapetide - Indian Stock Market MCP
MCP serverIndian NSE and BSE stock market data for AI assistants through 48 MCP tools
- 17 tools
- Remote
- Freemium
- 150 GitHub stars
- Finance and payments
Budget Tracker
MCP serverLocal MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling
- 14 tools
- Remote
- Freemium
- 2 GitHub stars
- Finance and payments

Quantivex Research
MCP serverStock scores, what a price assumes, earnings quality and quiet profit revisions
- 11 tools
- Remote
- Free
- Finance and payments

Provyan
MCP serverBacktested crypto signal results on 94 coins, with luck odds and sources
- 4 tools
- Remote
- Free
- Finance and payments