About BGmi
BGmi is an MCP server published by BGmi in the Developer Tools category: [looking for maintainers] BGmi is a cli tool with Web UI for subscribed bangumi. Conduid read 15 tools from its source: add, cal, delete, download, download_status, get_filter and 9 more. It is published to PyPI as bgmi and runs with uvx.
The repository has 1.0K stars and 40 forks, is licensed MIT, and its last commit was on 17 Nov 2026. The latest release is v5.0.2 (27 Sep 2026): Bug Fixes constrain MCP to compatible v1 API and release 5.0.2. It follows v5.0.0 (5 Sep 2026), and the 5 most recent releases go back to v4.4.7 (26 Sep 2023). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include anime, bangumi and feed.
Install
uvx bgmipip install bgmigit clone https://github.com/BGmi/BGmiTools (15)
add订阅番剧(支持 `season` 设置季度,对已订阅番剧同样有效)| Parameter | Type | Description |
|---|---|---|
| display_name | string | Rewrite the name used in downloaded file/directory paths: replaces {name} in path_formatter. For example, subscribe to 飙马野郎 JOJO的奇妙冒险 with display_name=JOJO的奇妙冒险 to save under JOJO的奇妙冒险/. The subscription/source name stays unchanged. Also works when updating an existing subscription via add. Requires enable_path_formatter=true; applies when completed downloads are processed by update or postprocess. Does not rename previously organized files. Omit or use null to preserve an existing override; use an empty string to clear it and restore the automatic name with season suffix removed. |
| episode | integer | Mark episodes 1..N as already downloaded. Default 0 starts downloading from episode 1. Use null to mark currently available episodes as already downloaded. |
| episode_offset | integer | Episode number offset for path formatter (e.g. 48 to map EP8 -> EP56). |
| name * | string | Name of the bangumi to subscribe to (fuzzy matched). |
| season | integer | Override season number (default: auto-detect from name). Also works for already subscribed bangumi. |
cal获取当前季度番剧日历| Parameter | Type | Description |
|---|---|---|
| force_update | boolean |
delete取消订阅| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the bangumi to unsubscribe from. |
download手动触发下载| Parameter | Type | Description |
|---|---|---|
| download_url * | string | Torrent/magnet URL. |
| episode * | integer | Episode number. |
| name * | string | Bangumi name. |
| title * | string | Episode title. |
download_status查看下载任务状态| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of tasks to return. Use a small number to avoid noisy old records. |
get_filter获取过滤器配置| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the followed bangumi. |
list列出我的订阅postprocess整理已完成下载search搜索番剧| Parameter | Type | Description |
|---|---|---|
| count | integer | Max number of results per episode. |
| keyword * | string | Search keyword. |
| max_episode | integer | Maximum episode number filter. |
| min_episode | integer | Minimum episode number filter. |
| regex | string | Optional regex to filter results. |
seen获取已观看集数列表| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the bangumi. |
seen_forget移除单集下载记录(触发重新下载)| Parameter | Type | Description |
|---|---|---|
| episode | integer | Episode number to forget. Kept for single-episode calls. |
| episodes | array | Episode numbers to forget in one call. |
| name * | string | Name of the bangumi. |
seen_mark添加单集下载记录(标记为已观看)| Parameter | Type | Description |
|---|---|---|
| episode | integer | Episode number to mark as seen. Kept for single-episode calls. |
| episodes | array | Episode numbers to mark as seen in one call. |
| name * | string | Name of the bangumi. |
set_filter设置过滤器| Parameter | Type | Description |
|---|---|---|
| exclude | array | Keywords that must NOT appear in title. Empty list clears exclude keywords. |
| include | array | Keywords that must appear in title. Empty list clears include keywords. |
| name * | string | Name of the followed bangumi. |
| regex | string | Regex pattern for title filtering. |
| subtitle | array | Subtitle group names to include. Empty list clears selected subtitle groups. |
set_status修正订阅生命周期状态| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the followed bangumi. |
| status * | any | STATUS_FOLLOWED means subscribed. STATUS_UPDATED_TODAY means subscribed and successfully updated today; it normally comes from update() and automatically returns to STATUS_FOLLOWED after today. |
update检查更新并下载| Parameter | Type | Description |
|---|---|---|
| names | array | Optional list of bangumi names to update. If empty/None, updates all subscriptions. |
Security checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.5K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- !No dynamic code executionScanned 38 source files and found 1 call to eval or shell execution, in bgmi/setup.py:17. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
What the source scan found
- Transport
- Streamable HTTP and HTTP with SSEbgmi/front/mcp_server.py:46, bgmi/front/mcp_server.py:445
- Starts other programs
- 2 callsbgmi/setup.py:37, bgmi/setup.py:17
- Outbound network calls
- 6 callsbgmi/session.py:10, bgmi/website/mikan.py:100, bgmi/website/mikan.py:174
- Writes or deletes files
- 12 callsbgmi/config.py:189, bgmi/config.py:246, bgmi/lib/postprocessor.py:80
- Lockfile
- uv.lock
Pattern matches on the source text of 38 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.5K words, fetched yesterday. The original in the repository is authoritative.
Read full README