kavita_stats
Retrieve Kavita server statistics and reading analytics for users, libraries, genres, authors, series, devices, and file counts to analyze reading activity.
Instructions
kavita_stats covers the stats toolset (33 operations). Auth is the x-api-key header, or a JWT from KAVITA_USERNAME and KAVITA_PASSWORD. Self-hosted Kavita only. action help with target returns one action's parameters. Actions: get_avg_time_by_hour, get_day_breakdown, get_device_client_type, get_device_device_type, get_favorite_authors, get_files_added_over_time, get_genre_breakdown, get_most_active_users, get_page_spread, get_pages_per_year, get_popular_decades, get_popular_genres, get_popular_libraries, get_popular_people, get_popular_reading_list, get_popular_series, get_popular_tags, get_reading_activity, get_reading_counts, get_reading_history, get_reading_history_series, get_reading_pace, get_reads_by_month, get_server_count_manga_format, get_server_count_publication_status, get_server_file_breakdown, get_server_stats, get_tag_breakdown, get_total_reads, get_user_read, get_user_stats, get_word_spread, get_words_per_year.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "kavita_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for the Kavita operation. Secrets are redacted in output. | |
| query | No | OpenAPI query parameters. | |
| action | Yes | Kavita operation to call, or help. | |
| params | No | OpenAPI path parameters, such as seriesId. | |
| target | No | With action help, the action whose parameters to describe. |