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.2.tar.gz
(13.6 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.2.tar.gz.
File metadata
- Download URL: bili_stalker_mcp-1.2.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d8f3e1a09cb2d87ad1b10c28bc972de4177f371ee2826892cd4e146f38ba692
|
|
| MD5 |
408347c8c9c58177180203bdcf380476
|
|
| BLAKE2b-256 |
0b8c0eaf386f1891fb580a7d9cc50214d85706c70995c662ef084bd62acf4755
|
File details
Details for the file bili_stalker_mcp-1.2-py3-none-any.whl.
File metadata
- Download URL: bili_stalker_mcp-1.2-py3-none-any.whl
- Upload date:
- Size: 13.8 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 |
ff077b2aba9f73293d5654b261b6955c3b86a433792abe6a042831ce87a63922
|
|
| MD5 |
e75a0cba397cb7fed4a9e32375261b8d
|
|
| BLAKE2b-256 |
1c3bacc51bc0b311dfb618465b5c4984ffc7f61f00f5ae69385431019e0dba75
|