komga-enhanced

Metadata Plugins

Enhance your library with rich metadata from MangaDex and AniList.

Available Plugins

Plugin Source Features
MangaDex MangaDex API Titles, descriptions, authors, tags, covers
AniList AniList GraphQL Titles, descriptions, genres, scores, staff

MangaDex Metadata Plugin

Fetches metadata directly from MangaDex for downloaded manga.

Features

Configuration

curl -X PUT http://localhost:25600/api/v1/plugins/mangadex/config \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": true,
    "preferredTitleLanguage": "en",
    "fallbackLanguages": ["ja-ro", "ja"]
  }'

Language Options

Code Language
en English
ja Japanese
ja-ro Japanese Romanized
ko Korean
ko-ro Korean Romanized
zh Chinese (Simplified)
zh-hk Chinese (Traditional)
es Spanish
fr French
de German

How It Works

  1. During library scan, checks for MangaDex URL in series.json
  2. Fetches metadata from MangaDex API
  3. Maps fields to Komga metadata format
  4. Updates series metadata

series.json Format

Create series.json in your series folder:

{
  "mangadexId": "a1c7c817-4e59-43b7-9365-09c5f56e5eb1"
}

Or with full URL:

{
  "mangadexUrl": "https://mangadex.org/title/a1c7c817-4e59-43b7-9365-09c5f56e5eb1"
}

AniList Metadata Plugin

Fetches metadata from AniList using GraphQL API.

Features

Configuration

curl -X PUT http://localhost:25600/api/v1/plugins/anilist/config \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": true,
    "preferredTitleType": "english",
    "fallbackTitleTypes": ["romaji", "native"]
  }'

Title Type Options

Type Example
english “Attack on Titan”
romaji “Shingeki no Kyojin”
native “進撃の巨人”

series.json Format

{
  "anilistId": 16498
}

Or with URL:

{
  "anilistUrl": "https://anilist.co/manga/16498"
}

Plugin Priority

When multiple plugins can provide metadata:

  1. Local series.json overrides always take priority
  2. MangaDex plugin runs first (if URL available)
  3. AniList plugin runs second (if ID available)
  4. Existing Komga metadata preserved if not overwritten

Automatic Detection

For downloaded manga, metadata sources are detected automatically:

Field Mapping

MangaDex to Komga

MangaDex Komga
title Series title
description Summary
author Writers
artist Pencillers
tags Tags
status Status
contentRating Age rating

AniList to Komga

AniList Komga
title Series title
description Summary
staff (author) Writers
staff (artist) Pencillers
genres Genres
status Status

Troubleshooting

Metadata not updating

Wrong title language

API rate limits

Manual Refresh

Force metadata refresh for a series:

curl -X POST http://localhost:25600/api/v1/series/{seriesId}/metadata/refresh