Bangumi MCP
Enables searching and retrieving information about anime, manga, and related content via the Bangumi API.
README
Bangumi MCP
<p align="center"> <img src="https://placehold.co/200x200/transparent/pink?font=Oswald&text=Bangumi\nM%20C%20P" alt="Bangumi MCP Logo" width="256" height="256"> </p>
<p align="center"> A Model Context Protocol (MCP) server for accessing Bangumi API </p>
Bangumi MCP is a Model Context Protocol (MCP) server that provides access to the Banguimi API, allowing users to search for and retrieve information about anime, manga, and other related content.
Features
The Bangumi MCP server provides a comprehensive set of tools for interacting with the Bangumi API, including:
Calendar and Time
get_current_time: Get the current timeget_calendar: Get the weekly broadcast schedule
Subject Tools
search_subjects: Search for subjects with various filtersget_subjects: Browse subjects by type and categoryget_subject_info: Get detailed information about a specific subjectget_subject_persons: Get person information for a subjectget_subject_characters: Get character information for a subjectget_subject_relations: Get related subjects
Episode Tools
get_episodes: Get episode information for a subjectget_episode_info: Get detailed information about a specific episode
Character Tools
search_characters: Search for charactersget_character_info: Get detailed character informationget_character_subjects: Get subjects related to a characterget_character_persons: Get persons related to a characterpost_character_collection: Collect a character
Person Tools
search_persons: Search for personsget_person_info: Get detailed person informationget_person_subjects: Get subjects related to a personget_person_characters: Get characters related to a personpost_person_collection: Collect a person
User Tools
get_user_info: Get user informationget_me_info: Get current user information
Collection Tools
get_user_collections: Get user's subject collectionsget_user_collection_info: Get user's collection info for a specific subjectpost_my_collection: Collect a subject for the current userpatch_my_collection: Update a subject collection for the current userget_my_episode_collections: Get current user's episode collectionspatch_my_episode_collections: Update current user's episode collectionget_my_episode_collection_info: Get current user's episode collection info for a specific episodeput_my_episode_collection_info: Update current user's episode collectionget_user_character_collections: Get user's character collectionsget_user_character_collection_info: Get user's character collection info for a specific characterget_user_person_collections: Get user's person collectionsget_user_person_collection_info: Get user's person collection info for a specific person
Installation
-
Clone the repository:
git clone https://github.com/etherwindy/Bangumi-MCP.git cd Bangumi-MCP -
Install the package:
It is recommaneded to use uv:
uv pip install -e .
Server Configuration
The Bangumi MCP server requires a Bangumi API token for full functionality. If you use SSE or streamable HTTP, you need to configure this token before the server starts:
Method 1: Using a .env file (Recommended)
Create a .env file in the project root directory with your Bangumi API token:
BANGUMI_API_TOKEN=your_api_token_here
Method 2: Using Environment Variables
Set the environment variable directly in your terminal:
export BANGUMI_API_TOKEN=your_api_token_here
On Windows, use:
set BANGUMI_API_TOKEN=your_api_token_here
Usage
STDIO
Directly import json config to your MCP client application like cherry-studio:
{
"mcpServers": {
"Bangumi-MCP": {
"command": "uv",
"args": [
"--directory",
"{your_path_to_the_folder}/Bangmumi-MCP",
"run",
"bangumi-mcp"
],
"env": {
"BANGUMI_API_TOKEN": "your_token_here"
}
}
}
}
SSE
By default, the server will run on localhost:18080. You can specify a different host and port using the --host and --port arguments:
cd Bangumi-MCP
uv run bangumi-mcp --mode=sse --host localhost --port 18080
Config your MCP client application, for example:
{
"mcpServers": {
"Bangumi-MCP": {
"type": "sse",
"url": "http://localhost:18080/sse"
}
}
}
Streamable HTTP
By default, the server will run on localhost:18080. You can specify a different host and port using the --host and --port arguments:
cd Bangumi-MCP
uv run bangumi-mcp --mode=streamable_http --host localhost --port 18080
Config your MCP client application, for example:
{
"mcpServers": {
"Bangumi-MCP": {
"type": "streamableHttp",
"url": "http://localhost:18080/mcp/"
}
}
}
Acknowledgements
This project was built with the assistance of Qwen3-Coder and Claude Sonnet 4.
License
This project is licensed under the MIT License. See the LICENSE file for details.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。