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-2.0.tar.gz
(13.9 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-2.0.tar.gz.
File metadata
- Download URL: bili_stalker_mcp-2.0.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7058e1ed1b885e2df2b298338bd0eb46c793bf5e44085de51750ada5dfae39d9
|
|
| MD5 |
c7f3f7630643a5794f39bfa876937b7c
|
|
| BLAKE2b-256 |
b6dd02d9adad7134dd8f3979893fbc061d8fb5690c83dae1177d10c1c2d4df6c
|
File details
Details for the file bili_stalker_mcp-2.0-py3-none-any.whl.
File metadata
- Download URL: bili_stalker_mcp-2.0-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16424f71bc222d4d5194fd013f803adf4e6f125305b4ddb6920fc7f7a375fd11
|
|
| MD5 |
3c63ebf9af54e02f3fda4dd88a085182
|
|
| BLAKE2b-256 |
5e63efae9d0575bb0c6c1cd42727772958b7048ba8e91c4130c9d638974086d7
|