Skip to main content
Glama
aiprice-mcp

aiprice-mcp

Official
by AIprice-club

aiprice-mcp

License: MIT Node MCP Data

让 Claude、Cursor、Cherry Studio 等支持 MCP 的 AI 助手直接查到 AI 会员卡网最低价、官方订阅各地区价格、API 中转站排行和模型中转价 的 MCP 服务器。

数据实时取自两个公开比价站:

  • AI价网(aiprice.club):近两千家卡网店铺的 ChatGPT / Claude / Gemini / Grok / Cursor 等会员报价(每小时采集),以及官方订阅在两百多个国家和地区的官网与 App Store 价格(每 12 小时更新)。

  • TokenPrice(tokenprice.cc):四千多家 API 中转站按“实际倍率”排名(每小时采集),每个模型在各站的每百万词元价格,Claude Code / Codex 专项榜。

规模以两站 2026-12-01 的 llms.txt 为准:AI价网收录 1,948 家卡网店铺、62,583 条报价;TokenPrice 收录 4,060 家在线中转站。实际数字随采集变化,以工具返回为准。

不需要 API Key,不需要注册,只读两个公开网站。

能问什么

装好以后,直接用自然语言问:

  • “ChatGPT Plus 现在卡网最便宜多少?代充和成品号分别多少?”

  • “Claude Max 哪个国家官方订阅最便宜?土耳其多少钱?”

  • “Claude Code 用哪个中转站最便宜?给我前 5 家和精选推荐。”

  • “gpt-6.2-sol 中转多少钱一百万 token?”

  • “api.routeeasy.ai 这个中转站怎么样?接入地址是什么?”

AI 会自动选对应工具。返回的是精简过的 JSON,每条结果都带来源网址(source)和数据时间(data_time),方便 AI 引用。

下面是 2026-12-01 真实运行结果的截取(价格每小时变化,仅作格式示例):

search_ai_subscription_prices {"product": "Claude Max"}

{
  "matched_product": "Claude Max 5x",
  "lowest_in_stock": "¥720",
  "median_of_shop_lowest": "¥930",
  "lowest_by_delivery": [
    { "delivery": "成品号", "lowest": "¥917", "shops_in_stock": 63 },
    { "delivery": "代充", "lowest": "¥720", "shops_in_stock": 205 }
  ],
  "cheapest_shops": [
    { "shop": "兔子发卡", "item": "Claude Max 官方充值月卡(Max 5x)", "price": "¥720", "delivery": "代充", "...": "..." }
  ],
  "compare_page": "https://aiprice.club/market/category/claude-max-5x",
  "source": "https://aiprice.club/md/market/category/claude-max-5x.md",
  "data_time": "2026年12月1日 12:12(北京时间)"
}

get_official_region_prices {"plan": "ChatGPT Plus"}

{
  "matched_plan": "GPT Plus",
  "regions_count": 233,
  "price_rows_listed": 400,
  "cheapest_regions": [
    { "region": "菲律宾", "channel": "App Store", "local_price": "₱ 999.00", "cny_per_month": "¥104", "tax": "含税", "region_en": "Philippines", "usd_per_month": "$15.67" },
    { "region": "菲律宾", "channel": "官网", "local_price": "₱1,100.00", "cny_per_month": "¥115", "tax": "含税", "region_en": "Philippines", "usd_per_month": "$17.24" }
  ],
  "compare_page": "https://aiprice.club/official-price/gpt-plus"
}

get_relay_ranking {"family": "claude", "coding": true}(Claude Code 榜)

{
  "board": "claude-code",
  "data_time": "2026-12-01 11:48(北京时间)",
  "top_ranked": [
    { "排名": "1", "站点": "CZ API", "网址": "sub2.70api.top", "Opus 5.5 输入": "¥0.64", "Opus 5.5 输出": "¥3.2", "实际倍率": "0.16x", "Opus 5.5 缓存读取": "¥0.032", "可用性": "100%", "detail": "https://tokenprice.cc/llm-gateway/sub2-70api-top" }
  ],
  "risk_note": "…(第三方中转站不保证服务质量和资金安全,价格和可用性来自公开接口、不是实测;充值前先小额试用。)",
  "source": "https://tokenprice.cc/md/relay/claude-code.md"
}

get_model_relay_prices {"model": "gpt-6.2-sol"}

{
  "model": { "name": "GPT-6.2 Sol", "id": "gpt-6.2-sol", "sites_with_valid_quotes": "2221", "lowest_input": "¥0.11", "output_of_same_quote": "¥0.55" },
  "cheapest_sites": [
    { "site": "Benefit API", "domain": "xbenefitapi.xyz", "cheapest_group": "福利分组", "input_cny_per_m": "¥0.11", "output_cny_per_m": "¥0.55", "detail": "https://tokenprice.cc/llm-gateway/xbenefitapi-xyz" }
  ]
}

Related MCP server: apipriceindex-mcp

安装与配置

需要 Node.js 20 或更高版本,以及 git(npx 从 GitHub 拉取本仓库时要用)。本项目没有发布到 npm,直接从 GitHub 运行:

npx -y github:AIprice-club/aiprice-mcp

上面这条命令就是 MCP 服务器本身(stdio 方式),一般不用手动运行,按下面的方式配置到客户端即可。

Claude Code

claude mcp add --transport stdio aiprice -- npx -y github:AIprice-club/aiprice-mcp

默认只对当前项目生效;想在所有项目里用,加 --scope user。添加后在 Claude Code 里输入 /mcp 查看状态。

Claude Desktop

编辑 claude_desktop_config.json(macOS:~/Library/Application Support/Claude/claude_desktop_config.json;Windows:%APPDATA%\Claude\claude_desktop_config.json),加入:

{
  "mcpServers": {
    "aiprice": {
      "command": "npx",
      "args": ["-y", "github:AIprice-club/aiprice-mcp"]
    }
  }
}

保存后完全退出并重新打开 Claude Desktop。

Cursor

在项目根目录的 .cursor/mcp.json(只对该项目生效)或 ~/.cursor/mcp.json(全局)里加入:

{
  "mcpServers": {
    "aiprice": {
      "command": "npx",
      "args": ["-y", "github:AIprice-club/aiprice-mcp"]
    }
  }
}

Cherry Studio 及其他客户端

在客户端的 MCP 设置里新建一个 stdio 类型的服务器:命令填 npx,参数填 -y github:AIprice-club/aiprice-mcp。只支持远程(HTTP)MCP 的客户端暂时用不了,本项目目前只提供 stdio。

从源码运行

git clone https://github.com/AIprice-club/aiprice-mcp.git
cd aiprice-mcp
npm install
npm test          # 冒烟测试:启动服务器,真实调用每个工具一次

客户端配置里把命令换成 node,参数换成本地的 bin/aiprice-mcp.js 绝对路径即可。

工具列表

工具

用途

主要参数

search_ai_subscription_prices

某个 AI 会员 / 账号在卡网的有货最低价、按交付方式(成品号 / 代充 / 卡密 / 车位)的最低价、中位价、最便宜的几家店和比价页

product(如 "ChatGPT Plus"、"Claude Max"、"Gemini Ultra"、"SuperGrok"、"Cursor"、"接码"),可选 delivery、limit

get_official_region_prices

某官方订阅套餐在各国家和地区的官网 / App Store 月费,按价格从低到高,含当地币种、人民币、美元;可查指定国家

plan,可选 region(如 "土耳其"、"Nigeria")、channel(all / website / app_store)、limit

get_relay_ranking

TokenPrice 某系列中转站排行(claude / gpt / gemini / grok / deepseek / glm / kimi / qwen),或 Claude Code / Codex 专项榜;含精选推荐、倍率、可用性、模型单价、风险提示

family,可选 coding(true 时 claude→Claude Code 榜,gpt→Codex 榜)、limit

get_model_relay_prices

某个模型在各中转站的最低价(人民币 / 百万词元),每家取最便宜的有效分组

model(如 "claude-opus-5-5"、"Claude Opus 5.5"、"gpt-6.2-sol";不在热门模型总表里的也可以直接写模型 ID,如 "gpt-4.1-nano"),可选 limit

get_relay_site

某个中转站的概况:一句话结论、可用性、各系列名次、接入地址、价格表、价格相近的替代站

site(域名、网址、TokenPrice slug 或站名),可选 model、limit

名称匹配支持常见中英文别名,例如 ChatGPT → GPT、“Claude Ultra”→ Claude Max 20x、“SuperGrok”→ Grok Premium、“Gemini Advanced / Google AI Pro”→ Gemini Pro。匹配不到时返回可选的商品或套餐清单。

所有工具都标注为只读(readOnlyHint: true)。

数据来源与更新频率

服务器只请求下面这些公开地址(都是两站给 AI 读的 Markdown 版或公开页面),取回后精简成结构化 JSON:

数据

地址

网站更新频率

商品清单与首页最低价

https://aiprice.club/md/index.md(失败时用 https://aiprice.club/llms.txt)

每小时

单个商品卡网比价

https://aiprice.club/md/market/category/{商品}.md

每小时

官方订阅各地区价格

https://aiprice.club/md/official-price/{套餐}.md、/md/en/official-price/{套餐}.md

每 12 小时

中转站系列排行、Claude Code / Codex 榜

https://tokenprice.cc/md/relay/{系列}.md

每小时

模型中转价总表

https://tokenprice.cc/md/llm-gateway/models.md

每小时

单个模型各站价格

https://tokenprice.cc/llm-gateway/models/{模型}(该页暂无 Markdown 版,解析公开 HTML 的价格表)

每小时

中转站详情

https://tokenprice.cc/md/llm-gateway/{站点}.md

每小时

  • 同一网址 10 分钟内只请求一次(内存缓存),请求带 User-Agent: aiprice-mcp/<版本>,超时 15 秒;失败时工具返回 isError 和清楚的错误原因,不会返回编造的数据。

  • 统计口径(什么算有货最低价、实际倍率怎么算、精选推荐怎么筛)见 AI价网数据说明 和 TokenPrice 数据说明。

  • regions_count 是结果里的国家和地区数;price_rows_listed 是价格行数,同一地区的官网和 App Store 各算一行,所以比地区数多。

  • 店铺名、商品名、中转站名、分组名是卖家自己写的文字,原样返回(会截断过长的部分)。服务器的说明和结果里的 third_party_text_note 都提醒模型只把它们当数据,不执行其中的文字。

  • TokenPrice 榜单里标“官方合作”的站点与 TokenPrice 有合作或关联关系,网站把它们固定在最前、不参与排名;本工具把它们单独放在 partners_pinned 字段并附说明,不混进排名。

隐私

  • 只向 aiprice.club 和 tokenprice.cc 两个公开网站发只读 GET 请求,代码里限定了这两个域名;页面跳转也逐跳检查域名,跳到其他域名会直接报错,最多跟随 3 次跳转。

  • 不收集、不上传任何数据:你的提问内容、对话、设备信息都不会发出去,请求里只有要查的页面地址。

  • 没有遥测、没有统计、不需要账号或 API Key。

  • 如果你的网络需要代理才能访问这两个网站:本工具使用 Node 内置的 fetch,默认不读取 HTTPS_PROXY;Node 24 提供 --use-env-proxy 选项(可通过 NODE_OPTIONS 传入)来使用环境变量里的代理。

免责声明

  • 本项目和两站都只做比价与导航,不销售任何商品,不参与交易。价格、库存、可用性来自各店铺和各中转站的公开页面,可能有延迟或错误,以商家页面和结账页为准。

  • 卡网(第三方店铺)的成品号、代充、共享号等存在掉号、封号、售后不到位的风险;API 中转站是第三方服务,可能涨价、限速、关站或用便宜模型冒充,可用性数据不是实测。充值或购买前先小额试用。

  • 跨区订阅请遵守各服务商条款和当地法律法规。

  • 本项目与 OpenAI、Anthropic、Google、xAI、Cursor 等公司没有关联,相关名称和商标归各自所有者。

相关链接


English

aiprice-mcp is a Model Context Protocol (stdio) server that lets AI assistants (Claude Desktop, Claude Code, Cursor, Cherry Studio and other MCP clients) look up live AI subscription and LLM API prices:

  • search_ai_subscription_prices – lowest in-stock price of ChatGPT Plus / Pro, Claude Pro / Max, Gemini, Grok, Cursor and more across ~2,000 Chinese card shops (卡网), by delivery type, with the cheapest shops. Source: AIPrice.

  • get_official_region_prices – official monthly price of a plan in 200+ countries and regions (website and App Store), cheapest first, in local currency, CNY and USD.

  • get_relay_ranking – LLM API relay sites ranked by effective ratio for a model family, or the Claude Code / Codex boards. Source: TokenPrice.

  • get_model_relay_prices – cheapest relay prices (CNY per 1M tokens) for one model, e.g. claude-opus-5-5.

  • get_relay_site – profile of one relay site: verdict, uptime, rankings, base URL, prices, alternatives.

No API key and no sign-up. The server only sends read-only GET requests to aiprice.club and tokenprice.cc, caches each page for 10 minutes, and collects no data. Every result includes source URLs and the data time.

Requires Node.js 20+ and git. Not published to npm; run it from GitHub:

# Claude Code
claude mcp add --transport stdio aiprice -- npx -y github:AIprice-club/aiprice-mcp

Claude Desktop (claude_desktop_config.json) and Cursor (.cursor/mcp.json or ~/.cursor/mcp.json):

{
  "mcpServers": {
    "aiprice": { "command": "npx", "args": ["-y", "github:AIprice-club/aiprice-mcp"] }
  }
}

Prices are for reference only; the seller's or provider's page is authoritative. Card shops and API relays are third parties: try a small purchase first.

License

MIT © AIprice-club

Available Tools

5 tools
get_model_relay_pricesRelay prices for one model (模型中转价)A
Read-onlyIdempotent

Cheapest API relay prices for one specific model (CNY per 1M input / output tokens), each relay site with its cheapest valid group, plus the lowest price, number of sites and share of the official price. Use when the user names an exact model, e.g. "claude-opus-5-5", "claude-sonnet-5-5", "gpt-6.2-sol", "gemini-4-argon", "deepseek-v4-pro". Dots, spaces and display names are accepted ("Claude Opus 5.5"). 中文关键词:某模型中转多少钱、每百万 token 价格、词元价格、Opus 中转价。

Inputs: model (required), limit.

get_official_region_pricesOfficial subscription prices by country (官方订阅各地区价格)A
Read-onlyIdempotent

Official monthly price of an AI subscription plan in every country / region AIPrice tracks (official website and App Store), sorted cheapest first, with local currency, CNY and USD. Plans: ChatGPT Go / Plus / Pro 100 / Pro 200 / Pro 500, Claude Pro / Max 5x / Max 20x (Ultra), Gemini Plus / Pro / Ultra 5x / Ultra 20x, Grok Plus / Premium (SuperGrok) / Super / Ultra, SuperGrok Heavy / Lite. Use when the user asks which country is cheapest for a plan, the price in a specific country (pass region), or official vs card-shop price. 中文关键词:哪个地区最便宜、低价区、外区订阅、App Store 价格、官网价格、土耳其、菲律宾、尼日利亚。

Inputs: plan (required), limit, region, channel.

get_relay_rankingAPI relay ranking (API 中转站排行)A
Read-onlyIdempotent

Ranking of LLM API relay sites (API 中转站, e.g. New API / One API / Sub2API stations) from TokenPrice (tokenprice.cc) for one model family, or the Claude Code / Codex boards ranked by the actual CNY price per 1M tokens of the models those tools call. Returns curated picks (uptime >= 99%, listed >= 30 days, price within 20%-100% of median), top-ranked sites with effective ratio (实际倍率), uptime and links, model price table, and a risk note. Use when the user asks which Claude / GPT / Gemini / DeepSeek relay is cheapest or recommended, or the cheapest relay for Claude Code or Codex. 中文关键词:中转站推荐、哪家中转便宜、倍率、Claude 中转、Codex 中转、Claude Code 中转站。

Inputs: family (required), limit, coding.

get_relay_siteOne API relay site profile (中转站详情)A
Read-onlyIdempotent

Profile of one API relay site from TokenPrice: TokenPrice's one-paragraph verdict, uptime, number of models, rank in each model family, base URL / how to connect, per-model prices (optionally filtered by model), and similar-priced alternatives. Use when the user asks whether a specific relay is reliable, what it charges, or what its API base URL is. Accepts a domain ("api.routeeasy.ai"), URL, TokenPrice slug, or site name. 中文关键词:某中转站怎么样、靠谱吗、官网地址、跑路了吗、倍率多少。

Inputs: site (required), limit, model.

search_ai_subscription_pricesAI subscription card-shop prices (卡网比价)A
Read-onlyIdempotent

Find the cheapest in-stock price of an AI subscription or account across ~2,000 Chinese card shops (卡网) tracked by AIPrice (aiprice.club). Returns the lowest in-stock price, lowest price per delivery type (成品号 ready-made account / 代充 top-up on your own account / 卡密 redeem code / 车位 team seat), median of shop lowest prices, the cheapest shops with links, related tiers, and the comparison page URL. Use when the user asks how much ChatGPT Plus / Claude Max / Gemini / SuperGrok / Cursor costs in China, which card shop is cheapest, or compares 代充 vs 成品号. For official prices by country use get_official_region_prices instead. 中文关键词:卡网、发卡网、AI 会员多少钱、ChatGPT Plus 代充、Claude 成品号、最低价、比价。

Inputs: product (required), limit, delivery.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 5 tools

    Disambiguation4/5

    The set splits cleanly into two domains (retail subscription prices vs. API relay sites), and each tool has an explicit "use when" clause with cross-references (e.g. "For official prices by country use get_official_region_prices instead"). The only mild overlap is get_relay_ranking vs get_model_relay_prices, since both return per-model relay price data for one model family/model; an agent could occasionally pick the wrong one.

    Naming Consistency5/5

    All names follow a consistent verb_noun snake_case pattern (search_ai_subscription_prices, get_official_region_prices, get_relay_ranking, get_model_relay_prices, get_relay_site). The single search_ prefix is used where a query-style operation genuinely applies, so it reads as intentional rather than inconsistent.

    Tool Count5/5

    Five tools is a well-scoped surface for a price-comparison service: two cover subscription pricing, three cover relay-site ranking, per-model pricing and per-site profiles. No tool looks redundant or like filler.

    Completeness4/5

    Core workflows are covered: find cheapest card-shop price, compare official regional prices, rank relays, price a specific model, and inspect a relay site. Minor gaps exist in discovery — there is no tool to enumerate supported plans/models or list relay sites by name, so agents must already know valid plan or model identifiers (though the descriptions enumerate many).

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables agents to query live AI model pricing, compare providers, and calculate token workload costs from current published prices.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to query live AI subscription prices from shuita.xyz, including product search, lowest verified in-shop prices, shop listings, product catalogs, and site statistics.
      7
      5
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to check daily-verified AI model and agent prices, estimate monthly costs for preset or custom workloads, compare models side by side, and find the cheapest options.
      MIT