MCP server for ZhipuAI GLM — chat, text embeddings, translation, vision, and OCR
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"glm-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# glm-mcp MCP server for [ZhipuAI GLM](https://open.bigmodel.cn/) — exposes chat, text embeddings, translation, vision, and OCR to Claude Code (and any MCP-compatible client) via the OpenAI-compatible API. ## Tools | Tool | Description | |------|-------------| | `glm_chat` | Text completion — default model `glm-4-flash`, pass `model=` to use any GLM chat model (e.g. `glm-5`). Supports single-turn and multi-turn (`messages=` parameter). Sampling: `temperature=0.7`, `top_p=0.95` (pass `top_p=None` to omit). Auto-fallback on transient errors (429/503/timeout/connection) via `auto_fallback=True` (default). Use `avoid_peak_hours=True` to pre-emptively switch during peak hours (UTC+8 14:00–18:00). | | `glm_embed` | Text embeddings — default model `embedding-3`, pass `model=` to override | | `glm_usage_summary` | Query token usage from `~/.glm-mcp/usage.jsonl`. Parameters: `days` (default 7), `model` (optional filter). Returns period, total tokens, by_tool, by_model. | | `glm_translate` | Pure single-language translation — default model `glm-4.7`. Parameters: `text`, `target_lang` (`"ja"`, `"zh"`, `"en"`), `source_lang` (default `"auto"`), `style` (`"formal"` or `"casual"`, default `"formal"`). Sampling: `temperature=1.0`, `top_p=0.8` (GLM-4.7 Plan B: top_p as primary control; pass `top_p=None` to omit). Outputs ONLY the target language, solving the mixed Chinese–Japanese output problem common with general LLMs. | | `glm_vision` | Multimodal image analysis — default model `glm-4.6v`. Parameters: `image_url` (HTTP/HTTPS URL or Base64 string), `prompt`, `detail` (`"auto"`, `"low"`, `"high"`), `max_tokens` (default 2048). Sampling: `temperature=0.2`, `top_p=0.9` (focused stable analysis; pass `top_p=None` to omit). Auto-fallback to `glm-4.6v-flash` on 429/503/timeout. Bare Base64 strings are automatically prefixed with `data:image/png;base64,`. | | `glm_ocr` | Document and image OCR — default model `glm-ocr`. Parameters: `file` (HTTP/HTTPS URL, Base64 string, `data:` URI,…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.