bilibili-video-reader-mcp
Bilibili Video Reader v2.1
Ein schreibgeschütztes ChatGPT/Codex-Plugin, aufgebaut als Skill + zustandsloser MCP-Server, jetzt für Cloudflare Workers ausgelegt, sodass es ohne Render oder Kreditkarte läuft.
MCP-Tools
get_bilibili_video_parts(url)— Titel, Autor, Beschreibung, alle P-Nummern und CIDs.get_bilibili_part_transcript(url, part, language, max_chars)— offizielle/KI-Untertitelspuren und Transkript mit Zeitstempeln für ein P.
Der Worker ruft die Metadaten-/Player-/Untertitel-Endpunkte von Bilibili direkt auf. Für den Untertitelmodus ist kein Video-Download erforderlich.
Related MCP server: video-context
Bereitstellung auf Cloudflare Workers
Dashboard-Pfad
Cloudflare-Konto erstellen/anmelden.
Workers & Pages → Create → Import a repository öffnen (Formulierung kann leicht abweichen).
GitHub verbinden und
limuzi23/bilibili-video-reader-mcpauswählen.Das Repository-Root als Root-Verzeichnis beibehalten.
Cloudflare sollte
wrangler.jsoncautomatisch erkennen.Den Standard-Deploy-Befehl verwenden:
npx wrangler deploy.Bereitstellen.
Der Worker-Name muss bilibili-video-reader-mcp bleiben, da er mit wrangler.jsonc übereinstimmt.
Nach der Bereitstellung erhalten Sie von Cloudflare eine URL ähnlich wie:
https://bilibili-video-reader-mcp.<your-subdomain>.workers.devHealth-Check:
https://bilibili-video-reader-mcp.<your-subdomain>.workers.dev/healthMCP-Endpunkt:
https://bilibili-video-reader-mcp.<your-subdomain>.workers.dev/mcpFür öffentliche Untertitel ist kein Laufzeit-Secret erforderlich.
Optionaler privater Login-Status
Wenn ein Untertitel nur im angemeldeten Zustand sichtbar ist, kann der Worker ein optionales Cloudflare-Secret namens BILI_COOKIE lesen. Konfigurieren Sie es ausschließlich in der verschlüsselten UI Variables and Secrets von Cloudflare. Fügen Sie rohe Cookies niemals in ChatGPT ein und committen Sie sie niemals auf GitHub.
Mit ChatGPT verbinden
ChatGPT → Einstellungen → Sicherheit und Login → Entwicklermodus aktivieren.
Plugins öffnen,
+drücken und die bereitgestellte URL mit Endung/mcpregistrieren.Die technische ID aus der erstellten Verbindung kopieren. Sie beginnt mit
plugin_asdk_app_.python scripts/configure_plugin.py plugin_asdk_app_YOUR_IDausführen, falls der Plugin-Packaging-Ablauf eine App-Referenz erfordert.
Das OpenAI-Plugin-Manifest liegt unter .codex-plugin/plugin.json und der Workflow-Skill unter skills/bilibili-video-reader/.
Lokale Entwicklung
npm install
npm run devBei Bedarf von einem lokalen Terminal bereitstellen:
npm run deployEndpunkte:
GET /health
MCP /mcpArchitektur
Der aktuelle Produktionspfad ist:
ChatGPT Skill
↓
Cloudflare Workers /mcp
↓
Bilibili metadata/player/subtitle APIs
↓
structured multi-P metadata + timestamped subtitlesDie alte Python-Implementierung unter server/ bleibt nur als Referenz-/Legacy-Implementierung im Repository; Cloudflare verwendet sie nicht.
Aktueller Umfang
v2.1 konzentriert sich auf Multi-P-Metadaten + offizielle/KI-Untertitel. Es lädt noch kein Audio/Video herunter, führt kein Whisper ASR aus und extrahiert keinen Quellcode per OCR aus Videobildern. Diese sind erst geplant, nachdem dieser Untertitelpfad Ende-zu-Ende verifiziert wurde.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Bilibili (B站) data without login: video stats, comments, danmaku, creators, trending, hot searches.
Bilibili public video, article, dynamic, creator, comments, reactions, and transcript tools.
Real-time YouTube video transcripts, auto-translation, metadata, search & comments MCP ($1.00/1K).
Real-time YouTube video transcripts, auto-translation, metadata, search & comments MCP ($1.00/1K).
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for fetching Bilibili video metadata and subtitles. Supports running locally via stdio transport for integration with MCP clients like Cursor or Claude Desktop.19 npmISC
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to summarize, take notes on, and answer questions about YouTube, Bilibili, and Xiaohongshu videos by providing subtitles and local speech transcription with timestamps via MCP.1MIT
- AlicenseBqualityBmaintenanceEnables reading public Bilibili video information — keyword search, UP profiles and uploads, video details and parts, comments and replies, danmaku, subtitles, and frame snapshots — through an MCP interface, with optional Bilibili login for authenticated features such as comments and subtitles.16170 PyPI3Apache 2.0
- AlicenseAqualityCmaintenanceEnables AI clients to query and download Bilibili video data, including metadata, streams, danmaku, subtitles, comments, search, hot lists, users, live rooms, and account read-only items through MCP tools.151MIT