Skip to main content
Glama
bilibili MCP Server

bilibili MCP Server

by wangshunnn

bilibili MCP Server

MIT-lizenziert NPM-Version NPM-Entpackgröße (mit Version)

Englisch |简体中文

Model Context Protocol ( MCP )-Server für die bilibili.com -API.

Merkmale

Benutzerinformationen

  • [x] Benutzerinformationen bis mid erhalten

  • [x] Suche nach Videoinformationen nach bvid

  • [x] Videos nach Schlüsselwörtern suchen

Related MCP server: MCP Feishu Project Manager

Verwendung

Claude Desktop

Siehe die offizielle Dokumentation

Konfiguration für npm (empfohlen)

{
  "mcpServers": {
    "bilibili": {
      "command": "npx",
      "args": ["-y", "@wangshunnn/bilibili-mcp-server"]
    }
  }
}

oder

Konfiguration für lokales geklontes Repo

{
  "mcpServers": {
    "bilibili": {
      "command": "node",
      "args": [
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/bilibili-mcp-server/dist/index.js"
      ]
    }
  }
}

Speichern Sie die Konfiguration und starten Sie neu. Die neue bilibili MCP Option wird wie folgt angezeigt:

Demo-Video

https://github.com/user-attachments/assets/813dece6-c9b5-4bc5-96c1-c3b4d284cc76

Lokale Entwicklung

  1. Abhängigkeiten installieren

pnpm i
  1. bauen

pnpm build
# or
pnpm dev
  1. Debuggen für lokales Repo, siehe oben .

Veröffentlichen

So veröffentlichen Sie eine neue Version auf npm:

# For patch version update (0.0.x)
pnpm publish:patch

# For minor version update (0.x.0)
pnpm publish:minor

# For major version update (x.0.0)
pnpm publish:major

Diese Befehle führen automatisch Folgendes aus:

  1. Erhöhen Sie die Version in package.json

  2. Erstellen des Projekts

  3. Im NPM-Register veröffentlichen

Credits

Available Tools

3 tools
get_user_infoA

Get information about a Bilibili user

Inputs: mid (required).

get_video_infoB

Get detailed information about a Bilibili video

Inputs: bvid (required).

search_videosB

Search for videos on Bilibili

Inputs: keyword (required), count, page.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose targeting different resources: user information, video information, and video search. There is no overlap in functionality, making tool selection straightforward for an agent.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern (get_user_info, get_video_info, search_videos) with clear, descriptive names that align well with their functions.

    Tool Count3/5

    With only 3 tools, the server feels thin for a Bilibili platform that likely has more capabilities (e.g., comments, playlists, subscriptions). While the tools cover basic operations, the count is borderline low for the domain's scope.

    Completeness2/5

    The toolset is severely incomplete for a Bilibili server, missing essential CRUD operations like creating or updating content, managing interactions (e.g., comments, likes), and accessing user-specific features (e.g., subscriptions, history). This will cause significant agent failures in broader workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers