Skip to main content
Glama
hardcover-mcp

hardcover-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP port. Defaults to `8000`.8000
MCP_TRANSPORTNoTransport to use: `stdio` or `http`. Defaults to `stdio` (`http` in the Docker image).
HARDCOVER_API_KEYYesHardcover API key from your account settings. The value includes the `Bearer ` prefix.
MCP_ALLOWED_HOSTSNoComma-separated hostnames allowed in the `Host` header. Defaults to any host. Required when running behind a reverse proxy.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Use Hardcover for authorized book/library/list workflows. Start with hardcover_get_rate_limit or hardcover://quota (zero network calls). hardcover://guide explains limits. Discovery and prompt retrieval are local; reading profile/shelf/book/goal/list resources calls the remote API and costs quota. Costs are top-level GraphQL fields, not HTTP requests: aliases and aggregates count separately; nested fields are free, every attempt costs at least one. Reuse known user IDs to avoid profile lookups, use bounded pages, and do not fan out per-book details. Free documentation: 5000/day, burst 10; Supporter: 50000/day, burst 15; both refill 60/minute. This account's tier is unknown until headers identify it; do not infer it. RateLimit, RateLimit-Policy and Retry-After override local estimates. Other account clients/restarts make estimates uncertain. Reads may retry only HTTP 429/503 up to 3 total attempts, charging again; queue and pacing/backoff each wait at most 10 seconds. Honor reported cooldowns; stop rather than loop on exhaustion. Mutations are NEVER automatically replayed, even after a timeout, 429 or 5xx. Ambiguous writes require a bounded read to reconcile remote state before any user-directed retry. Annotations are hints, not authorization or approval gates. Text remains human-readable; structuredContent.data retains machine fields and pagination that markdown omits. Truncation metadata/errors/partial GraphQL data must not be treated as complete success. Shelves/list templates provide bounded pages, not full libraries; continue only within an agreed budget. Never silently mutate while reviewing or recommending.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
hardcover_get_bookA

Get detailed information about a book by its Hardcover ID. Returns title, description, pages, rating, and up to 20 authors/contributions, 30 tags, 20 series and 5 editions. Nested collections may be incomplete. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_find_booksA

Query books with filters. Filter by title, author name, release year range, or minimum rating. Results are ordered by rating by default. [API cost: up to 2 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_search_booksA

Full-text search for books using Hardcover's Typesense search engine. Better than find_books for natural language queries like 'fantasy dragons' or 'mystery thriller'. [API cost: up to 2 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups. Empty search: 1 field; search plus batched details: 2.

hardcover_get_authorA

Get detailed information about an author by ID, including biography, dates, and up to 20 top-rated books (may be incomplete). [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_find_authorsA

Search for authors by name. Use hardcover_search with type 'Author' for fuzzy/full-text search instead. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_get_seriesA

Get a book series by ID, including up to 100 books in order with their positions (may be incomplete). [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_find_seriesA

Search for book series by name. Use hardcover_search with type 'Series' for fuzzy/full-text search. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_find_editionsA

Find editions of a book. Filter by book ID, ISBN-13, ISBN-10, or ASIN. Returns edition details including format, publisher, and page count. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_get_meA

Get the authenticated user's profile including username, bio, book count, and follower stats. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_get_userA

Get a user's public profile by their ID or username. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_get_user_booksA

Get books from a user's library. Filter by status: 1=Want to Read, 2=Currently Reading, 3=Read, 4=Paused, 5=Did Not Finish, 6=Ignored. If no user_id provided, returns the authenticated user's library. [API cost: up to 2 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups. With user_id: 1 field; without: up to 2 (me + data).

hardcover_add_user_bookA

Add a book to your library with a reading status. Status: 1=Want to Read, 2=Currently Reading, 3=Read, 4=Paused, 5=Did Not Finish, 6=Ignored. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups. Never automatically replay a write. On timeout/connection loss/5xx, reconcile remote state before any authorized retry. Hints are not approval gates.

hardcover_update_user_bookA

Update a book in your library. Change status, rating (0-5, supports halves like 3.5), or review text. Use hardcover_get_user_books to find the user_book_id first. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups. Never automatically replay a write. On timeout/connection loss/5xx, reconcile remote state before any authorized retry. Hints are not approval gates.

hardcover_remove_user_bookA

Remove a book from your library. This is irreversible. Use hardcover_get_user_books to find the user_book_id. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups. Never automatically replay a write. On timeout/connection loss/5xx, reconcile remote state before any authorized retry. Hints are not approval gates.

hardcover_get_listA

Get a list by ID with its first 50 books (not a complete list). Use hardcover://lists/{list_id}/{limit}/{offset} for subsequent bounded pages. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_find_listsA

Search for lists. Optionally filter by user ID or public visibility. [API cost: up to 2 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_create_listA

Create a new list. Privacy: 1=Public, 2=Followers only, 3=Private (default: Public). [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups. Never automatically replay a write. On timeout/connection loss/5xx, reconcile remote state before any authorized retry. Hints are not approval gates.

hardcover_update_listA

Update a list's name, description, or privacy setting. You must own the list. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups. Never automatically replay a write. On timeout/connection loss/5xx, reconcile remote state before any authorized retry. Hints are not approval gates.

hardcover_delete_listA

Permanently delete a list. This is irreversible. You must own the list. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups. Never automatically replay a write. On timeout/connection loss/5xx, reconcile remote state before any authorized retry. Hints are not approval gates.

hardcover_add_list_bookB

Add a book to a list at an optional position. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups. Never automatically replay a write. On timeout/connection loss/5xx, reconcile remote state before any authorized retry. Hints are not approval gates.

hardcover_remove_list_bookA

Remove a book from a list. Use hardcover_get_list to find the list_book_id first. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups. Never automatically replay a write. On timeout/connection loss/5xx, reconcile remote state before any authorized retry. Hints are not approval gates.

hardcover_follow_listA

Follow a list to see updates. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups. Never automatically replay a write. On timeout/connection loss/5xx, reconcile remote state before any authorized retry. Hints are not approval gates.

hardcover_unfollow_listC

Stop following a list. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups. Never automatically replay a write. On timeout/connection loss/5xx, reconcile remote state before any authorized retry. Hints are not approval gates.

hardcover_searchA

Universal full-text search across Hardcover using Typesense. Search for books, authors, characters, lists, prompts, publishers, series, or users. Returns matching IDs and search results. For detailed data, follow up with the appropriate get tool (e.g., hardcover_get_book). [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_get_activityA

Get activity feed entries. Optionally filter by user ID. Events include book status changes, ratings, reviews, goal updates, and list changes. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_get_journalsA

Get reading journal entries (notes, quotes, progress updates, status changes). Filter by user_book_id or user_id. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_get_goalsA

Get up to 100 reading goals for a user (not a complete history). Goals track books or pages read with a target, progress, and state (active/completed/failed). [API cost: up to 2 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups. With user_id: 1 field; without: up to 2 (me + data).

hardcover_get_charactersA

Get fictional characters, optionally filtered by book. Returns character name, biography, and book count. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_get_promptsA

Get community prompts (discussion questions). Optionally filter by book ID to get prompts related to a specific book. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_get_notificationsA

Get your notifications, newest first. [API cost: up to 1 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_get_tagsA

Get tags, optionally filtered by category. Categories: 1=Genre, 2=General, 3=Content Warnings, 4=Mood, 37=Pace. Can also filter by book ID to see tags for a specific book. [API cost: up to 2 top-level GraphQL fields before retries] Check hardcover_get_rate_limit before multi-page work; every retry costs again. Honor RateLimit/RateLimit-Policy/Retry-After and cooldowns. Use bounded pages; do not fan out detail lookups.

hardcover_get_rate_limitA

Check cached/local quota without network calls: authoritative RateLimit/RateLimit-Policy snapshots with observation times, local daily/burst estimates, cooldowns and uncertainty. Account tier is unknown until headers identify it. remaining/limit compatibility fields are LOCAL burst estimates, not account-wide quota. Costs below are maximum first-attempt field costs; retries add cost. get_user_books/get_goals use 1 field with user_id, otherwise up to 2; search_books uses 1 if empty, otherwise 2. Check before multi-page/detail workflows; honor Retry-After and stop on exhaustion. [API cost: zero network calls]

Prompts

Interactive templates invoked by user choice

NameDescription
recommend-next-readGet a personalized book recommendation based on your library, reading history, and mood.
reading-year-in-reviewGenerate a comprehensive summary of your reading for a given year.
compare-booksSide-by-side comparison of two books to help decide what to read.
tbr-cleanupAudit your want-to-read list and get help prioritizing or trimming it.

Resources

Contextual data attached and managed by the client

NameDescription
quotaZero API calls. Timestamped header observations, local estimates, unknown account tier, cooldowns and first-attempt field costs. Does not refresh upstream quota.
usage-guideZero API calls. Costs, bounded pagination, safe retries, privacy and incomplete result semantics.
profileOne API field per read before retries. Authenticated user profile with reading stats, text capped at 25000 characters.
currently-readingUp to two API fields per read before retries (me + shelf). First 50 currently-reading books, text capped at 25000 characters. Use shelf-page template for bounded continuation.
want-to-readUp to two API fields per read before retries (me + shelf). First 50 TBR books, text capped at 25000 characters. Use shelf-page template for bounded continuation.
goalsUp to two API fields per read before retries (me + goals). Current-year reading goals, at most 100, text capped at 25000 characters. Not a complete history.
reference-statusesZero API calls. Local reference data for Hardcover status codes, tag categories, reading formats, and privacy settings.

TDQS

B3.4/5.0

Scored across 32 tools

Disambiguation4/5

Most tools target a distinct resource+action (get_book vs get_author vs get_series vs get_user_books), and descriptions explicitly cross-reference alternatives (e.g. find_authors points to hardcover_search with type 'Author'). The one genuine overlap cluster is search / search_books / find_books / find_authors / find_series / find_lists, where 'search' is a universal superset of the typed find/search tools; the descriptions do disambiguate by intent (filters vs full-text vs universal), so misselection is possible but mitigated.

Naming Consistency5/5

Every tool uses the same hardcover_ prefix plus a snake_case verb_noun pattern (get_, find_, search_, add_, update_, remove_, create_, delete_, follow_, unfollow_). The verb vocabulary is small and used consistently across resource families, so the pattern is fully predictable.

Tool Count2/5

32 tools is well past the heavy threshold; the read-only surface alone (get_activity, get_journals, get_goals, get_characters, get_prompts, get_notifications, get_tags, get_rate_limit) accounts for many entries that could be consolidated behind a resource+type parameter. Each tool is individually justified by a real Hardcover entity, but as a set it is bulky for an agent to navigate.

Completeness3/5

Core book/author/series/edition reads and full user-book plus list lifecycle (create/update/delete, add/remove book, follow/unfollow) are covered. However, journals and goals are read-only (no create/update for journal entries or goals), notifications have no mark-read operation, and there is no user follow/unfollow, leaving asymmetric read/write coverage in several sub-domains.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues