PromptSpend MCP server
io.github.AndrewAvery7 · Updated
LLM pricing where every rate carries its source and the date it was last confirmed.
At a glance
PromptSpend is an MCP server in the Dev Tools & Git category. It runs locally over stdio via `npx -y @promptspend/mcp`, and declares no required credentials. It scores B (77/100) on the MCP Skills Hub health score as of Oct 28, 2026.
One-click install
Opens your editor and pre-fills the config. Your editor will ask before adding it.
How to install PromptSpend in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install PromptSpend in Claude CodeAnthropic's agentic CLI
Add the server
bashclaude mcp add promptspend -- npx -y @promptspend/mcpVerify it's connected
bashclaude mcp listSharing it with your team?
Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).
Use it in a session
Ask Claude to use the tools this server exposes. It discovers them automatically.
How to install PromptSpend in Claude DesktopDesktop app (MCP config)
Open your MCP config
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json
Add this server
json{ "mcpServers": { "promptspend": { "command": "npx", "args": [ "-y", "@promptspend/mcp" ] } } }Restart Claude Desktop
The tools appear under the 🔌 menu once the app reloads.
How to install PromptSpend in CursorAI-first code editor
Create / edit .cursor/mcp.json in your project
json{ "mcpServers": { "promptspend": { "command": "npx", "args": [ "-y", "@promptspend/mcp" ] } } }Enable it
Cursor Settings → MCP → toggle the server on. Tools become available to the Composer/Agent.
How to install PromptSpend in Codex CLIOpenAI coding agent
Add to ~/.codex/config.toml
toml[mcp_servers.promptspend] command = "npx" args = ["-y", "@promptspend/mcp"]Run Codex
Codex loads MCP servers from config.toml on startup and exposes their tools to the agent.
How to install PromptSpend in WindsurfCodeium's agentic IDE
Edit ~/.codeium/windsurf/mcp_config.json
json{ "mcpServers": { "promptspend": { "command": "npx", "args": [ "-y", "@promptspend/mcp" ] } } }Reload
Windsurf → Cascade → refresh MCP servers. Cascade can now call the tools.
How to install PromptSpend in ClineVS Code autonomous agent
Open Cline → MCP Servers → Configure
Adds to cline_mcp_settings.json.
Add the server
json{ "mcpServers": { "promptspend": { "command": "npx", "args": [ "-y", "@promptspend/mcp" ] } } }
How to install PromptSpend in VS CodeCopilot / MCP support
Create .vscode/mcp.json
json{ "servers": { "promptspend": { "type": "stdio", "command": "npx", "args": [ "-y", "@promptspend/mcp" ] } } }Start it
VS Code shows a ▶ Start action above the server entry. Agent mode (Copilot Chat) can then use the tools.
What tools does PromptSpend expose?
This server runs as a local package. We only query remote servers for their tool list — asking this one would mean executing it, so its tools are listed in the documentation below.
What the code can do
Read from the published package source — never executed. Parsed 1 of 1 source file.
This server can read and write files and make network requests.
How it was published
- No provenance attestation — there is nothing linking this published artifact to a specific source commit.
- 1 npm maintainer — a single point of compromise · last published by andrewavery7.
Maintainer of this package and think something here is wrong? Tell us and we'll correct it.
Before you install
Signals gathered from the source repo and package registry — not a safety verdict.
What it can reach
- Runs code on your machine — Executes as a local process with your user's permissions, including filesystem access.
- Downloads at launch — The package is fetched from its registry each run unless you pin a version.
- Last commit today — Actively maintained.
- Repository created 2 months ago — Very new project with little track record yet.
- 1 GitHub stars — Very little community usage so far.
Client compatibility
Health score
B · 77Maintenance, adoption, transparency and packaging — not a safety audit. How this is calculated
- Maintenance30%100%
Last commit 0 days ago.
- Adoption20%9%
1 stars.
- Transparency20%75%
3/4: ✓ public source repo, ✓ declared license, ✓ documentation, ✗ discoverable tool list.
- Provenance15%100%
Package and registry entry point at the same repository.
- Packaging15%100%
Publishes a pinned version (0.1.9).
Documentation
Full README<b>Know the tab before you build.</b> Estimate, compare and understand what an AI feature will cost — from a catalog that re-checks itself every morning, so the numbers are never a year out of date.
<b>→ Open PromptSpend</b> · free · open source · no accounts, no ads · Writing: What LLM Cost Calculators Get Wrong · September 2026 Price Movement Report
https://github.com/user-attachments/assets/6bfecd10-84a9-408b-b08c-ff9481648692
<i>1 minute 37 — press play, and hit 🔊 to unmute (GitHub starts videos silent).</i> · Download the MP4
Why this exists
Every LLM cost calculator on the web has the same failure mode: it is a snapshot. Someone builds it, hard-codes a dozen model prices, and within a few months the entire premise is wrong — the models it compares have been superseded and the prices it quotes no longer exist.
PromptSpend is built the other way round. The pricing pipeline is the product; the calculator is what sits on top of it. Every morning a GitHub Action re-fetches the catalog from independent sources, merges them under an explicit trust order, runs sanity checks, and either commits the result or opens a pull request for a human. Capture patterns are family-level, so a brand-new model version is picked up automatically without anyone touching code.
What it does
- Receipt — copy a fully visible, one-response cost-audit object into an existing AI conversation.
It estimates the visible workload, retrieves current PromptSpend prices, names the two largest cost drivers and suggests cheaper models worth testing without pretending price proves equal quality.
- Estimate — describe one interaction (paste your real prompt or move the sliders), set your scale,
and see the monthly, yearly, per-user and margin numbers for up to four models side by side.
- Compare — every tracked model on a price-versus-capability value map, plus a sortable catalog you
Excerpt — the full document is on GitHub.
Alternatives to PromptSpend
- EverythingA · 88Reference and test server exercising every MCP feature — prompts, resources, tools and sampling. Useful for building your own.
- GitHitsA · 88Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.
- Atlassian (browser SSO)A · 80Jira and Confluence behind SSO via your own browser session: every mcp-atlassian tool, no API token
- MemoryCombB · 71One memory for every AI: Claude, ChatGPT and more share a memory that lives on your computer.
Maintain PromptSpend? Add a badge to your README
Shows its health grade, and links readers to install steps for every client.
[](https://mcp-skills-hub.vercel.app/mcps/io-github-andrewavery7-promptspend)Catalog data refreshed . Something wrong? Report it.