Bangumi
БесплатноНе проверенEnables searching and retrieving information about anime, manga, and related content via the Bangumi API.
Описание
Enables searching and retrieving information about anime, manga, and related content via the Bangumi API.
README
A Model Context Protocol (MCP) server for accessing Bangumi API
Bangumi MCP is a Model Context Protocol (MCP) server that provides access to the Bangumi 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:
The project tracks the Bangumi OpenAPI schema bundled in bangumi_mcp/dist.json and currently targets the 2026-05-2 API schema. It requires mcp>=1.27.2 and uses modern MCP features such as tool output schemas, structured tool results, tool annotations, and Streamable HTTP.
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_image: Get a subject image URLget_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
Revision Tools
get_subject_revisions: Get subject revision historyget_subject_revision_info: Get subject revision detailsget_episode_revisions: Get episode revision historyget_episode_revision_info: Get episode revision detailsget_character_revisions: Get character revision historyget_character_revision_info: Get character revision detailsget_person_revisions: Get person revision historyget_person_revision_info: Get person revision details
Character Tools
search_characters: Search for charactersget_character_info: Get detailed character informationget_character_image: Get a character image URLget_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_image: Get a person image URLget_person_subjects: Get subjects related to a personget_person_characters: Get characters related to a personpost_person_collection: Collect a person
Index Tools
post_index: Create an index for the current userget_index_info: Get index informationput_index: Update index informationpost_index_collection: Collect an indexdelete_index_collection: Uncollect an indexget_index_subjects: Get subjects in an indexpost_index_subject: Add a subject to an indexput_index_subject: Update a subject in an indexdelete_index_subject: Delete a subject from an index
User Tools
get_user_info: Get user informationget_user_avatar: Get a user avatar URLget_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-MCPInstall dependencies:
It is recommended to use uv. The project includes a standard build configuration, so the
bangumi-mcpconsole script is available after syncing:uv sync uv run bangumi-mcp --helpYou can also install it into another environment with
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
Import this JSON config into your MCP client application, such as Cherry Studio:
{
"mcpServers": {
"Bangumi-MCP": {
"command": "uv",
"args": [
"--directory",
"{your_path_to_the_folder}/Bangumi-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
Configure 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
Configure your MCP client application, for example:
{
"mcpServers": {
"Bangumi-MCP": {
"type": "streamableHttp",
"url": "http://localhost:18080/mcp/"
}
}
}
Modern MCP Support
- Tool responses include
structuredContentwhen the underlying tool returns structured JSON data, while still including readable JSON text for compatibility. - Tool metadata includes MCP annotations such as
readOnlyHint,destructiveHint,idempotentHint, andopenWorldHint. - The server supports STDIO, SSE, and Streamable HTTP transports.
- Mutating tools require a valid
BANGUMI_API_TOKEN; read-only public API tools can be used without a token where Bangumi allows it.
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.
Установка Bangumi
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/etherwindy/Bangumi-MCPFAQ
Bangumi MCP бесплатный?
Да, Bangumi MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Bangumi?
Нет, Bangumi работает без API-ключей и переменных окружения.
Bangumi — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Bangumi в Claude Desktop, Claude Code или Cursor?
Открой Bangumi на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Bangumi with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
