mal-mcp
mal-mcp is an MCP server for MyAnimeList that lets you search, browse, and manage anime/manga data — read-only tools require no credentials, while personal list management requires a MAL token.
Search & Discovery
Search anime/manga by keyword with filters for type, status, genres, score, and pagination (
search_anime,search_manga)NSFW results are included by default but can be excluded with
sfw: true
Anime & Manga Details
Get full anime/manga details — synopsis, score, genres, studios, streaming links, related entries (
get_anime,get_manga)Get anime characters (with voice actors), community recommendations, and user reviews (
get_anime_characters,get_anime_recommendations,get_anime_reviews)
Rankings & Seasons
Top-ranked anime/manga lists filtered by airing status, popularity, or favorites (
get_top_anime,get_top_manga)Seasonal anime by season/year and weekly broadcast schedule (
get_seasonal_anime,get_anime_schedule)
Public User Profiles
View public MAL user profiles, stats, and favorites — anime, manga, characters, and people (
get_user_profile,get_user_favorites)
Personal List Management (MAL token required)
View your own profile and account stats (
get_my_user_info)Access your anime/manga lists with filtering and sorting (
get_my_anime_list,get_my_manga_list)Add or update list entries — status, score, progress (episodes/chapters/volumes), dates, rewatch/reread flags (
update_my_anime_status,update_my_manga_status)Delete entries from your list (
delete_my_anime_list_item,delete_my_manga_list_item)
Prompts
recommend_similar— get recommendations for similar animeseasonal_overview— get an overview of a given season
Provides tools to search for anime and manga, get details, rankings, seasonal anime, characters, recommendations, and reviews, as well as manage personal anime/manga lists (read, update, delete entries) via MyAnimeList.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mal-mcpsearch for anime Frieren"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
Related MCP server: mangadex-mcp
Example queries
Once it's connected, just ask your agent in natural language.
No credentials needed (search, details, rankings, seasons, characters, …):
"Search for the anime Frieren and show its score, studio and synopsis."
"What are the top 10 anime of all time?"
"What's airing this season? Sort by popularity."
"Recommend anime similar to Steins;Gate."
"What are people saying in reviews of Chainsaw Man?"
"Show the main characters and Japanese voice actors of Cowboy Bebop."
"When does the next episode of One Piece air?"
"Give me the top manga in the Romance genre."
"What's on the upcoming season's schedule?"
"Show the public profile and favorites of user Xinil."
"Pick a random highly-rated anime for me."With your MyAnimeList account (after a one-time login_mal; see
Connect your MyAnimeList account):
"Show my MAL profile and watching stats."
"What's on my anime list that I marked as watching?"
"Add Frieren to my plan-to-watch list."
"Set Cowboy Bebop to completed with a score of 9."
"Bump my episode count for One Piece to 1095."
"Remove Bleach from my manga list."Tools
Tool | Backend | Auth |
| Jikan | none |
| Jikan | none |
| Jikan | none |
| Jikan | none |
| Jikan | none |
| Jikan | none |
| Jikan | none |
| Jikan | none |
| Jikan | none |
| Jikan | none |
| Jikan | none |
| Jikan | none |
| Jikan | none |
| Jikan | none |
| Jikan | none |
| Jikan | none |
| MAL | token |
| MAL | token |
| MAL | token |
| MAL | login |
token = needs a MyAnimeList login (run login_mal once). 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. It prompts for an optional MyAnimeList Client
ID — set it and run the login_mal tool to enable the personal-list tools (see
Connect your MyAnimeList account).
Leave it blank to use just the credential-free read tools.
From source
git clone https://github.com/Grinv/mal-mcp
cd mal-mcp
npm ci
npm run buildThis 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": "..."
}
}
}
}Or with the Claude Code CLI:
claude mcp add mal -e MAL_CLIENT_ID=... -- npx -y mal-mcpIf 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 you log in. To enable them, set MAL_CLIENT_ID and run the
login_mal tool once (a one-time browser authorization; the token is then
stored and refreshed automatically). The server does not read a .env file, so
pass config via this env block (or your shell environment). See
docs/auth.md for the full login walkthrough and
docs/clients.md for more clients.
Connect your MyAnimeList account (for the personal-list tools)
The search/browse tools work with no setup. To use the personal-list tools
(get_my_*, update_my_*, delete_my_*), authorize your account once. It takes
about two minutes. There is no client secret — mal-mcp uses the modern
public-client flow (PKCE), so you only need a Client ID.
Step 1 — Register a MyAnimeList app (one minute).
Go to https://myanimelist.net/apiconfig and click Create ID.
App Type: choose
other. (Notweb— that type forces a client secret this server doesn't use.)App Redirect URL: enter exactly
http://localhost:8080/callback(If port 8080 is already used on your machine, pick another port here and set
MAL_OAUTH_PORTto the same number — see Configuration.)Fill the remaining required fields with anything reasonable, accept the terms, and Submit.
Open your new app and copy its Client ID.
Step 2 — Give the Client ID to the server.
Add it to your MCP client config (or paste it into the Claude Desktop install form). Nothing else is needed here:
"env": { "MAL_CLIENT_ID": "paste-your-client-id-here" }Restart the server/client so it picks up the value.
Step 3 — Log in (one click).
In your assistant, run the login_mal tool (or just say "log in to
MyAnimeList"). It replies with a link. Open the link, sign in to MAL, and click
Allow.
Running locally (Claude Desktop, or Claude Code on your own machine): login finishes automatically the moment you click Allow. Confirm with "show my MAL profile" (
get_my_user_info).Running on a remote/SSH/headless host: after clicking Allow your browser lands on a page that won't load — that's expected. Copy the full address from the browser's address bar (it contains
?code=…) and give it to thesubmit_mal_redirecttool to finish.
That's it. The token is saved locally (~/.config/mal-mcp/tokens.json, 0600)
and refreshed automatically from now on — you won't need to log in again.
Prefer no interactive step? You can instead pre-set
MAL_REFRESH_TOKEN(withMAL_CLIENT_ID) or a standaloneMAL_ACCESS_TOKEN. See docs/auth.md for how to obtain them by hand.
Configuration
All configuration is via environment variables, all optional — without credentials
the read tools still work. For the personal-list tools, set MAL_CLIENT_ID and run
the login_mal tool once; the access token is then fetched and refreshed
automatically. (mal-mcp is a public PKCE client — there is no client secret.)
Variable | Purpose |
| Your MAL app (type |
| Advanced/optional. Pre-supply a refresh token instead of running |
| Advanced/optional. A standalone token; works ~30 days, no refresh. |
| Override the token cache path (default: OS config dir). |
| Localhost port for the |
|
|
Tuning (rarely needed)
These have sensible defaults; change them only if you self-host Jikan or need different timing.
Variable | Purpose |
| Min spacing between Jikan calls (default |
| TTL for the in-memory read cache (default |
| Per-request timeout (default |
| Override upstream base URLs (e.g. a self-hosted Jikan instance). |
Provide these in your MCP client config's env block (the server does not
read a .env file). See docs/auth.md for how to obtain the
credentials, 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 InspectorRuntime 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
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Grinv/mal-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server