AniList MCP Serverのロゴ

AniList MCP Server

コミュニティ
yuna0x0

AniList MCP server for accessing anime and manga data

公開者yuna0x0
リポジトリanilist-mcp
言語TypeScript
フォーク
16
スター
88
利用可能なツール
44
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    AniList MCP Serverは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 利用可能なツール(44個)

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースプロジェクトの注目度

    リンク先のリポジトリには88件のスターと16件のフォークがあります。

AniList MCP Server

A Model Context Protocol (MCP) server that interfaces with the AniList API, allowing LLM clients to access and interact with anime, manga, character, staff, and user data from AniList.

Features

  • Search for anime, manga, characters, staff, and studios
  • Get detailed information about specific anime, manga, characters, and staff members
  • Access user profiles and lists
  • Support for advanced filtering options
  • Retrieve genres and media tags
  • Dual transport support: Both HTTP and STDIO transports
  • Cloud deployment ready: Support Smithery and other platforms

Requirements

  • Node.js 18+

Local Installation (STDIO Transport)

  1. Add this server to your mcp.json / claude_desktop_config.json:
json
{
  "mcpServers": {
    "anilist": {
      "command": "npx",
      "args": ["-y", "anilist-mcp"],
      "env": {
        "ANILIST_TOKEN": "your_api_token"
      }
    }
  }
}

You may remove the env object entirely, if you are not planning to use the AniList Token for operations that require login.

  1. Restart your MCP client (e.g., Claude Desktop)
  2. Use the tools to interact with AniList

Server Deployment (HTTP Transport)

Self-Hosting

Follow the Local Development instructions to set up the project locally, then run:

bash
pnpm run start:http

This will start the server on port 8081 by default. You can change the port by setting the PORT environment variable.

Cloud Deployment

You can deploy this MCP server to any cloud platform that supports Node.js server applications.

You can also deploy via MCP platforms like Smithery.

Configuration

Environment Variables (STDIO Transport and HTTP Transport server where host provides the config)

When using the STDIO transport or hosting the HTTP transport server, you can pass configuration via environment variables:

  • ANILIST_TOKEN: (Optional) AniList API Token (Only needed for operations that require login)

[!CAUTION] If you are hosting the HTTP transport server with token pre-configured, you should protect your endpoint and implement authentication before allowing users to access it. Otherwise, anyone can access your MCP server while using your AniList token.

HTTP Headers (HTTP Transport where user provides the config)

When using the HTTP transport, user can pass configuration via HTTP headers:

  • Anilist-Token: (Optional) AniList API Token (Only needed for operations that require login)

If the user provides the token in the header, while the server also has ANILIST_TOKEN set, the header value will take precedence.

Get an AniList API Token (Optional)

To get an API token, follow these steps:

  1. Go to AniList settings.
  2. Click on "Create New Client".
  3. Use this URL as your client's "Redirect URL":
https://anilist.co/api/v2/oauth/pin
  1. Click "Save"
  2. Then go to https://anilist.co/api/v2/oauth/authorize?client_id={clientID}&response_type=token, replace the {clientID} with the client ID you get. It will ask you to log in and then provide you with the token to use.
  3. Copy the generated token and use it in your .env file or environment variables.

Available Tools

Misc Tools

  • get_genres: Get all available genres on AniList
  • get_media_tags: Get all available media tags on AniList
  • get_site_statistics: Get AniList site statistics over the last seven days
  • get_studio: Get information about a studio by its AniList ID or name
  • favourite_studio: [Requires Login] Favourite or unfavourite a studio by its ID

Activity Tools

  • delete_activity: [Requires Login] Delete the current authorized user's activity post
  • get_activity: Get a specific AniList activity by its ID
  • get_user_activity: Fetch activities from a user
  • post_message_activity: [Requires Login] Post a new message activity or update an existing one
  • post_text_activity: [Requires Login] Post a new text activity or update an existing one

List Tools

  • get_user_anime_list: Get a user's anime list
  • get_user_manga_list: Get a user's manga list
  • add_list_entry: [Requires Login] Add an entry to the authorized user's list
  • remove_list_entry: [Requires Login] Remove an entry from the authorized user's list
  • update_list_entry: [Requires Login] Update an entry on the authorized user's list

Media Tools

  • get_anime: Get detailed information about an anime by its AniList ID
  • get_manga: Get detailed information about a manga by its AniList ID
  • favourite_anime: [Requires Login] Favourite or unfavourite an anime by its ID
  • favourite_manga: [Requires Login] Favourite or unfavourite a manga by its ID

People Tools

  • get_character: Get information about a character by their AniList ID
  • get_staff: Get information about staff member by their AniList ID
  • favourite_character: [Requires Login] Favourite or unfavourite a character by its ID
  • favourite_staff: [Requires Login] Favourite or unfavourite a staff member by their ID
  • get_todays_birthday_characters: Get all characters whose birthday is today
  • get_todays_birthday_staff: Get all staff members whose birthday is today

Recommendation Tools

  • get_recommendation: Get an AniList recommendation by its ID
  • get_recommendations_for_media: Get AniList recommendations for a specific media

Search Tools

  • search_activity: Search for activities on AniList
  • search_anime: Search for anime with query term and filters
  • search_manga: Search for manga with query term and filters
  • search_character: Search for characters based on a query term
  • search_staff: Search for staff members based on a query term
  • search_studio: Search for studios based on a query term
  • search_user: Search for users on AniList

Thread Tools

  • get_thread: Get a specific thread by its AniList ID
  • get_thread_comments: Get comments for a specific thread
  • delete_thread: [Requires Login] Delete a thread by its ID

User Tools

  • get_user_profile: Get a user's AniList profile
  • get_user_stats: Get a user's AniList statistics
  • get_full_user_info: Get a user's complete profile and stats information
  • get_user_recent_activity: Get recent activity from a user
  • get_authorized_user: [Requires Login] Get profile information of the currently authorized user
  • follow_user: [Requires Login] Follow or unfollow a user by their ID
  • update_user: [Requires Login] Update user settings

Example Usage

Basic Anime Search

Can you search for anime similar to "Bocchi the Rock!"?

Get Character Info

Can you tell me about the character Hitori Gotou? Use the AniList tools to find information.

Compare Studio Works

What anime has Studio Ghibli produced? Can you list their most popular works?

Local Development

This project uses pnpm as its package manager.

Clone the repository and install dependencies:

bash
git clone https://github.com/yuna0x0/anilist-mcp.git
cd anilist-mcp
pnpm install

Configuration (Optional)

  1. Create a .env file by copying the example:
bash
cp env.example .env
  1. Edit the .env file and add your AniList API token:
ANILIST_TOKEN=your_api_token

Debugging with MCP Inspector

You can use the MCP Inspector to test and debug the AniList MCP server:

bash
npx @modelcontextprotocol/inspector -e ANILIST_TOKEN=your_api_token npx anilist-mcp

# Use this instead when Local Development
pnpm run inspector

Then open your browser to the provided URL (usually http://localhost:6274) to access the MCP Inspector interface. From there, you can:

  1. Connect to your running AniList MCP server
  2. Browse available tools
  3. Run tools with custom parameters
  4. View the responses

This is particularly useful for testing your setup before connecting it to MCP clients like Claude Desktop.

Docker

Pull from GitHub Container Registry:

bash
docker pull ghcr.io/yuna0x0/anilist-mcp

Docker build (Local Development):

bash
docker build -t ghcr.io/yuna0x0/anilist-mcp .

Docker multi-platform build (Local Development):

bash
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/yuna0x0/anilist-mcp .

MCP Bundles (MCPB)

To create an MCP Bundle for this server, run:

bash
pnpm run pack:mcpb

Security Notice

This MCP server accepts your AniList API token in the .env file, environment variable or HTTP header. Keep this information secure and never commit it to version control.

License

This project is licensed under the MIT License - see the LICENSE file for details.

インストール

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "yuna0x0-anilist-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "anilist-mcp"
      ]
    }
  }
}

利用可能なツール

  • favourite_studio

    [Requires Login] Favourite or unfavourite a studio by its ID

  • get_genres

    Get all available genres on AniList

  • get_media_tags

    Get all available media tags on AniList

  • get_site_statistics

    Get AniList site statistics over the last seven days

  • get_studio

    Get information about a studio by its AniList ID or name

  • delete_activity

    [Requires Login] Delete the current authorized user's activity post

  • get_activity

    Get a specific AniList activity by its ID

  • get_user_activity

    Fetch activities from a user

  • post_message_activity

    [Requires Login] Post a new message activity or update an existing one

  • post_text_activity

    [Requires Login] Post a new text activity or update an existing one

  • add_list_entry

    [Requires Login] Add an entry to the authorized user's list

  • get_user_anime_list

    Get a user's anime list

  • get_user_manga_list

    Get a user's manga list

  • remove_list_entry

    [Requires Login] Remove an entry from the authorized user's list

  • update_list_entry

    [Requires Login] Update an entry on the authorized user's list

  • get_anime

    Get detailed information about an anime by its AniList ID

  • favourite_anime

    [Requires Login] Favourite or unfavourite an anime by its ID

  • favourite_manga

    [Requires Login] Favourite or unfavourite a manga by its ID

  • get_manga

    Get detailed information about a manga by its AniList ID

  • get_character

    Get information about a character by their AniList ID or name

  • favourite_character

    [Requires Login] Favourite or unfavourite a character by its ID

  • favourite_staff

    [Requires Login] Favourite or unfavourite a staff member by their ID

  • get_todays_birthday_characters

    Get all characters whose birthday is today

  • get_todays_birthday_staff

    Get all staff members whose birthday is today

  • get_staff

    Get information about staff member by their AniList ID or name

  • get_recommendation

    Get an AniList recommendation by its ID

  • get_recommendations_for_media

    Get AniList recommendations for a specific media

  • search_activity

    Search for activities on AniList

  • search_anime

    Search for anime with query term and filters

  • search_character

    Search for characters based on a query term

  • search_manga

    Search for manga with query term and filters

  • search_staff

    Search for staff members based on a query term

  • search_studio

    Search for studios based on a query term

  • search_user

    Search for users on AniList

  • delete_thread

    [Requires Login] Delete a thread by its ID

  • get_thread

    Get a specific thread by its AniList ID

  • get_thread_comments

    Get comments for a specific thread

  • get_full_user_info

    Get a user's complete profile and stats information

  • follow_user

    [Requires Login] Follow or unfollow a user by their ID

  • get_authorized_user

    [Requires Login] Get profile information of the currently authorized user

  • get_user_recent_activity

    Get recent activity from a user

  • get_user_profile

    Get a user's AniList profile

  • get_user_stats

    Get a user's AniList statistics

  • update_user

    [Requires Login] Update user settings

AniList MCP ServerのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度AniList MCP Serverに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」→「詳細設定」→「Model Context Protocol」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「Model Context Protocol」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

AniList MCP Serverをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. AniList MCP ServerのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタのステータスが「準備完了」のままか確認するには、画面を更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "yuna0x0-anilist-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "anilist-mcp"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてAniList MCP ServerのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. AniList MCP ServerのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
AniList MCP Serverを使ってこのタスクを手伝ってもらえますか?
AniList MCP Server
はい、読みました。
AniList MCP Serverで調べた結果をお伝えします。

よくある質問

AniList MCP Server MCPサーバーは何に使いますか?

AniList MCP Serverは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでは、複数のAIモデルでAniList MCP Server MCPを利用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでAniList MCP Serverを利用できます。

TypingMindでAniList MCP Server MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けのトップクラスのフロントエンドです。AniList MCP Serverを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

AniList MCP Server MCPをTypingMindに接続するにはどうすればよいですか?

AniList MCP ServerはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでAniList MCP Server MCPのどのようなツールを利用できますか?

AniList MCP Serverは44個のMCPツールを提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

AniList MCP Server MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。AniList MCP Serverで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇