Skip to main content

Bangumi TV MCP Service

这是一个MCP(机器通信协议)服务,提供对 BangumiTV API 的访问。它允许您与 BangumiTV 的数据进行交互,并检索有关动漫、漫画、音乐、游戏等的信息。

示例

output

功能

  • 条目

    • /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 venv
source .venv/bin/activate  # Linux/macOS
# 或在 Windows 上使用:
# .venv\Scripts\activate

# 安装依赖
uv add "mcp[cli]" requests

使用(如Claude客户端)

URL: https://mcpcn.com/docs/quickstart/user/

claude_desktop_config.json

{
    "mcpServers": {
        "bangumi-tv": {
            "command": "uv",
            "args": [
                "--directory",
                "/Users/Desktop/bangumi-tv", # 替换为你的目录
                "run",
                "main.py"
            ],
            "env": {
                "BANGUMI_TOKEN": "your_token_here" # 替换为你的 BangumiTV 令牌 (可选)如果你要查看或搜索R18内容
            }
        }
    }
}

致谢

此目前项目全部由 Google Gemini 生成。

Download files

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

Source Distribution

iflow_mcp_bangumi_tv-0.1.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

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

iflow_mcp_bangumi_tv-0.1.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file iflow_mcp_bangumi_tv-0.1.0.tar.gz.

File metadata

File hashes

Hashes for iflow_mcp_bangumi_tv-0.1.0.tar.gz
Algorithm Hash digest
SHA256 af6ee08166a4328b3770f1b1fb4308be7527c66761c612f7878cbea585ba3c70
MD5 0c5bad133178de6f6cd521a45cd4b6ea
BLAKE2b-256 a1cae6a11ece18868decbd93b5b60bf86eee6dcf426240167008c8c9f65ddff7

See more details on using hashes here.

File details

Details for the file iflow_mcp_bangumi_tv-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iflow_mcp_bangumi_tv-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc8f54b08663d22f0282f98c17f1cd82b3bc1425e44886f92d0ccde84e30ef66
MD5 e97d60995cc5e596496a69cb3b8ba75a
BLAKE2b-256 faf4cc6de1414543e4b21825df233373089460b76915e0813ed35b5cc70a976d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

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