# Whale AI — Unified LLM API Gateway & Remote MCP Server > 面向 AI Agent 与开发者的 0 注入透明大模型网关,兼容 Anthropic Messages、OpenAI Chat/Responses 与 Google Gemini 原生协议,提供「国内免梯直连」与「挂梯/海外源站直连」双线自主选择。 ## Dual-Track API & MCP Endpoints - Mainland China Direct (No VPN Required): https://cn.anthropicus.com - Mainland China Direct Remote MCP (Streamable HTTP): https://cn.anthropicus.com/mcp - Global / VPN Direct Origin: https://api.anthropicus.com - Global / VPN Remote MCP (Streamable HTTP): https://api.anthropicus.com/mcp ## Key Pages & Machine-Readable Discovery - [MCP Server Interactive Setup](https://api.anthropicus.com/mcp-server) - [MCP Server Card JSON](https://api.anthropicus.com/.well-known/mcp/server-card.json) - [Public Endpoints Discovery JSON](https://api.anthropicus.com/api/v1/public/endpoints) - [Model Catalog & Pricing](https://api.anthropicus.com/models) - [24h Channel Status & TTFT](https://api.anthropicus.com/quality) - [Quickstart Config Generator](https://api.anthropicus.com/quickstart) - [Full API Documentation](https://docs.anthropicus.online/) ## Built-in Read-Only MCP Tools (/mcp) - `search_models`: 按关键词、厂商、协议、档位、最高输入单价或缓存支持检索 Whale AI 实时可用模型目录,并附带人民币折算价与近 24 小时通道可用率。 - `get_model_pricing`: 查询指定模型的精确计费明细,包含输入/输出百万 Token 美元价、Prompt Cache 读写倍率、人民币分组结算汇率与兼容协议。 - `estimate_api_cost`: 按输入/输出/缓存读写 Token 用量测算单次与 30 天月度人民币及美元成本,自动计算 Prompt Cache 节省比例并对比订阅套餐给出最省钱推荐。 - `get_service_status`: 查询 Whale AI 近 24 小时各通道真实可用率、P50/P95 首字延迟(TTFT ms)、双线网关地址(国内免梯 cn / 挂梯直连 api)及近期维护事件。 - `search_docs`: 全文检索 Whale AI 开发文档、双线免梯接入说明、订阅与按量分账规则、Prompt Cache 降本实践及 401/429/529 报错排障指南。 - `generate_integration_config`: 一键生成 Claude Code、Codex、Cursor、Cherry Studio、CC-Switch、OpenCode、Pi、Python SDK 或 cURL 的标准接入配置,支持自主选择「国内免梯直连 (cn.anthropicus.com)」或「挂梯/海外直连 (api.anthropicus.com)」。 - `get_key_quota`: 【需附带 Authorization: Bearer sk-...】只读查询当前 API Key 的名称、剩余美元额度、已消耗额度、是否不限额及过期时间(零扣费、密钥不落盘)。 - `get_key_models`: 【需附带 Authorization: Bearer sk-...】只读查询当前 API Key 权限范围内可调用的模型 ID 列表(零扣费、支持关键词过滤)。 ## Quick Connect (Claude Code) ```bash # 国内用户(免梯直连) claude mcp add --transport http whale-ai https://cn.anthropicus.com/mcp # 国外或挂梯用户(直连源站) claude mcp add --transport http whale-ai https://api.anthropicus.com/mcp ```