Skip to main content

MCP Server for getting Bilibili user video updates

Project description

BiliStalkerMCP

Python MCP Version

A Model Context Protocol (MCP) server for comprehensive Bilibili user data acquisition.

Quick Start

Installation

uvx bili-stalker-mcp

Configuration

Add to your MCP client settings:

{
  "mcpServers": {
    "bilistalker": {
      "command": "uvx",
      "args": ["bili-stalker-mcp"],
      "env": {
        "SESSDATA": "your_sessdata",
        "BILI_JCT": "your_bili_jct",
        "BUVID3": "your_buvid3"
      }
    }
  }
}

Available Tools

Tool Description Parameters
get_user_info User profile and stats user_id or username
get_user_video_updates Video publications with subtitles user_id/username, page, limit
get_user_dynamic_updates User dynamics with type filtering user_id/username, offset, limit, dynamic_type
get_user_articles Article publications user_id/username, page, limit
get_user_followings Following list user_id/username, page, limit

Development

# Clone and setup
git clone https://github.com/222wcnm/BiliStalkerMCP.git
cd BiliStalkerMCP
uv pip install -e .

# Run tests
python tests/test_suite.py -u <user_id_or_username>

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bili_stalker_mcp-2.3.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bili_stalker_mcp-2.3-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file bili_stalker_mcp-2.3.tar.gz.

File metadata

  • Download URL: bili_stalker_mcp-2.3.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for bili_stalker_mcp-2.3.tar.gz
Algorithm Hash digest
SHA256 2eef88676974c63b3a1a6c495ff073c720bfdc7dc5f4d75008da05565c92b448
MD5 f3c16be81626729b138492188e89bf31
BLAKE2b-256 b66d41719f080a8246eca79328532e2a5c22c50c08058dafaeb1f7248af682ca

See more details on using hashes here.

File details

Details for the file bili_stalker_mcp-2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for bili_stalker_mcp-2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e619f774fd6f376cd47e3a0b9658cfc91282384fc9c0cf8a16f48787d0d06202
MD5 64a19308de521bb7813d0bfb0efa244c
BLAKE2b-256 391146ad56c17b68d26ad534bf884a381265b307089bbbc14f1964145beaf9d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page