Sagelib

● Active

io.github.aixingzhe/sagelib

List, compare, and call 68 LLMs with live pricing through one Chinese API gateway.

Connect this server

One click to install, or copy the config below. Suits: Cursor · HTTP clients.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "sagelib": {
      "url": "https://www.sagelib.com/mcp"
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add --transport http sagelib https://www.sagelib.com/mcp
VS Code
code --add-mcp '{"name":"sagelib","type":"http","url":"https://www.sagelib.com/mcp"}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in. Codex takes hosted servers in config.toml ([mcp_servers.<name>] url = …) rather than on the command line.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
APIs & Integrations
Version
1.0.0
Registry
active
Published
11/14/2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Nov 22, 2026

Looks healthy: Sagelib is maintained, open source, hosted endpoint answering without a key.

Maintained
Active
Last commit 8 days ago (Nov 14, 2026), 0 open issues.
Official registry
Active
Published as io.github.aixingzhe/sagelib in the official MCP registry, version 1.0.0.
Source
Open source, MIT
Public repository under the MIT licence, 0 stars, 0 forks.
Runs
Hosted by the publisher
Your client talks to www.sagelib.com: prompts and tool arguments leave your machine for that host.
Credentials
None needed to connect
The hosted endpoint completed the Serverdex initialize + tools/list handshake with no key (checked Nov 22, 2026); individual tools may still ask for one.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself and see the status history.

Live check

checked Nov 22, 2026, 12:07 UTCStatus history & uptime →
● Working1,797 msprotocol 2024-11-05v1.0.0tools

The endpoint answered the MCP handshake as "sagelib-gateway" and listed 3 tools. Answering since Nov 18, 2026.

Context cost ≈ 274 tokens of tool definitions a client loads per conversation (estimate: characters ÷ 4) across 3 tools.

Tools (3)

  • list_models3 params

    列出本站当前在架的大模型:模型标识、名称、类型、上下文长度、输入/输出单价。可按类型(text/image/audio/video)或关键词过滤。

    Show parameters
    • app_typestringtext / image / audio / video,留空返回全部
    • keywordstring按模型标识或显示名模糊匹配
    • limitinteger最多返回多少条,默认 30
  • 对比指定模型:上下文长度、类型、输入/输出单价。传入 2–6 个模型标识。

    Show parameters
    • codesarrayrequired模型标识列表,如 ["claude-sonnet-5-5","gpt-6-sol"]
  • call_model5 params

    通过本站网关调用指定模型(OpenAI 兼容接口)。必须提供用户自己的网关令牌 api_key,服务端不保存密钥。

    Show parameters
    • api_keystringrequired本站令牌(sk- 开头),仅用于本次请求
    • max_tokensinteger可选,最大输出 token
    • modelstringrequired模型标识,如 claude-sonnet-5-5
    • promptstringrequired用户提示词
    • systemstring可选,系统提示词

Checked by Serverdex with a plain initialize + tools/list call to www.sagelib.com/mcp, no credentials, about once a day. A failed check is never a removal.

On GitHub

read Nov 17, 2026
Stars
0
Forks
0
Last push
Nov 14, 2026
License
MIT

From the README

SageLib MCP Server 中文 · English 中文 SageLib AI 网关的远程 MCP 服务:一个网关调用 68 个国内外大模型 (OpenAI、Anthropic、Gemini、Kimi、GLM、DeepSeek、Qwen、MiniMax、豆包…),人民币按量计费, 支持 OpenAI / Anthropic / Gemini 三种原生协议。 • 端点:https://www.sagelib.com/mcp(Streamable HTTP,JSON-RPC 2.0) • 官网:https://www.sagelib.com • 文档:OpenAPI · llms.txt • 鉴权:只读工具无需任何凭据;call_model 由调用方传入自己的 API Key(服务端不保存) 工具 价格为厂商公布的官网价(网关折后价登录后可见);返回里带币种与计价单位(/百万 token、/张、/秒)。 在客户端里添加 PI: Claude Desktop / 其他支持远程 MCP 的客户端:添加「远程 MCP」,URL 填 https://www.sagelib.com/mcp。 curl 复现 说明 • 托管式服务,无需安装; • listmodels / comparemodels 只返回公开目录数据; • call_model 会把请求转发到 https://www.sagelib.com/openai/chat/completions,密钥只用于本次请求。 English Remote Model Context Protocol server for SageLib AI Gateway — one API gateway for 68 LLMs (OpenAI, Anthropic, Gemini, Kimi, GLM, DeepSeek, Qwen, MiniMax, Doubao…) with real-time CNY/USD pricing and OpenAI / Anthropic / Gemini native protocols. • Endpoint: https://www.sagelib.com/mcp (Streamable HTTP, JSON-RPC 2.0) • Website: https://www.sagelib.com • Docs: OpenAPI · llms.txt • Auth: read-only tools need no credentials; call_model takes the caller's own API key Tools Prices are the vendors' published official prices (discounted gateway price is shown after login); the response includes currency and billing unit (per MTok / per image / per second). Add it to your client PI: Claude Desktop / any client supporting remote MCP: add a remote server with URL https://www.sagelib.com/mcp. Try it Notes • Hosted server; nothing to install.…

Read the full README on GitHub →

Remotes

  • streamable-httphttps://www.sagelib.com/mcp

The most-starred APIs & Integrations servers in the index, with their live-check result.

ServerStarsLast pushLive check
OpenWork MCP Gateway24,576Nov 2026Needs sign-in
API Anything3,699Nov 2026Local / not checked
GoModel1,322Nov 2026Local / not checked
Scaleway MCP server1,027Nov 2026Local / not checked
AnythingMCP817Nov 2026Needs sign-in

Sagelib: questions people ask

Is Sagelib a remote or a local MCP server?
According to its entry in the official MCP registry, Sagelib ships as a hosted endpoint (streamable-http) that your client connects to by URL.
Does Sagelib need an API key?
Its hosted endpoint completed the Serverdex live check — an MCP initialize + tools/list call — with no credentials on Nov 22, 2026. Individual tools may still ask for a key when called.
Is Sagelib safe to use?
Looks healthy: Sagelib is maintained, open source, hosted endpoint answering without a key. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: Hosted by the publisher; credentials: None needed to connect. Serverdex check of Nov 22, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is Sagelib still maintained?
Active: the repository's last commit 8 days ago. Last push Nov 14, 2026, 0 GitHub stars, MIT licence. Read from GitHub on Nov 17, 2026.
What tools does Sagelib expose?
3 tools as listed by the server itself during the live check, including list_models, compare_models, call_model. The full list with parameters is in the Live check section above.
How do I add Sagelib to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
Browse all APIs & Integrations →

Add the badge to your site

Show visitors that Sagelib is listed here — it’s also the link we check for a free listing.

Sagelib — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-aixingzhe-sagelib?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Sagelib — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Sagelib — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-aixingzhe-sagelib?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/io-github-aixingzhe-sagelib) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/io-github-aixingzhe-sagelib) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/io-github-aixingzhe-sagelib)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/io-github-aixingzhe-sagelib"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-aixingzhe-sagelib"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-aixingzhe-sagelib"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).