{"$schema":"https://static.modelcontextprotocol.io/schemas/mcp-server-card/v1.json","name":"whale-ai-mcp","title":"Whale AI Unified Gateway MCP Server","description":"零本地安装的远程只读 MCP 服务：实时检索模型报价、测算 Token 与缓存成本、查看 24h 可用率、一键生成客户端接入配置（支持国内免梯 cn.anthropicus.com 与海外源站 api.anthropicus.com 双线自选）。","version":"1.0.0","homepageUrl":"https://api.anthropicus.com/mcp-server","documentationUrl":"https://docs.anthropicus.online/","remotes":[{"type":"streamable-http","url":"https://api.anthropicus.com/mcp","headers":[{"name":"Authorization","description":"Optional `Bearer sk-...` API Key to unlock read-only `get_key_quota` and `get_key_models` tools.","isRequired":false,"isSecret":true}]},{"type":"streamable-http","url":"https://cn.anthropicus.com/mcp","headers":[{"name":"Authorization","description":"Optional `Bearer sk-...` API Key to unlock read-only `get_key_quota` and `get_key_models` tools.","isRequired":false,"isSecret":true}]}],"capabilities":{"tools":[{"name":"search_models","description":"按关键词、厂商、协议、档位、最高输入单价或缓存支持检索 Whale AI 实时可用模型目录，并附带人民币折算价与近 24 小时通道可用率。","readOnly":true},{"name":"get_model_pricing","description":"查询指定模型的精确计费明细，包含输入/输出百万 Token 美元价、Prompt Cache 读写倍率、人民币分组结算汇率与兼容协议。","readOnly":true},{"name":"estimate_api_cost","description":"按输入/输出/缓存读写 Token 用量测算单次与 30 天月度人民币及美元成本，自动计算 Prompt Cache 节省比例并对比订阅套餐给出最省钱推荐。","readOnly":true},{"name":"get_service_status","description":"查询 Whale AI 近 24 小时各通道真实可用率、P50/P95 首字延迟（TTFT ms）、双线网关地址（国内免梯 cn / 挂梯直连 api）及近期维护事件。","readOnly":true},{"name":"search_docs","description":"全文检索 Whale AI 开发文档、双线免梯接入说明、订阅与按量分账规则、Prompt Cache 降本实践及 401/429/529 报错排障指南。","readOnly":true},{"name":"generate_integration_config","description":"一键生成 Claude Code、Codex、Cursor、Cherry Studio、CC-Switch、OpenCode、Pi、Python SDK 或 cURL 的标准接入配置，支持自主选择「国内免梯直连 (cn.anthropicus.com)」或「挂梯/海外直连 (api.anthropicus.com)」。","readOnly":true},{"name":"get_key_quota","description":"【需附带 Authorization: Bearer sk-...】只读查询当前 API Key 的名称、剩余美元额度、已消耗额度、是否不限额及过期时间（零扣费、密钥不落盘）。","readOnly":true},{"name":"get_key_models","description":"【需附带 Authorization: Bearer sk-...】只读查询当前 API Key 权限范围内可调用的模型 ID 列表（零扣费、支持关键词过滤）。","readOnly":true}],"resources":[{"uri":"whale://catalog/models","name":"Whale AI 全站模型与实时报价快照"},{"uri":"whale://status/24h","name":"Whale AI 近 24 小时通道可用率与延迟快照"},{"uri":"whale://docs/quickstart","name":"Whale AI 双线免梯与多协议快速接入文档"},{"uriTemplate":"whale://docs/integrations/{client}","name":"按客户端动态生成 Whale AI 集成教程"}],"prompts":[{"name":"pick-best-model","description":"联动 search_models、get_service_status 与 estimate_api_cost，根据业务场景与月度预算给出「主力强推理模型 + 高并发低价子模型」组合及账单测算。"},{"name":"migrate-to-whale","description":"根据你当前使用的网关或工具及网络环境（国内无梯 vs 海外/挂梯），自动选定最优线路、生成零改动替换配置并测算月度节省金额。"}]}}