Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
LLM pricing where every rate carries its source and the date it was last confirmed.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://promptspend.dev/mcp打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"promptspend": {
"command": "npx",
"args": [
"-y",
"@promptspend/mcp"
]
}
}
}在终端中运行这条命令
claude mcp add --transport http promptspend https://promptspend.dev/mcpclaude mcp add promptspend -- npx -y @promptspend/mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"promptspend": {
"url": "https://promptspend.dev/mcp"
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"promptspend": {
"command": "npx",
"args": [
"-y",
"@promptspend/mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"promptspend": {
"type": "http",
"url": "https://promptspend.dev/mcp"
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"promptspend": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@promptspend/mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://promptspend.dev/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
工具名称和描述与服务器在 2026年11月7日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
get_priceList price for one LLM in USD per million tokens, with its source and last-confirmed date. Returns disputed=true when two sources disagree, and close matches when the model is unknown. To cost a workload, use estimate_cost.
estimate_costMonthly cost of a described workload, or of measured usage, on each model. Accounts for history compounding, cache writes, long-context tiers and reasoning tokens. Use this instead of multiplying prices by hand.
find_cheaperCheaper models that score at or above the given one on capability, costed on the same workload. Returns candidates to test, not a recommendation.
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 AndrewAvery7 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
在 69 毫秒内响应(HTTP 200)
无需登录
已读取 3 个工具描述,未发现针对 AI 的隐藏指令
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(0.1.11)于9天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
LLM pricing for coding agents — every price carries its source and the date it was last confirmed.
There are already MCP servers that will tell you what a model costs. This one tells you where the number came from, when it was last checked, and which numbers two sources disagree about. And it will cost a described workload rather than just quoting a rate, because the arithmetic between "$3 per million tokens" and "$4,955 a month" is where nearly every estimate goes wrong.
claude mcp add promptspend -- npx -y @promptspend/mcp
No API key. No account. MIT.
Every price comes with its paperwork.
// Real output, not an illustration: `get_price` for gpt-5 on 2026-08-03.
{ "model": "gpt-5", "input_per_million_usd": 1.25, "output_per_million_usd": 10, "provenance": { "source": "vendor", "source_description": "Hand-verified against the provider's own published pricing page.", "last_verified": "2026-08-03", "disputed": false, "upstream_stale": false, "confidence": "Confirmed against the provider's own pricing page on 2026-08-03.", "verified_url": "https://developers.openai.com/api/docs/pricing", }, }
last_verified moves as rows are re-read, so the date here will age; the shape will not. What is worth checking is that the block is present at all — a price without one is a price you cannot audit.
That matters more to an agent than to a person. Someone reading a web page sees the interface around the number and forms their own view of how much to trust it. A model handed a bare figure has nothing, and will repeat it with whatever confidence the phrasing implies. Given the date and the source it can say _"as of 1 August, per OpenAI's pricing page"_ instead of stating a number as though it were timeless.
And it says when it does not know. Where two sources disagree and no human has adjudicated, the response is marked disputed: true with both figures, rather than quietly picking one:
DISPUTED — two sources disagree on this price and no human has adjudicated it.
The figure shown is the primary feed's number, last confirmed 2026-08-02. Treat it as indicative and say so.
estimate_cost runs promptspend.com's own cost engine — imported, not reimplemented, so a number this server reports and a number the website shows cannot drift apart. A test asserts it.
It accounts for the things hand-rolled estimates miss:
_"What would a support assistant cost at 4,000 conversations a day on GPT-5
versus DeepSeek V3.2?"_
MCP tool definitions are loaded into your context on every turn, for as long as the server is connected. A heavy server can add thousands of tokens to every message, which is why the advice going round is to prefer a CLI for read-only data.
A pricing server that quietly taxes every turn, to tell you about token costs, would be an easy and deserved joke. So:
This server adds ~897 tokens per turn. Three tools, short descriptions,
budgeted at 1,200 and checked in CI by
npm run check:footprint.
If that number ever stops being true, the build fails — the README figure is asserted against the actual manifest, not typed once and trusted.
| Tool | What it answers |
|---|---|
get_price | What does this model cost, and how much should I trust that? With as_of, what did it cost then? |
estimate_cost | What will _my_ workload cost per month on each? With usage, what would these totals have cost? |
find_cheaper | What could I test that is cheaper and not obviously worse? |
`get_price` with `as_of: "2026-09-15"` returns the rate PromptSpend published on that UTC day, read from the price history — useful for checking an old invoice. A day before PromptSpend began tracking the model is answered "not tracked", never with the first rate seen, and a later correction (PromptSpend had been reading the wrong page) is returned with the figure, so an agent does not present a misreading as what the vendor charged.
`estimate_cost` with `usage` prices measured totals — say a month from a usage export — instead of a described workload: { "input": 1200000, "output": 300000, "cache_read": 4000000, "cache_write": 200000 }, where input excludes cache reads. A model without a published cache rate is billed at its full input rate (and the response says so), and a model with a long-context tier is flagged, because totals cannot show which requests crossed it.
find_cheaper returns candidates to test, never a recommendation — the capability index behind it is an illustrative estimate, not a benchmark, and the response says so.
Claude Code
claude mcp add promptspend -- npx -y @promptspend/mcp
Cursor / Claude Desktop / Windsurf — in mcp.json:
{ "mcpServers": { "promptspend": { "command": "npx", "args": ["-y", "@promptspend/mcp"] } } }
No install — hosted at https://promptspend.dev/mcp. Same tools, same answers, imported from this package rather than copied. In Claude.ai or ChatGPT, add it as a custom connector with that URL; in Claude Code:
claude mcp add --transport http promptspend https://promptspend.dev/mcp
The hosted server receives your tool arguments (a model name, a workload's token counts) to answer them, and stores none of them; it needs no key or account. Like the rest of the pricing API at promptspend.dev, it has Cloudflare's request logging switched on: each entry records the time, the address (/mcp), request headers and connection details such as an IP address, kept for up to seven days. PromptSpend's code never logs the arguments themselves. Run the npm package instead if a workload description should never leave your machine.
Or as an Agent Skill, which costs context only when a price question comes up rather than on every turn: see skills/.
catalog_status warning written for the agent to relay. Past that bounded grace period, the tools return an error rather than an old number.Standard-tier, global-endpoint list prices in USD. Not modelled: regional and data-residency premiums, priority tiers, server-side tool-call fees, fine-tuning, and negotiated or committed-use discounts.
The same catalog is also in free native apps for iPhone and iPad and Android.
Part of PromptSpend — MIT. Found a wrong price? That is the most serious class of bug this project can have. Open an issue.