1. Conduid
  2. Developer Tools
  3. Glm Asr
MCP server · Developer Tools

Glm Asr

All-in-One Speech Recognition Service based on GLM-ASR-Nano | Web UI • REST API • MCP Server • Long Audio Support

Unclaimed Apache-2.0 last commit 9 months ago devtools
53Fair

Scored 3 hours ago · breakdown

About Glm Asr

Glm Asr is an MCP server published by neosun100 in the Developer Tools category: all-in-One Speech Recognition Service based on GLM-ASR-Nano | Web UI • REST API • MCP Server • Long Audio Support.

The repository has 7 stars and 3 forks, with the last commit 9 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/neosun100/glm-asr

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Glm Asr

Powered by Claude · Grounded in docs

I know everything about Glm Asr. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 3 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v2.0.1v2.0.1
v1.1.0v1.1.0
v1.0.2v1.0.2
v1.0.1v1.0.1
v1.0.0v1.0.0

README

English | 简体中文 | 繁體中文 | 日本語

GLM-ASR

Docker License Python FastAPI

All-in-One Speech Recognition Service based on GLM-ASR-Nano

Web UI • REST API • SSE Streaming • Swagger Docs


🖥️ Screenshot

Web UI


✨ Features

  • 🎯 High Accuracy - Based on GLM-ASR-Nano-2512 (1.5B), outperforms Whisper V3
  • 🌍 17 Languages - Chinese, English, Cantonese, Japanese, Korean, and more
  • 🎤 Long Audio - VAD smart segmentation for unlimited audio length
  • 🚀 SSE Streaming - Real-time progress and results for long audio
  • 🖥️ Web UI - Modern dark-mode interface with 4 language support
  • 🔌 REST API - Full API with Swagger documentation
  • 💾 GPU Management - Manual load/unload for memory control
  • 🐳 Docker Ready - One-command deployment with pre-loaded model

🚀 Quick Start

Docker (Recommended)

docker run -d --gpus all -p 7860:7860 neosun/glm-asr:v2.0.1

Access:

  • Web UI: http://localhost:7860
  • Swagger Docs: http://localhost:7860/docs
  • ReDoc: http://localhost:7860/redoc

Docker Compose

git clone https://github.com/neosun100/glm-asr.git
cd glm-asr
docker compose up -d

📖 API Reference

Base URL

http://localhost:7860

Endpoints

Health Check

GET /health
{"status": "ok", "model_loaded": true}

Transcribe (Sync) - For short audio

POST /api/transcribe
Content-Type: multipart/form-data
Parameter Type Default Description
file File required Audio file (wav/mp3/flac/m4a/ogg/webm)
max_new_tokens int 512 Max output tokens (1-2048)
curl -X POST http://localhost:7860/api/transcribe \
  -F "file=@audio.mp3" \
  -F "max_new_tokens=512"
{"status": "success", "text": "Transcribed text here..."}

Transcribe (SSE Stream) - For long audio

POST /api/transcribe/stream
Content-Type: multipart/form-data

Returns Server-Sent Events with real-time progress:

Event Type Description Example
start Processing started {"type": "start"}
progress Segment progress {"type": "progress", "current": 3, "total": 10, "duration": 22.5}
partial Segment result {"type": "partial", "text": "Segment text..."}
done Complete {"type": "done", "text": "Full transcription..."}
error Error occurred {"type": "error", "message": "Error details"}
curl -X POST http://localhost:7860/api/transcribe/stream \
  -F "file=@long_audio.mp3"

GPU Status

GET /gpu/status
{
  "model_loaded": true,
  "device": "cuda",
  "gpu_memory_used_mb": 4320.5,
  "gpu_memory_total_mb": 24576.0
}

Load/Unload Model

POST /gpu/load
POST /gpu/unload

Interactive Documentation

  • Swagger UI: http://localhost:7860/docs
  • ReDoc: http://localhost:7860/redoc

⚙️ Configuration

Environment Variables

Variable Default Description
MODEL_CHECKPOINT zai-org/GLM-ASR-Nano-2512 HuggingFace model path
PORT 7860 Service port
HF_HOME /app/cache Model cache directory

docker-compose.yml

services:
  glm-asr:
    image: neosun/glm-asr:v2.0.1
    container_name: glm-asr
    ports:
      - "7860:7860"
    volumes:
      - ./cache:/app/cache
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]

🏗️ Tech Stack

Component Technology
Model GLM-ASR-Nano-2512 (1.5B)
Backend FastAPI + Uvicorn
Streaming Server-Sent Events (SSE)
Frontend HTML5 + Vanilla JS
Container Docker + NVIDIA CUDA
API Docs Swagger / ReDoc

📊 Benchmark

GLM-ASR-Nano achieves the lowest average error rate (4.10) among comparable models:

Benchmark


📝 Changelog

v2.0.1 (2025-12-28)

  • ✅ Migrated to FastAPI async framework
  • ✅ SSE streaming for real-time progress
  • ✅ Complete Swagger API documentation
  • ✅ Dual API mode: sync + streaming
  • ✅ Fixed browser timeout for long audio
  • ✅ Modern dark UI with progress display

v1.1.0 (2025-12-15)

  • ✅ VAD smart segmentation (silero-vad)
  • ✅ Support unlimited audio length

v1.0.0 (2025-12-14)

  • ✅ Initial release
  • ✅ Web UI with 4 language support
  • ✅ REST API with Swagger docs
  • ✅ Docker all-in-one image

📄 License

Apache License 2.0


⭐ Star History

Star History Chart

README fetched from the repository 3 hours ago. The original is authoritative.

Questions

About Glm Asr

How do I install Glm Asr?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Glm Asr safe to use with an AI agent?

Its trust score is 53 out of 100 (fair). It passes 2 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Glm Asr still maintained?

The last commit was 9 months ago and 1 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.