mal-mcp-server
Provides tools for interacting with the MyAnimeList API v2: searching anime and manga by keyword, fetching full details for an anime or manga by MAL ID, browsing anime rankings (top, airing, upcoming, movies, OVAs, popularity, favorites) and manga rankings (manga, novels, one-shots, doujin, manhwa, manhua), and listing anime by season/year. List tools support server-side filtering by genre (OR/AND), excluded genres, minimum score, minimum members, media type, airing/publication status, source, and current-season-only, returning human-readable results with scores, genres, synopses and MAL links.
Click on "Deploy 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-mcp-server what are the top rated romance comedy anime right now?"
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-server
An MCP (Model Context Protocol) server that connects AI assistants to the MyAnimeList API v2. Search anime, browse seasonal charts, check rankings, look up manga — all from your AI chat.
What It Does
This server exposes 7 read-only tools to any MCP-compatible client (Claude Desktop, Claude Code, Cursor, etc.):
Tool | Description |
| Search anime by title or keywords |
| Get full details for an anime by MAL ID |
| Browse anime rankings (top, airing, upcoming, movies, etc.) |
| Get anime for a specific season/year |
| Search manga by title or keywords |
| Get full details for a manga by MAL ID |
| Browse manga rankings (top, novels, manhwa, etc.) |
All tools return human-readable formatted text with scores, genres, synopses, MAL links, and more.
The 5 list-returning tools support server-side filtering — genre, score, media type, status, source, and more. The server fetches up to 500 results from MAL and filters client-side, so the AI only sees what matches. This dramatically reduces context pollution for filtered queries.
Related MCP server: ateam-mcp
Prerequisites
Node.js 18+ (uses native
fetch)A MyAnimeList API Client ID (free, takes 2 minutes)
Getting Your MAL Client ID
Go to https://myanimelist.net/apiconfig/create (you'll need a MAL account)
Fill in:
App Name: anything you want (e.g. "My MCP Server")
App Type: "other"
App Description: anything (e.g. "Personal MCP server for anime lookup")
App Redirect URL:
http://localhost(not used for Client ID auth, but the field is required)Homepage URL: optional
Commercial / Non-Commercial: Non-Commercial
Submit. You'll get a Client ID on the next page. Copy it.
Keep your Client ID private. Don't commit it to git or share it publicly.
Installation
# Clone or download this repo
cd mal-mcp-server
# Install dependencies
npm install
# Build
npm run buildConfiguration
The server needs one environment variable:
MAL_CLIENT_ID=your_client_id_hereYou can set this in your MCP client config (see below), in your shell profile, or in a .env file (if you add dotenv support yourself).
Using with Claude Desktop
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"mal": {
"command": "node",
"args": ["/absolute/path/to/mal-mcp-server/dist/index.js"],
"env": {
"MAL_CLIENT_ID": "your_client_id_here"
}
}
}
}Restart Claude Desktop after editing.
Using with Claude Code
Add from your project directory:
claude mcp add mal -- node /absolute/path/to/mal-mcp-server/dist/index.jsThen set the environment variable in your shell before running Claude Code, or add it to the command:
MAL_CLIENT_ID=your_client_id_here claudeAlternatively, add to your Claude Code MCP config (~/.claude/claude_code_config.json or project-level .mcp.json):
{
"mcpServers": {
"mal": {
"command": "node",
"args": ["/absolute/path/to/mal-mcp-server/dist/index.js"],
"env": {
"MAL_CLIENT_ID": "your_client_id_here"
}
}
}
}Example Queries
Once connected, you can ask your AI things like:
"Search MAL for anime about cute cats"
"What's the top rated anime right now?"
"Show me what's airing this season sorted by score"
"Get me the details on Frieren (anime ID 154587)"
"What are the top rated manga?"
"Look up the manga Berserk on MAL"
"What anime aired in summer 2024?"
"Show me action anime this season with a score above 7"
"What are the top rated romance comedy anime?" (uses genre_mode: "and")
"What new anime premiered this winter?" (uses current_season_only)
The AI will call the appropriate tool(s) and present the results.
Tool Details
Shared Filter Parameters
The 5 list-returning tools (mal_search_anime, mal_anime_ranking, mal_anime_seasonal, mal_search_manga, mal_manga_ranking) all support server-side filtering. When any filter is active, the server fetches one 500-item page from the MAL API, filters it client-side, and returns matching results. One tool call = one API call. The bot controls how deep to scan by passing offset on subsequent calls.
Common filters (all list tools):
genres_include(string[]): Only include items with matching genres (case-insensitive). Seegenre_mode.genres_exclude(string[]): Exclude items with any of these genres (case-insensitive)genre_mode("or" | "and"): Howgenres_includematches — "or" = any genre matches (default), "and" = all genres must be presentmin_score(number): Minimum mean score, 0-10min_members(number): Minimum MAL list members
Anime-only filters:
media_type(string[]):"tv","ova","movie","ona","special","music"status(string):"currently_airing","finished_airing","not_yet_aired"source(string[]):"manga","light_novel","original","visual_novel","game","other"
Seasonal-only filter:
current_season_only(boolean): Only show anime whosestart_seasonmatches the queried season (filters out continuing shows like long-runners)
Manga-only filters:
media_type(string[]):"manga","novel","one_shot","doujinshi","manhwa","manhua","oel"status(string):"currently_publishing","finished","not_yet_published"
When filters are active, the output includes a summary and context-aware hints:
Found 8 results out of 500 scanned, showing 5 | Filters: genres(AND)=Action,Romance, min_score>=7.5
More matches found in scanned items. Use offset=234 to continue, or increase limit to see more from this scan.If no matches are found in the scanned area but more API data exists:
Found 0 results out of 500 scanned, showing 0 | Filters: min_score>=9.0
No matches in scanned items. More data available to scan — use offset=500 to search the next section, or try adjusting your filters.mal_search_anime
Search by keywords. Returns title, score, status, type, episodes, genres, studios, season, and MAL link.
Parameters:
query(string, required): Search text, 2-200 charslimit(number): 1-100, default 10offset(number): pagination, default 0nsfw(boolean): include NSFW results, default falsePlus shared filters and anime-only filters
mal_get_anime_details
Fetch comprehensive details by MAL anime ID. Returns everything search does plus: synopsis, background, alternative titles, airing dates, broadcast info, rating, related anime, recommendations, and list statistics.
Parameters:
anime_id(number, required): MAL anime ID
mal_anime_ranking
Ranked lists. Filtered results keep their original MAL rank numbers.
Available ranking types:
all— overall top animeairing— top currently airingupcoming— top upcomingtv— top TV seriesova— top OVAsmovie— top moviesspecial— top specialsbypopularity— most membersfavorite— most favorited
Parameters:
ranking_type(string): default "all"limit(number): 1-100, default 10offset(number): default 0Plus shared filters and anime-only filters
mal_anime_seasonal
Browse anime by season. Defaults to the current season if year/season are omitted.
Parameters:
year(number): 1900-2100, optionalseason(string): "winter" | "spring" | "summer" | "fall", optionalsort(string): "anime_score" | "anime_num_list_users" | "", default ""limit(number): 1-100, default 10offset(number): default 0Plus shared filters, anime-only filters, and
current_season_only
mal_search_manga
Like anime search, but for manga. Returns title, score, type, volumes, chapters, genres, authors.
Parameters:
query(string, required): 2-200 charslimit(number): 1-100, default 10offset(number): default 0nsfw(boolean): default falsePlus shared filters and manga-only filters
mal_get_manga_details
Full manga details by MAL ID. Synopsis, authors, serialization, related works, recommendations.
Parameters:
manga_id(number, required): MAL manga ID
mal_manga_ranking
Ranked manga lists. Filtered results keep their original MAL rank numbers.
Available types: all, manga, novels, oneshots, doujin, manhwa, manhua, bypopularity, favorite.
Parameters:
ranking_type(string): default "all"limit(number): 1-100, default 10offset(number): default 0Plus shared filters and manga-only filters
Architecture
src/
├── index.ts # MCP server setup + all 7 tool registrations
├── client.ts # MAL API client (typed fetch wrapper)
├── filters.ts # Filter schemas, predicates, and filtered-fetch orchestrator
├── format.ts # Response formatting (API data → readable text)
└── types.ts # TypeScript interfaces for MAL API responsesTransport: stdio (runs as a subprocess of your MCP client)
Auth: Uses
X-MAL-CLIENT-IDheader (no OAuth needed for read-only access)No external HTTP library — uses Node.js native
fetchZero runtime dependencies beyond the MCP SDK and Zod
Future Work (Phase 2)
These features would require OAuth 2.0 authentication (PKCE flow):
mal_get_my_animelist— view your anime listmal_update_anime_status— add/update entries on your listmal_anime_suggestions— MAL's personalized suggestionsmal_get_my_mangalist— view your manga listmal_update_manga_status— add/update manga entriesmal_get_user_info— get your profile info
The MAL API uses OAuth 2.0 with PKCE. The general flow would be:
Generate a PKCE code_verifier + code_challenge
Open browser to MAL's auth URL
User authorizes → callback receives an auth code
Exchange code for access_token + refresh_token
Store tokens and auto-refresh when expired
API Agreement
By using the MAL API you agree to their API License and Developer Agreement. Key points:
Keep your Client ID secret
Don't scrape — only access data through the API
Non-commercial personal use is fine
Don't store MAL user personal info server-side
Don't impersonate the MAL experience
License
MIT
Available Tools
7 toolsmal_anime_rankingGet Anime Rankings from MALARead-onlyIdempotent
Get ranked anime lists from MyAnimeList.
Args:
ranking_type: One of "all", "airing", "upcoming", "tv", "ova", "movie", "special", "bypopularity", "favorite" (default: "all")
limit: Max results, 1-100 (default: 10)
offset: Pagination offset (default: 0)
Ranking types:
"all": Overall top anime
"airing": Currently airing top anime
"upcoming": Top upcoming anime
"tv": Top TV series
"movie": Top anime movies
"bypopularity": Most popular (by number of list users)
"favorite": Most favorited
Supports server-side filters: genres_include, genres_exclude, min_score, media_type, status, source, min_members. Filtered results keep their original MAL rank numbers.
Inputs: limit, offset, source, status, +7 more.
mal_anime_seasonalGet Seasonal Anime from MALARead-onlyIdempotent
Get anime for a specific season and year.
Args:
year: The year (e.g. 2025). Defaults to the current year.
season: One of "winter", "spring", "summer", "fall". Defaults to the current season.
sort: Sort by "anime_score", "anime_num_list_users", or "" for default (default: "")
limit: Max results, 1-100 (default: 10)
offset: Pagination offset (default: 0)
Season months:
winter: Jan-Mar
spring: Apr-Jun
summer: Jul-Sep
fall: Oct-Dec
Supports server-side filters: genres_include, genres_exclude, min_score, media_type, status, source, min_members, current_season_only. Use current_season_only to filter out continuing shows and only show new premieres.
Inputs: sort, year, limit, offset, +10 more.
mal_get_anime_detailsGet Anime Details from MALARead-onlyIdempotent
Get full details for a specific anime by its MAL ID.
Returns comprehensive info: title, score, synopsis, genres, studios, episodes, airing dates, related anime, recommendations, and list statistics.
Args:
anime_id: The MyAnimeList anime ID (a positive integer).
Use after searching to get the full picture of a specific anime.
Inputs: anime_id (required).
mal_get_manga_detailsGet Manga Details from MALARead-onlyIdempotent
Get full details for a specific manga by its MAL ID.
Returns comprehensive info: title, score, synopsis, genres, authors, volumes, chapters, related manga, recommendations.
Args:
manga_id: The MyAnimeList manga ID (a positive integer).
Inputs: manga_id (required).
mal_manga_rankingGet Manga Rankings from MALARead-onlyIdempotent
Get ranked manga lists from MyAnimeList.
Args:
ranking_type: One of "all", "manga", "novels", "oneshots", "doujin", "manhwa", "manhua", "bypopularity", "favorite" (default: "all")
limit: Max results, 1-100 (default: 10)
offset: Pagination offset (default: 0)
Ranking types:
"all": Overall top
"manga": Top manga specifically
"novels": Top light novels
"oneshots": Top one-shots
"manhwa": Top Korean manhwa
"manhua": Top Chinese manhua
"bypopularity": Most popular
"favorite": Most favorited
Supports server-side filters: genres_include, genres_exclude, min_score, media_type, status, min_members. Filtered results keep their original MAL rank numbers.
Inputs: limit, offset, status, min_score, +6 more.
mal_search_animeSearch Anime on MALARead-onlyIdempotent
Search for anime on MyAnimeList by title/keywords.
Returns a list of matching anime with scores, genres, episode counts, studios, and MAL links.
Args:
query: Search text (min 2 chars). Can be a title, keyword, or phrase.
limit: Max results to return, 1-100 (default: 10)
offset: Pagination offset (default: 0)
nsfw: Include NSFW results (default: false)
Supports server-side filters: genres_include, genres_exclude, min_score, media_type, status, source, min_members. When filters are active, the server fetches up to 500 results and filters client-side so the AI only sees matching items.
Examples:
"cute animals anime" -> finds anime matching those keywords
"Spy x Family" -> finds that specific anime
query: "fantasy", genres_include: ["Action"], min_score: 7.5 -> top-rated action fantasy anime
Inputs: query (required), nsfw, limit, offset, +8 more.
mal_search_mangaSearch Manga on MALARead-onlyIdempotent
Search for manga on MyAnimeList by title/keywords.
Returns a list of matching manga with scores, genres, volumes, chapters, authors, and MAL links.
Args:
query: Search text (min 2 chars).
limit: Max results, 1-100 (default: 10)
offset: Pagination offset (default: 0)
nsfw: Include NSFW results (default: false)
Supports server-side filters: genres_include, genres_exclude, min_score, media_type, status, min_members. When filters are active, the server fetches up to 500 results and filters client-side so the AI only sees matching items.
Inputs: query (required), nsfw, limit, offset, +7 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
The tool set cleanly separates anime vs manga and search/details/ranking/seasonal workflows. Although ranking and seasonal both list anime, their parameters and use cases are distinct enough to avoid misselection.
All tools use the mal_ prefix and snake_case, which is predictable. However, naming order varies between action_resource patterns like mal_search_anime and resource_action patterns like mal_anime_ranking.
Seven tools is well-scoped for an anime/manga browsing server. Each tool has a clear purpose and there are no obvious filler tools.
The surface covers core search, details, and ranking for both anime and manga, plus seasonal anime lookup. Minor gaps exist, such as character/staff lookups or equivalent seasonal manga browsing, but agents can still accomplish major workflows.
Maintenance
Related MCP Connectors
Connect assistants to your workspace knowledge, skills, and work tools.
Connect AI assistants to Appimate's Business Agent Tools and Services.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to over 30 business tools like Gmail, Slack, and Airtable through a single unified interface. It enables users to perform actions across multiple platforms using natural language without managing individual API integrations.22 npmMIT
- AlicenseAqualityBmaintenanceConnects AI assistants to the ADAS platform, enabling them to build, validate, and deploy multi-agent systems through natural language commands without manual configuration.41618 npm1MIT

Mirlo MCP Serverofficial
FlicenseBqualityBmaintenanceConnects AI assistants to Mirlo workspace for CRM, messaging, and voice operations.21-
Memuaria MCPofficial
AlicenseNot gradedqualityCmaintenanceConnects compatible AI assistants to Memuaria so they can retrieve account and book information, check memory or story draft status, and prepare changes for user review while personal data remains in the Memuaria cloud service.1MIT