MCP Server for getting Bilibili user video updates
Project description
BiliStalkerMCP
基于MCP协议的B站用户数据获取服务,支持视频和动态信息查询。
安装与配置
1. 安装
uvx bili-stalker-mcp
2. MCP客户端配置
将以下配置添加到你的MCP客户端(如Cline)的 settings.json 文件中:
{
"mcpServers": {
"bilistalker": {
"command": "uvx",
"args": [
"bili-stalker-mcp"
],
"env": {
"SESSDATA": "您的SESSDATA",
"BILI_JCT": "您的BILI_JCT",
"BUVID3": "您的BUVID3"
}
}
}
}
获取Cookie:登录bilibili.com → F12 → Application → Cookies → 复制所需值
功能特性
- 🔍 获取用户视频列表(播放量、时长、发布日期)
- 📱 获取用户动态(支持类型过滤)
- 🔗 支持用户名或ID查询
- 📊 标准化JSON输出
- 🔄 内置重试机制
- 🎨 Markdown格式化预设
工具与资源
工具
-
get_user_video_updates- 获取用户视频- 参数:
user_id/username(必填其一),limit(默认10)
- 参数:
-
get_user_dynamic_updates- 获取用户动态- 参数:
user_id/username(必填其一),limit(默认10),dynamic_type(默认ALL)
- 参数:
提示预设
format_video_response- 视频数据Markdown格式化format_dynamic_response- 动态数据时间轴格式化
资源
bili://schemas- 数据结构定义
许可证
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-1.0.tar.gz
(13.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bili_stalker_mcp-1.0.tar.gz.
File metadata
- Download URL: bili_stalker_mcp-1.0.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe4dfb81444d89fdf976adc62d3b4016f51162c81a339f2242a8b04dcb76a7be
|
|
| MD5 |
e2e714cbe04ddc3d973da634ebb20bd2
|
|
| BLAKE2b-256 |
78a252d56039dcbb9cada000c5c0be21483a2d95b4fc1cf2ca719c21d4c96421
|
File details
Details for the file bili_stalker_mcp-1.0-py3-none-any.whl.
File metadata
- Download URL: bili_stalker_mcp-1.0-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08f3e8c3475296935d67b9290269569050430b16db73ee030c73e4cb6a22f51f
|
|
| MD5 |
c2320fb5774ddf0fba3ac50f2cb2efc3
|
|
| BLAKE2b-256 |
02d4d01c9d2349537a08718c92c47cb48e90942e254e7ce95b0ad678b9e6d66f
|