mal-mcp
MCP server for MyAnimeList that enables searching anime/manga, getting details, rankings, seasons, characters, reviews, and user profiles without authentication, and managing personal anime/manga lists with authentication (token required).
README
mal-mcp
An MCP server for MyAnimeList. It works with any MCP-compatible client or agent (Claude Desktop/Code, Cursor, VS Code, Cline, Continue, and others) — the server speaks the standard MCP stdio protocol.
What it does
It uses a hybrid backend:
- Reads → Jikan (unofficial MAL API). Search, details, rankings, seasons, characters, recommendations, reviews and public profiles. No credentials required.
- Your personal list → official MyAnimeList API. Read, update and delete entries on your own anime/manga list. Requires a user token (see docs/auth.md).
If no token is configured, the personal-list tools return a clear, actionable error and everything else keeps working.
Tools
| Tool | Backend | Auth |
|---|---|---|
search_anime, search_manga |
Jikan | none |
get_anime, get_manga |
Jikan | none |
get_anime_characters, get_anime_recommendations, get_anime_reviews |
Jikan | none |
get_top_anime, get_top_manga |
Jikan | none |
get_seasonal_anime, get_anime_schedule |
Jikan | none |
get_user_profile, get_user_favorites |
Jikan | none |
get_my_user_info, get_my_anime_list, get_my_manga_list |
MAL | token |
update_my_anime_status, update_my_manga_status |
MAL | token |
delete_my_anime_list_item, delete_my_manga_list_item |
MAL | token |
Prompts: recommend_similar, seasonal_overview.
Install
As an .mcpb bundle (one-click, e.g. Claude Desktop)
Download mal-mcp.mcpb from the latest release
and open it with your MCP client. The client will prompt for the optional token
fields.
From source
git clone https://github.com/Grinv/mal-mcp
cd mal-mcp
npm ci
npm run build
This produces a self-contained dist/index.js. Point your client at it (see below).
Connect it to an MCP client
Add the server to your client's MCP config (Claude Desktop/Code, Cursor, VS Code,
Cline, …). The simplest option is npx — no clone, no build:
{
"mcpServers": {
"mal": {
"command": "npx",
"args": ["-y", "mal-mcp"],
"env": {
"MAL_CLIENT_ID": "...",
"MAL_CLIENT_SECRET": "...",
"MAL_REFRESH_TOKEN": "..."
}
}
}
}
Or with the Claude Code CLI:
claude mcp add mal \
-e MAL_CLIENT_ID=... -e MAL_CLIENT_SECRET=... -e MAL_REFRESH_TOKEN=... \
-- npx -y mal-mcp
If you built from source instead, replace "command": "npx", "args": ["-y", "mal-mcp"]
with "command": "node", "args": ["/absolute/path/to/mal-mcp/dist/index.js"].
The env block is optional — omit it to use only the credential-free read
tools (search, details, rankings, …); the personal-list tools will return a clear
error until a token is configured. The server does not read a .env file, so pass
credentials via this env block (or your shell environment). See
docs/auth.md for obtaining the token values and
docs/clients.md for more clients.
Configuration
The server reads configuration from environment variables. All are optional; without a token the read tools still work.
| Variable | Purpose |
|---|---|
MAL_ACCESS_TOKEN |
User token for personal-list tools. |
MAL_CLIENT_ID, MAL_CLIENT_SECRET, MAL_REFRESH_TOKEN |
Enable silent token refresh (recommended — avoids monthly re-auth). |
MAL_TOKEN_STORE |
Override the token cache path (default: OS config dir). |
LOG_LEVEL |
debug | info | warn | error | silent (default info). |
The server only reads MAL_ACCESS_TOKEN (and friends) — it does not care how you
populate them. For example, on macOS you can keep the token in the Keychain and
export it from your shell:
export MAL_ACCESS_TOKEN="$(security find-generic-password -s mal-access-token -w)"
See docs/auth.md for how to obtain a token, and docs/clients.md for client configuration snippets.
NSFW content
NSFW (adult) results are not filtered by default — the server returns whatever
the upstream API provides. Search tools accept an optional sfw parameter; set
sfw: true to exclude adult entries via Jikan.
Development
npm run build # type-check + bundle to dist/
npm test # node:test suite (mocked, offline)
npm run test:coverage
npm run lint
npm run format
npm run check:api # live health-check of upstream endpoints
npm run inspector # run under the MCP Inspector
Runtime requires Node ≥ 18 (global fetch). See AGENTS.md for
contributor/agent guidance.
Updating
To be notified of new versions, click Watch → Releases on GitHub.
.mcpbbundle: download the newmal-mcp.mcpbfrom the releases page and reinstall it in your client (it replaces the old version).- From source:
git pull && npm ci && npm run build. - npx (after npm publish): unpinned
npx -y mal-mcpfetches the latest on the next run; if you pinned a version, bump it.
See the CHANGELOG for what changed in each release.
Attribution and terms
This is an unofficial project and is not affiliated with or endorsed by MyAnimeList. Read data is provided by Jikan, an unofficial MAL API; please respect its rate limits. Personal-list operations use the official MyAnimeList API under your own account and token. Use is subject to the MyAnimeList Terms of Service.
License
MIT © Grinv
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。