MAL MCP Server

v0.12.0
io.github.Grinv/mal-mcp Checked 4 days ago Published 5 days ago

MyAnimeList MCP server: Tenrai-powered reads plus official MAL personal-list management.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_anime Search anime

Search MyAnimeList anime by keyword; returns compact summaries (with the mal_id that other anime tools require) plus pagination info. If Tenrai is unavailable and MAL_CLIENT_ID is set and `q` has at least 3 characters (the official search rejects anything shorter, so a filter-only or 1-2 character search has no fallback), transparently retries via the official API, which ignores every filter except `q`/`sfw`/`limit`/`page` (`type`/`status`/`genres`/`genres_exclude`/`rating`/`score`/`min_score`/`max_score`/`min_scored_by`/`max_scored_by`/`year`/`min_year`/`max_year`/`ids`/`letter`/`producers`/`…

ParameterTypeDescription
end_datestringOnly include entries whose end date is on or before this date: YYYY-MM-DD, or YYYY-MM / YYYY for the end of that month/year. Entries with no end date are excluded.
genresstringComma-separated MAL genre IDs to include (max 25), e.g. '1,4'. Look up IDs with get_anime_genres.
genres_excludestringComma-separated MAL genre IDs to exclude (max 25), e.g. '1,4'. Look up IDs with get_anime_genres.
idsstringComma-separated MAL anime IDs to restrict to (max 25), e.g. '1,5114' — fetches the summaries (score, genres, …) of several known mal_ids in one call.
letterstringRestrict results to entries whose title starts with this single letter.
limitintegerMax results per page (1-100).
max_scorenumberMaximum average MAL score (inclusive), 1-10.
max_scored_byintegerMaximum number of MAL users who scored the entry, inclusive.
max_yearintegerOnly entries that started in this calendar year or earlier.
min_scorenumberMinimum average MAL score (inclusive), 0-10.
min_scored_byintegerMinimum number of MAL users who scored the entry, inclusive — screens out scores based on a handful of votes.
min_yearintegerOnly entries that started in this calendar year or later.
order_bystringField to order by. Beyond the plain fields: `added` = date MAL added the entry (approved entries only, even with `unapproved`), `score_change_30d` = change in MAL score over the last 30 days (risers w…
pageinteger1-based page number for pagination (1-20000).
producersstringComma-separated MAL producer/studio IDs to restrict to (max 25). Look up IDs with get_producers.
qstringSearch query, e.g. an anime title. Omit to browse by the other filters alone (e.g. genres + order_by). Cannot be combined with `letter`.
ratingarrayRestrict to one or more specific content ratings. More granular than `sfw`/`sfw_strict` — use this to target a precise rating band instead of a blanket adult-content cutoff.
scorenumberRestrict to entries with exactly this average score (rarely useful — prefer min_score/max_score for a range; it can't be combined with them).
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.
sortstringSort direction. Only takes effect together with `order_by`, and defaults to asc (lowest/fewest first): pass desc for the highest score or most members first.
start_datestringOnly include entries whose start date is on or after this date: YYYY-MM-DD, or YYYY-MM / YYYY for the start of that month/year.
statusstringFilter by airing status.
typearrayRestrict to one or more media types.
unapprovedstringEntries not yet approved by MAL's moderators: 'true' also includes them, 'false' (default) excludes them, 'only' returns exclusively unapproved entries.
yeararrayOnly entries that started (aired/published) in one of these calendar years, e.g. [2024]. For anime this can differ from MAL's season year. Cannot be combined with min_year/max_year.

search_manga Search manga

Search MyAnimeList manga by keyword (also light novels, manhwa/manhua); returns compact summaries with the mal_id that other manga tools require. If Tenrai is unavailable and MAL_CLIENT_ID is set and `q` has at least 3 characters (the official search rejects anything shorter, so a filter-only or 1-2 character search has no fallback), transparently retries via the official API, which ignores every filter except `q`/`sfw`/`limit`/`page` (`type`/`status`/`genres`/`genres_exclude`/`score`/`min_score`/`max_score`/`min_scored_by`/`max_scored_by`/`year`/`min_year`/`max_year`/`ids`/`letter`/`magazines…

ParameterTypeDescription
end_datestringOnly include entries whose end date is on or before this date: YYYY-MM-DD, or YYYY-MM / YYYY for the end of that month/year. Entries with no end date are excluded.
genresstringComma-separated MAL genre IDs to include (max 25), e.g. '1,4'. Look up IDs with get_manga_genres.
genres_excludestringComma-separated MAL genre IDs to exclude (max 25), e.g. '1,4'. Look up IDs with get_manga_genres.
idsstringComma-separated MAL manga IDs to restrict to (max 25), e.g. '1,5114' — fetches the summaries (score, genres, …) of several known mal_ids in one call.
letterstringRestrict results to entries whose title starts with this single letter.
limitintegerMax results per page (1-100).
magazinesstringComma-separated MAL magazine IDs to restrict to (max 25). Look up IDs with get_magazines.
max_scorenumberMaximum average MAL score (inclusive), 1-10.
max_scored_byintegerMaximum number of MAL users who scored the entry, inclusive.
max_yearintegerOnly entries that started in this calendar year or earlier.
min_scorenumberMinimum average MAL score (inclusive), 0-10.
min_scored_byintegerMinimum number of MAL users who scored the entry, inclusive — screens out scores based on a handful of votes.
min_yearintegerOnly entries that started in this calendar year or later.
order_bystringField to order by. Beyond the plain fields: `score_change_30d` = change in MAL score over the last 30 days (risers with sort=desc, fallers with asc), `score_spread` = standard deviation of user scores…
pageinteger1-based page number for pagination (1-20000).
qstringSearch query, e.g. a manga title. Omit to browse by the other filters alone (e.g. genres + order_by). Cannot be combined with `letter`.
scorenumberRestrict to entries with exactly this average score (rarely useful — prefer min_score/max_score for a range; it can't be combined with them).
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.
sortstringSort direction. Only takes effect together with `order_by`, and defaults to asc (lowest/fewest first): pass desc for the highest score or most members first.
start_datestringOnly include entries whose start date is on or after this date: YYYY-MM-DD, or YYYY-MM / YYYY for the start of that month/year.
statusstringFilter by publication status.
typearrayRestrict to one or more publication types.
unapprovedstringEntries not yet approved by MAL's moderators: 'true' also includes them, 'false' (default) excludes them, 'only' returns exclusively unapproved entries.
yeararrayOnly entries that started (aired/published) in one of these calendar years, e.g. [2024]. For anime this can differ from MAL's season year. Cannot be combined with min_year/max_year.

get_anime Get anime details

Get full details for one anime by mal_id: synopsis, score, genres, studios, streaming links, external links (official site, social media), alternate title synonyms, and related entries. `moreinfo` is a free-text field MAL editors sometimes add (e.g. suggested viewing order for a franchise) — usually absent. Only carries the single main `trailer` URL — use get_anime_videos for every promo/episode-preview/music video. Obtain the mal_id from search_anime first. `sfw`/`sfw_strict` don't affect this anime itself (its id was requested explicitly) — they filter NSFW entries out of its `relation…

ParameterTypeDescription
id *integerMyAnimeList numeric ID.
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.

get_manga Get manga details

Get full details for one manga by mal_id: synopsis, score, genres, authors, serialization, external links (official site, social media), alternate title synonyms, and related entries. Obtain the mal_id from search_manga first. `sfw`/`sfw_strict` don't affect this manga itself (its id was requested explicitly) — they filter NSFW entries out of its `relations` list. If Tenrai is unavailable and MAL_CLIENT_ID is set, transparently retries via the official API, which omits `themes`/`demographics`/`favorites`/`moreinfo`/`explicit_genres`/`external` (no equivalent fields there) and ignores `sfw`/`…

ParameterTypeDescription
id *integerMyAnimeList numeric ID.
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.

get_anime_characters Get anime characters

List the characters of an anime (by mal_id) with their roles and Japanese voice actors. Get the mal_id from search_anime.

ParameterTypeDescription
id *integerMyAnimeList numeric ID.

get_manga_characters Get manga characters

List the characters of a manga (by mal_id) with their roles. Get the mal_id from search_manga.

ParameterTypeDescription
id *integerMyAnimeList numeric ID.

get_anime_episodes Get anime episodes

List an anime's episodes (by mal_id) with titles, air dates and filler/recap flags; `filler`/`recap` filter on those flags (e.g. a watch order that skips filler). Paginated (~100 per page); use `page` for long-running series. Get the mal_id from search_anime.

ParameterTypeDescription
id *integerMyAnimeList numeric ID.
fillerbooleantrue: only filler episodes; false: leave filler episodes out.
pageinteger1-based page number for pagination (1-20000).
recapbooleantrue: only recap episodes; false: leave recap episodes out.

get_anime_videos Get anime videos

List an anime's promotional videos (PVs/trailers), episode preview clips, and music videos (openings/endings), each with a title, watch URL, thumbnail, and view/like counts where available. This is richer than get_anime's single `trailer` field — use this instead when the caller wants every promo, not just the main one. Get the mal_id from search_anime.

ParameterTypeDescription
id *integerMyAnimeList numeric ID.

get_anime_recommendations Get anime recommendations

Get community recommendations for anime similar to the given mal_id, ordered by votes and capped at the top 25 (no pagination). Get the mal_id from search_anime. Use get_top_anime instead for a global popularity/score ranking not tied to one title, or get_recent_anime_recommendations for a site-wide feed of recommendation pairs not tied to this title either. `sfw`/`sfw_strict` filter NSFW entries out of the recommendation list itself. If Tenrai is unavailable and MAL_CLIENT_ID is set, transparently retries via the official API's own recommendations field (same output shape, but at most 10 entr…

ParameterTypeDescription
id *integerMyAnimeList numeric ID.
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.

get_recent_anime_recommendations Get recent anime recommendations

Get a site-wide feed of recently-submitted anime recommendation pairs (e.g. 'if you liked X, try Y') with the submitting user's own commentary — not tied to any one title. Use get_anime_recommendations instead for recommendations similar to a specific mal_id. No official-API fallback exists for this tool — it always needs Tenrai itself to be reachable.

ParameterTypeDescription
limitintegerMax results per page (1-100).
pageinteger1-based page number for pagination (1-20000).
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.

get_anime_reviews Get anime reviews

Get user reviews for one anime (by mal_id): review text (truncated to 1200 characters), score, spoiler/preliminary flags, episodes watched at review time (`episodes_watched`, not `chapters_read` — that field is manga-only), and community reaction counts. `limit` (default 5) caps how many of the fetched page's reviews come back — it does not itself fetch further pages, use `page` for Tenrai's own 20-per-page listing. `sort`/`preliminary`/`spoilers`/`sentiment` filter/order the underlying set before that cap is applied. Get the mal_id from search_anime.

ParameterTypeDescription
id *integerMyAnimeList numeric ID.
limitintegerHow many of the page's reviews to return (1-20; a page holds 20).
pageinteger1-based page number for pagination (1-20000).
preliminarystringFilter by preliminary. 'true' includes them alongside other reviews, 'false' (default) excludes them, 'only' returns exclusively preliminary reviews.
sentimentstringRestrict to reviews with this overall sentiment tag. Omit for all sentiments.
sortstringSort order. Defaults to most_helpful (Tenrai's own default) when omitted.
spoilersstringFilter by spoiler. 'true' includes them alongside other reviews, 'false' (default) excludes them, 'only' returns exclusively spoiler reviews.

get_manga_recommendations Get manga recommendations

Get community recommendations for manga similar to the given mal_id, ordered by votes and capped at the top 25 (no pagination). Get the mal_id from search_manga. Use get_top_manga instead for a global popularity/score ranking not tied to one title, or get_recent_manga_recommendations for a site-wide feed of recommendation pairs not tied to this title either. `sfw`/`sfw_strict` filter NSFW entries out of the recommendation list itself. If Tenrai is unavailable and MAL_CLIENT_ID is set, transparently retries via the official API's own recommendations field (same output shape, but at most 10 entr…

ParameterTypeDescription
id *integerMyAnimeList numeric ID.
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.

get_recent_manga_recommendations Get recent manga recommendations

Get a site-wide feed of recently-submitted manga recommendation pairs (e.g. 'if you liked X, try Y') with the submitting user's own commentary — not tied to any one title. Use get_manga_recommendations instead for recommendations similar to a specific mal_id. No official-API fallback exists for this tool — it always needs Tenrai itself to be reachable.

ParameterTypeDescription
limitintegerMax results per page (1-100).
pageinteger1-based page number for pagination (1-20000).
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.

get_manga_reviews Get manga reviews

Get user reviews for one manga (by mal_id): review text (truncated to 1200 characters), score, spoiler/preliminary flags, chapters read at review time (`chapters_read`, not `episodes_watched` — that field is anime-only), and community reaction counts. `limit` (default 5) caps how many of the fetched page's reviews come back — it does not itself fetch further pages, use `page` for Tenrai's own 20-per-page listing. `sort`/`preliminary`/`spoilers`/`sentiment` filter/order the underlying set before that cap is applied. Get the mal_id from search_manga.

ParameterTypeDescription
id *integerMyAnimeList numeric ID.
limitintegerHow many of the page's reviews to return (1-20; a page holds 20).
pageinteger1-based page number for pagination (1-20000).
preliminarystringFilter by preliminary. 'true' includes them alongside other reviews, 'false' (default) excludes them, 'only' returns exclusively preliminary reviews.
sentimentstringRestrict to reviews with this overall sentiment tag. Omit for all sentiments.
sortstringSort order. Defaults to most_helpful (Tenrai's own default) when omitted.
spoilersstringFilter by spoiler. 'true' includes them alongside other reviews, 'false' (default) excludes them, 'only' returns exclusively spoiler reviews.

get_top_anime Get top anime

Get anime ranked by all-time score/popularity, not tied to any season. Use `filter` for special rankings (airing, upcoming, bypopularity, favorite); for a specific season's lineup use get_seasonal_anime or get_upcoming_season instead. If Tenrai is unavailable and MAL_CLIENT_ID is set, transparently retries via the official API, which takes one ranking instead of `type` + `filter`: `filter` wins over `type`; a `type` with no official ranking (ona, music, cm, pv, tv_special) or more than one `type` is dropped, and with nothing usable left the all-time ranking is returned; `rating`, `min_score`/`…

ParameterTypeDescription
filterstringSpecial ranking filter.
limitintegerMax results per page (1-100).
max_membersintegerMaximum member count (MAL users with the entry on their list), inclusive — a low cap surfaces lesser-known entries.
max_scorenumberMaximum average MAL score (inclusive), 1-10.
max_yearintegerOnly entries that started in this calendar year or earlier.
min_membersintegerMinimum member count (MAL users with the entry on their list), inclusive.
min_scorenumberMinimum average MAL score (inclusive), 0-10.
min_yearintegerOnly entries that started in this calendar year or later.
pageinteger1-based page number for pagination (1-20000).
ratingarrayRestrict to one or more specific content ratings. More granular than `sfw`/`sfw_strict` — use this to target a precise rating band instead of a blanket adult-content cutoff.
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.
typearrayRestrict to one or more media types.
yeararrayOnly entries that started (aired/published) in one of these calendar years, e.g. [2024]. For anime this can differ from MAL's season year. Cannot be combined with min_year/max_year.

get_top_manga Get top manga

Get manga ranked by all-time score/popularity, not tied to any release window. Use `filter` for special rankings (publishing, upcoming, bypopularity, favorite). If Tenrai is unavailable and MAL_CLIENT_ID is set, transparently retries via the official API, which takes one ranking instead of `type` + `filter`: `filter` publishing/upcoming has no official ranking and is dropped, bypopularity/favorite win over `type`, a single `type` maps to its closest official ranking (novel and lightnovel share one), more than one `type` is dropped, and with nothing usable left the all-time ranking is returned;…

ParameterTypeDescription
filterstringSpecial ranking filter.
limitintegerMax results per page (1-100).
max_membersintegerMaximum member count (MAL users with the entry on their list), inclusive — a low cap surfaces lesser-known entries.
max_scorenumberMaximum average MAL score (inclusive), 1-10.
max_yearintegerOnly entries that started in this calendar year or earlier.
min_membersintegerMinimum member count (MAL users with the entry on their list), inclusive.
min_scorenumberMinimum average MAL score (inclusive), 0-10.
min_yearintegerOnly entries that started in this calendar year or later.
pageinteger1-based page number for pagination (1-20000).
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.
typearrayRestrict to one or more publication types.
yeararrayOnly entries that started (aired/published) in one of these calendar years, e.g. [2024]. For anime this can differ from MAL's season year. Cannot be combined with min_year/max_year.

get_seasonal_anime Get seasonal anime

List anime from a given season — supply both `year` and `season` together, or omit both for the current season; supplying only one is treated as omitting both — a future season works too (e.g. next season's lineup). For everything not yet aired, undated titles included, use get_upcoming_season. If Tenrai is unavailable and MAL_CLIENT_ID is set, transparently retries via the official API — `filter`/`rating`/`unapproved`/`continuing`/`kids` are silently dropped (no equivalent there), `order_by`/`sort` keep only the default members-descending order (anything else comes back unsorted), `them…

ParameterTypeDescription
continuingbooleanIf true, also include TV series continuing from a previous season. Defaults to false.
filterarrayRestrict to one or more media types.
kidsbooleanIf true, exclude entries tagged as children's/kids content. Defaults to false.
limitintegerMax results per page (1-100).
order_bystringField to order by. Defaults to members. Beyond the plain fields: `added` = date MAL added the entry (approved entries only, even with `unapproved`), `score_change_30d` = change in MAL score over the l…
pageinteger1-based page number for pagination (1-20000).
ratingarrayRestrict to one or more specific content ratings. More granular than `sfw`/`sfw_strict` — use this to target a precise rating band instead of a blanket adult-content cutoff.
seasonstringSeason name.
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.
sortstringSort direction; defaults to desc (largest value first), with or without `order_by`, or to asc (A-Z) when ordering by a title. For `rank` and `popularity`, where 1 is the best, pass asc to get the best…
unapprovedstringEntries not yet approved by MAL's moderators: 'true' also includes them, 'false' (default) excludes them, 'only' returns exclusively unapproved entries.
yearintegerFour-digit year, e.g. 2024.

get_anime_schedule Get broadcast schedule

Get the anime broadcast schedule (air times in JST), optionally for a single weekday or for today/tomorrow (or the `unknown`/`other` buckets Tenrai uses for shows with no fixed weekly slot). Shows in the `unknown` bucket carry no `broadcast`. Defaults to 25 results if `limit` is omitted; use `page` for further results.

ParameterTypeDescription
daystringWeekday to filter by, `today`/`tomorrow` (by the date in Japan, so they roll over at 15:00 UTC), or `unknown`/`other` for shows with no fixed weekly slot. Omit for the whole week.
kidsbooleanIf true, exclude entries tagged as children's/kids content. Defaults to false.
limitintegerMax results per page (1-100).
pageinteger1-based page number for pagination (1-20000).
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.
unapprovedstringEntries not yet approved by MAL's moderators: 'true' also includes them, 'false' (default) excludes them, 'only' returns exclusively unapproved entries.

get_anime_genres Get anime genres

List anime genres/themes/demographics with their MAL IDs. Use this to discover the numeric IDs that the `genres` parameter of search_anime expects. `sfw`/`sfw_strict` drop the adult (and, for sfw_strict, Ecchi) genres from the list itself.

ParameterTypeDescription
filterstringRestrict to one kind of tag. Omit to list all.
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.

get_manga_genres Get manga genres

List manga genres/themes/demographics with their MAL IDs. Use this to discover the numeric IDs that the `genres` parameter of search_manga expects. `sfw`/`sfw_strict` drop the adult (and, for sfw_strict, Ecchi) genres from the list itself.

ParameterTypeDescription
filterstringRestrict to one kind of tag. Omit to list all.
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.

search_characters Search characters

Search MyAnimeList characters by name. Returns compact summaries and the mal_id needed by get_character. Use get_anime_characters instead if you already have an anime's mal_id and want its full cast.

ParameterTypeDescription
q *stringCharacter name.
letterstringRestrict results to entries whose title starts with this single letter.
limitintegerMax results per page (1-100).
order_bystringField to order by. The counts — `appearances` (anime + manga), `anime_appearances`, `manga_appearances`, `main_roles`, `supporting_roles`, `voice_languages`, `voice_actors` — and `favorites` list…
pageinteger1-based page number for pagination (1-20000).
sortstringSort direction. Only takes effect together with `order_by`; ignored on its own.

get_character Get character details

Get full details for one character by mal_id: bio, the anime/manga they appear in, and their voice actors. Obtain the mal_id from search_characters or get_anime_characters. `sfw`/`sfw_strict` filter NSFW/adult-adjacent titles out of the character's own anime/manga appearance lists (verified live) rather than affecting the character itself.

ParameterTypeDescription
id *integerMyAnimeList numeric ID.
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.

search_people Search people

Search MyAnimeList people (voice actors, directors, authors) by name. Returns the mal_id needed by get_person.

ParameterTypeDescription
q *stringPerson name.
letterstringRestrict results to entries whose title starts with this single letter.
limitintegerMax results per page (1-100).
order_bystringField to order by. `anime_credits`/`manga_credits` = number of credited works, `voice_roles` = number of characters voiced, `debut`/`last_credit` = start year of the earliest/latest credited work. Cou…
pageinteger1-based page number for pagination (1-20000).
sortstringSort direction. Only takes effect together with `order_by`; ignored on its own.

get_person Get person details

Get full details for one person by mal_id: bio, their anime/manga staff-credit lists, and their voiced roles. Staff credits are capped at the first 200 (only an extreme outlier hits that — a prolific sound director can have 500+; a well-known director sits under 100); when the cap bites, the response says so via `credits_truncated` plus `total_anime_credits`/`total_manga_credits`, and `full_credits: true` returns every entry. `voice_roles` is separately capped at the first 50, in whatever order the upstream API returns them (not necessarily their most notable roles). Obtain the mal_id from s…

ParameterTypeDescription
id *integerMyAnimeList numeric ID.
full_creditsbooleanIf true, return every staff credit instead of the first 200. Only needed for the handful of people whose response reports `credits_truncated`. Defaults to false.
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.

get_anime_staff Get anime staff

List the production staff of an anime (by mal_id) — director, composer, etc. — with their roles. Complements get_anime_characters (which covers voice actors). Get the mal_id from search_anime.

ParameterTypeDescription
id *integerMyAnimeList numeric ID.

get_random_anime Get a random anime

Return one random anime (core details: no `relations`/`streaming`/`opening_themes`/`ending_themes`/`external`/`moreinfo` — call get_anime with the returned mal_id for those). Good for discovery / suggestions. No official-API fallback exists for this tool — it always needs Tenrai itself to be reachable.

ParameterTypeDescription
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.

get_random_manga Get a random manga

Return one random manga (core details: no `relations`/`external`/`moreinfo` — call get_manga with the returned mal_id for those). Good for discovery / suggestions. No official-API fallback exists for this tool — it always needs Tenrai itself to be reachable.

ParameterTypeDescription
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.

get_upcoming_season Get upcoming season anime

List anime not yet aired — every future season and undated titles too, not just next season. For one specific season (the next one, the current one, a past one) use get_seasonal_anime with `year` and `season`. If Tenrai is unavailable and MAL_CLIENT_ID is set, transparently retries via the official API — `filter`/`rating`/`unapproved`/`continuing`/`kids` are silently dropped (no equivalent there), `order_by`/`sort` keep only the default members-descending order (anything else comes back unsorted), `themes`/`demographics`/`broadcast` come back empty, and `sfw_strict` degrades to the same fi…

ParameterTypeDescription
continuingbooleanIf true, also include TV series continuing from a previous season. Defaults to false.
filterarrayRestrict to one or more media types.
kidsbooleanIf true, exclude entries tagged as children's/kids content. Defaults to false.
limitintegerMax results per page (1-100).
order_bystringField to order by. Defaults to members. Beyond the plain fields: `added` = date MAL added the entry (approved entries only, even with `unapproved`), `score_change_30d` = change in MAL score over the l…
pageinteger1-based page number for pagination (1-20000).
ratingarrayRestrict to one or more specific content ratings. More granular than `sfw`/`sfw_strict` — use this to target a precise rating band instead of a blanket adult-content cutoff.
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.
sortstringSort direction; defaults to desc (largest value first), with or without `order_by`, or to asc (A-Z) when ordering by a title. For `rank` and `popularity`, where 1 is the best, pass asc to get the best…
unapprovedstringEntries not yet approved by MAL's moderators: 'true' also includes them, 'false' (default) excludes them, 'only' returns exclusively unapproved entries.

get_anime_statistics Get anime statistics

Get watch-status counts (watching/completed/…) and the score distribution for an anime by mal_id. Get the mal_id from search_anime. If Tenrai is unavailable and MAL_CLIENT_ID is set, transparently retries via the official API, which omits the score distribution (`scores`) entirely — no equivalent field there.

ParameterTypeDescription
id *integerMyAnimeList numeric ID.

get_manga_statistics Get manga statistics

Get read-status counts (reading/completed/…) and the score distribution for a manga by mal_id. Get the mal_id from search_manga. Unlike get_anime_statistics, no official-API fallback exists for this tool — it always needs Tenrai itself to be reachable.

ParameterTypeDescription
id *integerMyAnimeList numeric ID.

get_producers Get producers/studios

List or search anime producers and studios with their MAL IDs and counts. Use `q` to search by name, then get_producer for one studio's full profile (about text, external links), or look up an ID here for search_anime's `producers` filter.

ParameterTypeDescription
letterstringRestrict results to entries whose title starts with this single letter.
limitintegerMax results per page (1-100).
order_bystringField to order by. `count` = number of credited anime, `established` = founding date, `debut`/`last_credit` = start year of the earliest/latest credited anime.
pageinteger1-based page number for pagination (1-20000).
qstringFilter by name.
sortstringSort direction; defaults to asc, and applies with or without `order_by`: pass desc for the most `count` first.

get_producer Get producer/studio details

Get full details for one anime producer/studio by mal_id: about text and external links (official site, social media) alongside the fields get_producers already returns. Obtain the mal_id from get_producers.

ParameterTypeDescription
id *integerMyAnimeList numeric ID.

get_magazines Get manga magazines

List or search manga serialization magazines/publishers (e.g. Weekly Shonen Jump) with their MAL IDs and manga counts. Use `q` to search by name, or look up an ID here for search_manga's `magazines` filter.

ParameterTypeDescription
letterstringRestrict results to entries whose title starts with this single letter.
limitintegerMax results per page (1-100).
order_bystringField to order by.
pageinteger1-based page number for pagination (1-20000).
qstringFilter by name.
sortstringSort direction; defaults to asc, and applies with or without `order_by`: pass desc for the most `count` first.

get_top_people Get top people

Get the most popular/favorited people (voice actors, staff, authors), ranked overall. Use search_people instead to look up a specific person by name.

ParameterTypeDescription
limitintegerMax results per page (1-100).
pageinteger1-based page number for pagination (1-20000).

get_top_characters Get top characters

Get the most popular/favorited characters, ranked overall. Use search_characters instead to look up a specific character by name.

ParameterTypeDescription
limitintegerMax results per page (1-100).
pageinteger1-based page number for pagination (1-20000).

get_seasons_list List available seasons

List the years and seasons that have anime data, so you can pick valid arguments for get_seasonal_anime.

get_random_character Get a random character

Return one random character (core details: no `anime`/`manga`/`voice_actors` — call get_character with the returned mal_id for those). Good for discovery / trivia. No official-API fallback exists for this tool — it always needs Tenrai itself to be reachable.

get_random_person Get a random person

Return one random person — voice actor, director, author (core details: no `anime`/`manga`/`voice_roles` — call get_person with the returned mal_id for those). Good for discovery / trivia. No official-API fallback exists for this tool — it always needs Tenrai itself to be reachable.

get_anime_news Get anime news

List recent news articles about an anime (by mal_id): headline, date, author and excerpt. Useful for 'what's new / any announcements' questions. Get the mal_id from search_anime. Use get_news instead for a site-wide feed not tied to one anime. `sfw`/`sfw_strict` filter out articles for an NSFW/adult-adjacent anime — verified live this can cut the result down sharply (not necessarily to zero) rather than being a no-op.

ParameterTypeDescription
id *integerMyAnimeList numeric ID.
limitintegerMax results per page (1-100).
pageinteger1-based page number for pagination (1-20000).
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.

get_manga_news Get manga news

List recent news articles about a manga (by mal_id): headline, date, author and excerpt. Useful for 'what's new / any announcements' questions. Get the mal_id from search_manga. Use get_news instead for a site-wide feed not tied to one manga. `sfw`/`sfw_strict` filter out articles for an NSFW/adult-adjacent manga — verified live this can cut the result down sharply (not necessarily to zero) rather than being a no-op.

ParameterTypeDescription
id *integerMyAnimeList numeric ID.
limitintegerMax results per page (1-100).
pageinteger1-based page number for pagination (1-20000).
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.

get_interest_stacks Browse interest stacks

Browse or search MyAnimeList Interest Stacks: themed anime/manga lists curated by real users, each entry carrying the curator's own score and note. Use this for taste- or mood-shaped requests ('something melancholy', 'cozy slice-of-life') where a ranking or a genre filter is the wrong instrument — get_top_anime answers 'what is best', this answers 'what goes together'. Returns stack metadata only; pass a stack's mal_id to get_interest_stack for its actual entries. For stacks containing one specific title, use get_anime_interest_stacks/get_manga_interest_stacks instead. No official-API fallba…

ParameterTypeDescription
challengesstringFilter by challenge stacks (watch-along style lists). 'true' includes them alongside the rest, 'false' (default) excludes them, 'only' returns exclusively those.
limitintegerMax results per page (1-100).
officialstringFilter by official MAL-editorial stacks. 'true' includes them alongside the rest, 'false' (default) excludes them, 'only' returns exclusively those.
order_bystringField to order by. Defaults to created_at (newest stacks first).
pageinteger1-based page number for pagination (1-20000).
qstringFree-text search over stack titles and descriptions. Omit to browse all.
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.
sortstringSort direction; defaults to desc (newest/largest first), or asc (A-Z) for `title`, and applies with or without `order_by`.
spoilersstringFilter by stacks flagged as containing spoilers. 'true' includes them alongside the rest, 'false' (default) excludes them, 'only' returns exclusively those.
stack_typestringRestrict to anime stacks or manga stacks. Omit for both.

get_interest_stack Get one interest stack

Get one MyAnimeList Interest Stack by mal_id, with its entries in the curator's own order — each carrying that curator's score (`author_score`) and note. Obtain the stack's mal_id from get_interest_stacks, get_anime_interest_stacks or get_manga_interest_stacks. Every entry's own `mal_id` chains into get_anime or get_manga (the stack's `stack_type` says which). `sfw`/`sfw_strict` filter NSFW entries out of the entry list rather than hiding the stack itself. No official-API fallback exists for this tool — it always needs Tenrai itself to be reachable.

ParameterTypeDescription
id *integerMyAnimeList numeric ID of the interest stack.
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.

get_anime_interest_stacks Get interest stacks containing an anime

List the public MyAnimeList Interest Stacks that include a given anime (by mal_id) — useful for 'what do people group this with' and as a jumping-off point for recommendations rooted in human curation rather than vote counts. Get the mal_id from search_anime. Returns stack metadata only; pass a stack's own mal_id to get_interest_stack for its entries. No official-API fallback exists for this tool — it always needs Tenrai itself to be reachable.

ParameterTypeDescription
id *integerMyAnimeList numeric ID.
challengesstringFilter by challenge stacks (watch-along style lists). 'true' includes them alongside the rest, 'false' (default) excludes them, 'only' returns exclusively those.
limitintegerMax results per page (1-100).
officialstringFilter by official MAL-editorial stacks. 'true' includes them alongside the rest, 'false' (default) excludes them, 'only' returns exclusively those.
order_bystringField to order by. Defaults to created_at (newest stacks first).
pageinteger1-based page number for pagination (1-20000).
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.
sortstringSort direction; defaults to desc (newest/largest first), or asc (A-Z) for `title`, and applies with or without `order_by`.
spoilersstringFilter by stacks flagged as containing spoilers. 'true' includes them alongside the rest, 'false' (default) excludes them, 'only' returns exclusively those.

get_manga_interest_stacks Get interest stacks containing a manga

List the public MyAnimeList Interest Stacks that include a given manga (by mal_id). The manga counterpart of get_anime_interest_stacks. Get the mal_id from search_manga. Returns stack metadata only; pass a stack's own mal_id to get_interest_stack for its entries. No official-API fallback exists for this tool — it always needs Tenrai itself to be reachable.

ParameterTypeDescription
id *integerMyAnimeList numeric ID.
challengesstringFilter by challenge stacks (watch-along style lists). 'true' includes them alongside the rest, 'false' (default) excludes them, 'only' returns exclusively those.
limitintegerMax results per page (1-100).
officialstringFilter by official MAL-editorial stacks. 'true' includes them alongside the rest, 'false' (default) excludes them, 'only' returns exclusively those.
order_bystringField to order by. Defaults to created_at (newest stacks first).
pageinteger1-based page number for pagination (1-20000).
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.
sortstringSort direction; defaults to desc (newest/largest first), or asc (A-Z) for `title`, and applies with or without `order_by`.
spoilersstringFilter by stacks flagged as containing spoilers. 'true' includes them alongside the rest, 'false' (default) excludes them, 'only' returns exclusively those.

get_news Get anime/manga news

List recent MyAnimeList news articles site-wide (headline, date, author, excerpt) — not tied to one anime or manga. Use `q` to search by keyword or `tag` to filter by topic tag. Use get_anime_news/get_manga_news instead for news about one specific anime/manga by mal_id. `sfw`/`sfw_strict` drop articles about adult content.

ParameterTypeDescription
limitintegerMax results per page (1-100).
pageinteger1-based page number for pagination (1-20000).
qstringSearch query, e.g. a keyword or title. Verified live to search beyond just the headline (a real, unfamiliar-sounding title can still match) — don't assume a result's title visibly contains the term.
sfwbooleanIf true, exclude adult/explicit-rated entries (R+ Mild Nudity and up). Defaults to false (no filtering). Note: this alone still allows mainstream, safely-rated shows tagged with the Ecchi genre (fanse…
sfw_strictbooleanIf true, exclude adult/explicit-rated entries AND anything tagged with the Ecchi genre, even otherwise-mainstream/safely-rated shows. Stricter than `sfw` alone. Defaults to false.
tagstringFilter by topic tag. An unrecognized tag returns an empty list, not an error.

get_my_user_info Get my MAL profile

Get the logged-in user's MyAnimeList profile and anime watch-status statistics. Requires a MyAnimeList login. Anime-only — the official API has no manga statistics field at all, and there is no tool for a user's manga read stats.

get_my_anime_list Get my anime list

Get the authenticated user's own anime list, with each entry's status, score and progress. Requires a MyAnimeList login.

ParameterTypeDescription
limitintegerMax results (1-1000).
offsetintegerOffset for pagination.
sortstringSort order. list_score/list_updated_at return highest/most-recent first; anime_title returns A-Z.
statusstringList status bucket.

get_my_manga_list Get my manga list

Get the authenticated user's own manga list, with status, score and progress. Requires a MyAnimeList login.

ParameterTypeDescription
limitintegerMax results (1-1000).
offsetintegerOffset for pagination.
sortstringSort order. list_score/list_updated_at return highest/most-recent first; manga_title returns A-Z.
statusstringList status bucket.

update_my_anime_status Update my anime status

Add or update an anime on the authenticated user's list (status, score, watched episodes, dates). Creates the entry if absent; fields you omit are left unchanged on an existing entry. Provide at least one field besides anime_id. Setting `completed` makes MAL fill in the anime's full episode count, overriding any num_watched_episodes sent with it; the returned status shows what MAL stored. Requires a MyAnimeList login.

ParameterTypeDescription
anime_id *integerMyAnimeList numeric ID of the target entry. (The read tools call this same id `id`; it's named anime_id/manga_id here to match MAL's own write endpoints.) Obtain it from search_anime/search_manga, or…
commentsstringFree-text comments.
finish_datestringDate as YYYY-MM-DD.
is_rewatchingbooleanWhether currently rewatching.
num_times_rewatchedintegerTimes rewatched.
num_watched_episodesintegerEpisodes watched. Note: get_my_anime_list returns this same value as `num_episodes_watched` — the field name is intentionally different here.
priorityintegerList priority: 0 = low, 1 = medium, 2 = high.
rewatch_valueintegerRewatch/reread value: 0 = none … 5 = very high.
scoreintegerScore 0-10 (0 clears the score).
start_datestringDate as YYYY-MM-DD.
statusstringList status bucket.
tagsstringComma-separated free-text tags.

update_my_manga_status Update my manga status

Add or update a manga on the authenticated user's list (status, score, chapters/volumes read, dates). Creates the entry if absent; fields you omit are left unchanged on an existing entry. Provide at least one field besides manga_id. Setting `completed` makes MAL fill in the manga's full chapter and volume counts, overriding any sent with it; the returned status shows what MAL stored. Requires a MyAnimeList login.

ParameterTypeDescription
manga_id *integerMyAnimeList numeric ID of the target entry. (The read tools call this same id `id`; it's named anime_id/manga_id here to match MAL's own write endpoints.) Obtain it from search_anime/search_manga, or…
commentsstringFree-text comments.
finish_datestringDate as YYYY-MM-DD.
is_rereadingbooleanWhether currently rereading.
num_chapters_readintegerChapters read.
num_times_rereadintegerTimes reread.
num_volumes_readintegerVolumes read.
priorityintegerList priority: 0 = low, 1 = medium, 2 = high.
reread_valueintegerRewatch/reread value: 0 = none … 5 = very high.
scoreintegerScore 0-10 (0 clears the score).
start_datestringDate as YYYY-MM-DD.
statusstringList status bucket.
tagsstringComma-separated free-text tags.

delete_my_anime_list_item Remove anime from my list

Remove an anime entry from the authenticated user's list. This cannot be undone. Returns `deleted: true` whenever MAL accepts the request — including when the anime was never on the list to begin with, since MAL's own delete endpoint doesn't distinguish the two — so success alone isn't proof something existed; check get_my_anime_list first if you need to confirm. Requires a MyAnimeList login.

ParameterTypeDescription
anime_id *integerMyAnimeList numeric ID of the target entry. (The read tools call this same id `id`; it's named anime_id/manga_id here to match MAL's own write endpoints.) Obtain it from search_anime/search_manga, or…

delete_my_manga_list_item Remove manga from my list

Remove a manga entry from the authenticated user's list. This cannot be undone. Returns `deleted: true` whenever MAL accepts the request — including when the manga was never on the list to begin with, since MAL's own delete endpoint doesn't distinguish the two — so success alone isn't proof something existed; check get_my_manga_list first if you need to confirm. Requires a MyAnimeList login.

ParameterTypeDescription
manga_id *integerMyAnimeList numeric ID of the target entry. (The read tools call this same id `id`; it's named anime_id/manga_id here to match MAL's own write endpoints.) Obtain it from search_anime/search_manga, or…

login_mal Log in to MyAnimeList

Authorize the personal-list tools with your MyAnimeList account (one-time). Prerequisite: register a MAL API app of type 'other' at https://myanimelist.net/apiconfig with Redirect URI http://localhost:8080/callback (the port is MAL_OAUTH_PORT, default 8080), and set MAL_CLIENT_ID in the server env. Calling this returns an authorization URL: open it, log in, and click Allow. If your browser is on the same machine as the server and the callback port is free, login completes automatically; otherwise (a remote/headless host, or the port is busy) copy the URL you land on and pass it to submit_mal_r…

submit_mal_redirect Finish MyAnimeList login

Complete a login started with login_mal by submitting the URL your browser was redirected to after clicking Allow (the one containing ?code=...). Use this when login didn't complete automatically — e.g. the server runs on a remote/headless host. A bare code string is also accepted.

ParameterTypeDescription
redirect_url *stringThe full redirected URL (contains ?code=...), or just the code value.