Bangumi TV MCP Service
这是一个MCP(机器通信协议)服务,提供对 BangumiTV API 的访问。它允许您与 BangumiTV 的数据进行交互,并检索有关动漫、漫画、音乐、游戏等的信息。
示例
功能
-
条目
- /calendar 每日放送
- /v0/search/subjects 搜索主题
- /v0/subjects 浏览主题
- /v0/subjects/{subject_id} 获取主题详情
- /v0/subjects/{subject_id}/persons 获取与主题相关的人员列表
- /v0/subjects/{subject_id}/characters 获取与主题相关的角色列表
- /v0/subjects/{subject_id}/subjects 获取相关主题列表
-
章节
- /v0/episodes 获取剧集列表
- /v0/episodes/{episode_id} 获取剧集详情
-
角色
- /v0/search/characters 搜索角色
- /v0/characters/{character_id} 获取角色详情
- /v0/characters/{character_id}/subjects 获取与角色相关的主题列表
- /v0/characters/{character_id}/persons 获取与角色相关的人员列表
-
人员
- /v0/search/persons 搜索人员
- /v0/persons/{person_id} 获取人员详情
- /v0/persons/{person_id}/subjects 获取与人员相关的主题列表
- /v0/persons/{person_id}/characters 获取与人员相关的角色列表
安装
# 克隆仓库
git clone https://github.com/Ukenn2112/BangumiMCP.git
cd BangumiMCP
# 创建并激活虚拟环境
uv sync
使用(如Claude客户端)
URL: https://mcpcn.com/docs/quickstart/user/
claude_desktop_config.json
{
"mcpServers": {
"bangumi-tv": {
"command": "uv",
"args": [
"--directory",
"/Users/Desktop/bangumi-tv", # 替换为你的目录
"run",
"bangumi-mcp"
],
"env": {
"BANGUMI_TOKEN": "your_token_here" # 替换为你的 BangumiTV 令牌 (可选)如果你要查看或搜索R18内容
}
}
}
}
or
{
"mcpServers": {
"bangumi-tv": {
"command": "uvx",
"args": [
"bangumi-tv"
],
"env": {
"BANGUMI_TOKEN": "your_token_here" # 替换为你的 BangumiTV 令牌 (可选)如果你要查看或搜索R18内容
}
}
}
}
致谢
此目前项目全部由 Google Gemini 生成。
Metadata
Release files for bangumi-tv 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| bangumi_tv-0.1.3.tar.gz | 12.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bangumi_tv-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.0 kB
Release files / bangumi_tv-0.1.3.tar.gz
| Download URL | bangumi_tv-0.1.3.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c99dbad7ca12aada1c997841f78129ad8a90b1971d88dab19ca87dfbf24df1d2
|
|
BLAKE2b-256 checksum How to use checksums |
14db9b80b63975e5288f024dc1956e4ffcce0a9e2a32aa4c211fd7485abe523a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.11
|
Release files / bangumi_tv-0.1.3-py3-none-any.whl
| Download URL | bangumi_tv-0.1.3-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5fbf4542691513bd2715035c4860de4dfef2b1f0a639b8ea02fe8b1db042056
|
|
BLAKE2b-256 checksum How to use checksums |
55e52a769a1973806441844affda039efe87aaee11c5da88af4d5016513978a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.11
|
Security for bangumi-tv 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.