anime-mcp-server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Overview
Anime and manga data from AniList, Jikan (MyAnimeList), and Kitsu. Search titles, pull full detail with side-by-side AniList and MAL scores, walk a franchise's relation graph, check the airing schedule, and look up characters, voice actors, and studio filmographies.
Tools
Tool | Description |
| Search anime or manga by title, genre, tag, release year, country, format, or status; anime also supports broadcast seasons. AniList primary; Jikan (MAL) fallback when AniList has no match for a title-only query. |
| Full detail for one anime or manga by AniList ID — synopsis, format, episode/chapter count, status, season, studios, source material, genres and tags (spoiler-flagged), AniList and MAL scores side by side, streaming links, cover/banner, and direct relations. |
| Walks the related-works graph within a hop limit. Lists main entries first, then supplementary entries, each group in release-date order. |
| Airing schedule for a season or upcoming episode window. Season mode lists titles that premiered in the requested season. Upcoming mode returns scheduled episodes within a date window, with UTC timestamp and countdown. |
| Characters and voice actors for a title, or look up a character/VA by name or exact AniList person ID. Name lookups include other matching people; results link to their media appearances. |
| Page AniList recommendations with matching MAL votes, or Jikan candidates resolved through AniList. Reports the selected source and Jikan availability; optionally echoes what you liked. |
| Top, trending, or seasonal rankings. Filterable by genre, tag, and format. Top returns all-time by score; trending uses AniList's trending order; seasonal returns the current or specified season sorted by popularity. |
| A studio's filmography by name or AniList studio ID, optionally restricted to main-studio credits before pagination. Sort by year, score, or popularity. |
Resources
Resource | Description |
| Compact media record by AniList ID — title, synopsis, scores, genres, streaming count, and cover image. Stable URI for injectable context. |
| Caller guide for franchise research, cast-to-career lookups, studio filmographies, and recommendation coverage. Also included in plugin, npm, Docker, and MCPB installs. |
Media resource data is also reachable via tools. Use anime_search_media to discover AniList IDs before fetching its resource URI.
Related MCP server: MyAnimeList MCP Server
Capability reference
anime_search_media tool
Search anime or manga by title, genre, tag,
start_year,country_of_origin(ISO alpha-2, such asJPorKR), format, status, or up to 5 sort values; at least one criterion is required.season/season_yearapply only to anime (anime_only_seasonotherwise).page/per_pagepages results (max 50), andinclude_adult: trueopts into adult titlesResults carry AniList IDs, titles, scores, and episode/chapter counts. AniList is primary; title-only searches with no match can fall back to Jikan at
per_page25 or less. Followhas_next_page; AniListtotal_resultsis exact on a nonempty final page or zero on an empty first page, and null otherwise. Jikan totals remain nullAniList serves only the first 5,000 search, season, and ranking entries; deeper pages fail with
page_depth_exceeded, so narrow the criteria insteadeffectiveQueryechoes normalized criteria on both surfaces. Empty first-page genre searches can suggest the corresponding AniList tag. Year and country filters remain on AniList and suppress the title-only fallback. In a fallback, Jikan supplies candidate order and pagination. AniList supplies every result field. A notice counts candidates without an eligible AniList match
anime_get_media tool
Fetch full detail by AniList
id, with adult content requiringinclude_adult: true; discover IDs throughanime_search_mediaReturns synopsis, genres, spoiler-flagged tags, studios, direct relations, images, separate AniList/MAL scores, release dates at their known precision, episode duration, origin, alternate titles, and supported trailer links. Anime viewing links merge by host, preserving Kitsu language details. Manga reading links retain each distinct AniList language on the same host
data_sourcesidentifies successful supplements; a notice names unavailable supplements. Each optional supplement has one five-second budget.not_foundmeans the ID did not resolve;adult_contentmeans it exists but requires opt-in. Adult direct relations are omitted without opt-in, with a countfull_text: truereturns the complete result as fenced JSON; by default the synopsis is a 500-character preview and tags and relations are shortened, with counts of what was omitted
anime_get_relations tool
Walk a franchise from an AniList
idup tomax_depthhops (default 2, max 4). Adult roots requireinclude_adult: true; without opt-in, adult relations are omitted and not traversedReturns
mainandsupplementaryentries with country of origin, season year and episode/chapter counts, ordered by release date within each group.not_foundmeans the root ID did not resolve;adult_contentidentifies an adult root without opt-indepth,parent_id,relation_to_parent, andpathshow the shortest route to each entry.relation_to_rootis set only for entries linked directly to the root, and is null otherwise. Entries at the hop limit are returned without their own relations;depth_reachedis the deepest hop returned
anime_get_schedule tool
To find episodes of continuing series, use
upcoming. The premiere catalog inseasonmode requiresseasonandseason_year;upcomingusesdays_ahead(default 7, max 30). Page withpage/per_page(max 50); adult titles requireinclude_adult: trueReturns UTC ISO 8601 airing times and
time_until_airing_seconds. Upcoming text includes total episodes when known and uses minutes below one hour. Followhas_next_page;total_resultsis exact only on the final season page.invalid_seasonandconflicting_inputsidentify invalid mode inputs
anime_find_characters tool
Supply exactly one of media
id,character_name,character_id,voice_actor_name, orvoice_actor_id.languagefilters only media cast lookups; useJAPANESEfor Japanese credits only.per_pagedefaults to 10 and is capped at 25; omitted language retains every returned dub languageAdult cast roots require
include_adult: true. The same opt-in reveals adult appearances and voice roles. Name lookups retain the selected hit and offerother_matchesfrom the first suggestion page, with independent continuation and availability. Exact person IDs select a known character or staff member directly.truncated: truecarries next-page guidance for capped cast lists;media_not_found/not_founddistinguish an unknown media ID from an unmatched personvoice_actor_data_available: falsemeans the provider had no voice actor data, as opposed to an empty list.full_text: truereturns every role on the page and the full biography as fenced JSON; by default biographies are 500-character previews and staff roles stop at 20, with counts of what was omitted
anime_get_recommendations tool
Fetch recommendations for an AniList
idwithsource: "anilist"(default) orsource: "jikan"; optionalliked_aspectsis echoed unchanged. AniList pages its recommendations and adds matching MAL votes. Jikan deduplicates its supplied list by maximum votes, orders votes descending/MAL ID ascending, and locally pages candidates withpage/per_page(max 25) before resolving that slice through AniList. Adult roots and entries requireinclude_adult: true; unresolved candidates remain omitted.has_next_pagefollows the selected source even on fully filtered pages, without backfill. Jikan does not guarantee a global ranking or a stable snapshot across callsBoth surfaces report
sourceandjikan_status(available,unavailable, ornot_applicablewhen the source lacks a MAL ID), plus separateanilist_rating,jikan_votes, and itemsources. Jikan mode uses nullanilist_ratingandsources: ["jikan"]. Optional annotation failures retain AniList results; selected Jikan/resolution failures return retry-or-switch guidance.truncated: truesupplies continuation with the same source;not_foundmeans the source ID did not resolve, while valid empty pages succeedEvery recommendation exposes
is_adult. Identified adult omissions receive a counted notice; unresolved MAL candidates are not assumed to be adult
anime_get_rankings tool
Rank
ANIMEorMANGAintop/trending;seasonaland season/year filters apply only toANIME(anime_only_seasonotherwise). Genre/tag/format filters andpage/per_page(max 50) remain available. Adult titles requireinclude_adult: trueEntries carry 1-based
rank,country_of_origin, and their broadcastseason; the response'sseason_labeldescribes the requested ranking. Empty first-page genre results can suggest a matching AniList tag. Followhas_next_page;total_resultsis exact on a nonempty final page or zero on an empty first page, and null otherwise. Seasonal mode takesseason/season_yeartogether or neither for the current season (invalid_seasonotherwise)
anime_get_studio tool
Identify a studio with exactly one of
nameorid; IDs come fromanime_get_media.studios[].idor a studio lookup'sstudio_id. Sort by popularity, score, or release date and page withpage/per_page(max 25). Setmain_only: trueto filter to main-studio credits before pagingAdult studio credits require
include_adult: true. Returns one row per distinct visible title within the page, withis_main_studioidentifying main credits. Followhas_next_page;total_titlesis exact only when the whole filmography fits on page 1.not_foundmeans the studio did not resolve
anime://media/{id} resource
Read a compact
application/jsonmedia record using an AniListidfromanime_search_mediaoranime_get_mediaThe ID must be a whole number from 1 to 2147483647; anything else fails with
invalid_idbefore any upstream callReturns title variants, synopsis, scores, genres, streaming count, and cover image; use
anime_get_mediafor tags, studios, streaming links, and relationsAdult IDs return
adult_content; useanime_get_mediawithinclude_adult: truefor adult detail.streaming_countcounts the same viewing or reading links as the media tool.data_sourcesidentifies retrieved records. Anoticenames failed supplement requests
Features
Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
Anime/manga-specific:
Three-source architecture: AniList GraphQL (primary), Jikan v4 REST (MAL scores + recommendations), Kitsu JSON:API (streaming links with sub/dub language detail)
ID reconciliation via AniList's
idMalbridge — no cross-source ID guessingFranchise relation graph traversal with release-date ordering within the main and supplementary groups
Rate-limit-aware service layer: AniList 30 req/30s with automatic backoff; Jikan 350ms floor between calls
Keyless by design — all three sources are public and require no API credentials
Agent-friendly output:
Dual scores surfaced separately — AniList
meanScore(0–100) and MALscore(0–10) with population size (scored_by) so agents can reason about weight; never blended into a compositeSpoiler flags — the tag summary hides spoiler/adult tags; structured output and
full_text: truecarry all tags with their flagsSupplement provenance —
anime_get_media.data_sourcesreports whether AniList, MAL/Jikan, and Kitsu data was retrieved; an unavailable supplement leaves its flag falseUTC timestamps throughout; season labels echoed (
WINTER 2024) to avoid the winter/spring/summer/fall boundary footgun
Getting started
No API keys required — all three upstream sources (AniList, Jikan, Kitsu) are keyless public APIs.
Add the following to your MCP client configuration file:
{
"mcpServers": {
"anime-mcp-server": {
"type": "stdio",
"command": "bunx",
"args": ["@cyanheads/anime-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info"
}
}
}
}Or with npx (no Bun required):
{
"mcpServers": {
"anime-mcp-server": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@cyanheads/anime-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info"
}
}
}
}Or with Docker:
{
"mcpServers": {
"anime-mcp-server": {
"type": "stdio",
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "MCP_TRANSPORT_TYPE=stdio",
"ghcr.io/cyanheads/anime-mcp-server:latest"
]
}
}
}For Streamable HTTP, set the transport and start the server:
MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 bun run start:http
# Server listens at http://localhost:3010/mcpPrerequisites
Bun v1.4.4 or higher (or Node.js v24+). No API keys needed.
Installation
Clone the repository:
git clone https://github.com/cyanheads/anime-mcp-server.gitNavigate into the directory:
cd anime-mcp-serverInstall dependencies:
bun installConfigure environment (optional):
cp .env.example .env
# edit .env if you want to change transport or log levelConfiguration
No server-specific env vars are required. All framework variables are optional with sensible defaults.
Variable | Description | Default |
| Transport: |
|
| Port for HTTP server. |
|
| Hostname for HTTP server. |
|
| Endpoint path for the MCP server. |
|
| Session mode: |
|
| Auth mode: |
|
| Log level (RFC 5424): |
|
| Log failed calls' arguments and results, redacted by key name and capped at |
|
| Enable OpenTelemetry instrumentation. |
|
See .env.example for the full list of optional overrides.
Running the server
Local development
Build and run:
# One-time build bun run rebuild # Run the built server bun run start:stdio # or bun run start:httpRun checks and tests:
bun run devcheck # Lint, format, typecheck, security bun run test # Vitest test suite bun run lint:mcp # Validate MCP definitions against spec
Docker
docker build -t anime-mcp-server .
docker run --rm -p 3010:3010 anime-mcp-serverThe Dockerfile defaults to HTTP transport, stateless session mode, and logs to /var/log/anime-mcp-server. OpenTelemetry peer dependencies are installed by default — build with --build-arg OTEL_ENABLED=false to omit them.
Project structure
Directory | Purpose |
|
|
| Tool definitions ( |
| Resource definitions ( |
| AniList GraphQL client — primary source for all queries. |
| Jikan v4 REST client — MAL scores and recommendations. |
| Kitsu JSON:API client — streaming links with sub/dub language detail. |
| Unit and integration tests mirroring |
| Published caller guide, available through plugins and MCP skill discovery. |
| Per-version changelog files ( |
Development guide
See CLAUDE.md/AGENTS.md for development guidelines and architectural rules. The short version:
Handlers throw, framework catches — no
try/catchin tool logicUse
ctx.logfor request-scoped logging,ctx.statefor tenant-scoped storageRegister new tools and resources via the barrels in
src/mcp-server/*/definitions/index.tsWrap external API calls: validate raw → normalize to domain type → return output schema; never fabricate missing fields
AniList is primary — supplement failures (Jikan, Kitsu) degrade gracefully via
Promise.allSettled
Contributing
Issues are welcome. Run checks and tests before submitting:
bun run devcheck
bun run testLicense
Apache-2.0 — see LICENSE for details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Unofficial AniList MCP — wraps AniList GraphQL API (free, no auth)
Unofficial Jikan MCP — wraps the Jikan v4 API (anime/manga data, free, no auth)
Access and interact with anime and manga data seamlessly. Retrieve detailed information about your…
AnimeQuotes MCP — wraps animechan.io (free, no auth)
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol server that provides access to MyAnimeList's API for anime and manga data. It enables users to search, view rankings, manage their personal lists, and get recommendations through Claude and other MCP clients.2MIT
- AlicenseBqualityDmaintenanceMCP Server for interacting with the MyAnimeList API, allowing LLM clients to access and interact with anime, manga and more.154MIT
- AlicenseAqualityBmaintenanceMCP 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).54382 npm5MIT
- AlicenseAqualityBmaintenanceMCP server for Anime News Network, enabling search of anime and manga encyclopedia entries, retrieval of details like cast, staff, and episodes, and access to news feeds. No API key or configuration required.4119 npmMIT