Skip to main content
Glama
hardcover-mcp

hardcover-mcp

by tannerwj

hardcover-mcp

CI npm version

MCP server for the Hardcover GraphQL API.

Features

  • Read access for books, authors, editions, users, publishers, characters, series, prompts, lists, user libraries, and activity feeds

  • Write access for lists, prompts, prompt answers, user-library entries, and read-history records

  • Structured outputs designed for MCP clients instead of raw GraphQL payloads

  • One activity tool that supports for_you, global, and user-specific modes

Related MCP server: graphql-mcp-server

Tools

Read tools

  • hardcover_search

  • hardcover_get_book

  • hardcover_get_author

  • hardcover_get_edition

  • hardcover_get_user

  • hardcover_get_publisher

  • hardcover_get_character

  • hardcover_get_series

  • hardcover_get_activity_feed

  • hardcover_get_user_library

  • hardcover_get_list

  • hardcover_get_prompt

Write tools

  • hardcover_create_list

  • hardcover_update_list

  • hardcover_delete_list

  • hardcover_add_book_to_list

  • hardcover_update_list_book

  • hardcover_remove_book_from_list

  • hardcover_follow_list

  • hardcover_unfollow_list

  • hardcover_set_user_book

  • hardcover_delete_user_book

  • hardcover_add_user_book_read

  • hardcover_update_user_book_read

  • hardcover_delete_user_book_read

  • hardcover_create_prompt

  • hardcover_update_prompt

  • hardcover_delete_prompt

  • hardcover_follow_prompt

  • hardcover_unfollow_prompt

  • hardcover_add_prompt_answer

  • hardcover_update_prompt_answer

  • hardcover_delete_prompt_answer

The current surface mixes read tools with focused write tools for lists, user-library records, and prompts. hardcover_search returns normalized summaries per entity type instead of the raw search payload. hardcover_get_activity_feed supports for_you, global, and user-specific activity in one tool.

Requirements

Setup

  1. Install dependencies:

    npm install
  2. Set your Hardcover token:

    HARDCOVER_API_TOKEN="Bearer <token from hardcover.app/account/api>"

    Use the token value exactly as Hardcover shows it on hardcover.app/account/api. The server forwards that value directly in the Authorization header.

  3. Build the server:

    npm run build

Run locally

npm start

Install via npm

Run directly with npx:

npx -y hardcover-mcp

Validate locally

Run the offline smoke test to verify the built server starts and registers the expected tools:

npm run check

Run the live smoke test to hit the real Hardcover API with read-only calls:

HARDCOVER_API_TOKEN="Bearer <token from hardcover.app/account/api>" npm run smoke:live

Example MCP client config

Using the published npm package:

{
  "mcpServers": {
    "hardcover": {
      "command": "npx",
      "args": ["-y", "hardcover-mcp"],
      "env": {
        "HARDCOVER_API_TOKEN": "Bearer YOUR_TOKEN_HERE"
      }
    }
  }
}

Using a local checkout:

{
  "mcpServers": {
    "hardcover": {
      "command": "node",
      "args": ["/absolute/path/to/hardcover-mcp/dist/index.js"],
      "env": {
        "HARDCOVER_API_TOKEN": "Bearer YOUR_TOKEN_HERE"
      }
    }
  }
}

Notes

  • Default endpoint: https://api.hardcover.app/v1/graphql

  • Override the endpoint with HARDCOVER_API_URL

  • Hardcover documents a 60 requests/minute rate limit and a maximum query depth of 3

  • Ambiguous exact-name lookups for authors and series may include _selection.alternatives in the response so callers can refine by id or slug

  • CI runs npm run check on pushes to master and on pull requests

  • List privacy values in the MCP tools are public, followers_only, and private

Available Tools

33 tools
hardcover_add_book_to_listAdd Book To Hardcover ListC

Add a book to a Hardcover list owned by the authenticated user.

Inputs: bookId (required), listId, listSlug, position, +1 more. Returns: data

hardcover_add_prompt_answerAdd Hardcover Prompt AnswerC

Answer a Hardcover prompt with a book from your library.

Inputs: bookId (required), promptId, promptSlug, description. Returns: data

hardcover_add_user_book_readAdd Hardcover User Book ReadC

Add a read-date entry to the authenticated user's library record.

Inputs: bookId, editionId, startedAt, finishedAt, +3 more. Returns: data

hardcover_create_listCreate Hardcover ListC

Create a new Hardcover list for the authenticated user.

Inputs: name (required), url, ranked, privacy, +3 more. Returns: data

hardcover_create_promptCreate Hardcover PromptC

Create a new Hardcover prompt.

Inputs: question (required), description (required), privacy. Returns: data

hardcover_delete_listDelete Hardcover ListC
Destructive

Delete a Hardcover list owned by the authenticated user.

Inputs: id, slug. Returns: data

hardcover_delete_promptDelete Hardcover PromptC
Destructive

Delete a Hardcover prompt owned by the authenticated user.

Inputs: id, slug. Returns: data

hardcover_delete_prompt_answerDelete Hardcover Prompt AnswerC
Destructive

Delete a prompt answer by id, or by prompt/book pair.

Inputs: bookId, promptId, promptAnswerId. Returns: data

hardcover_delete_user_bookDelete Hardcover User BookC
Destructive

Delete the authenticated user's library entry for a book.

Inputs: bookId, userBookId. Returns: data

hardcover_delete_user_book_readDelete Hardcover User Book ReadC
Destructive

Delete a user_book_read entry by id.

Inputs: userBookReadId (required). Returns: data

hardcover_follow_listFollow Hardcover ListC
Idempotent

Follow a public Hardcover list.

Inputs: id, slug. Returns: data

hardcover_follow_promptFollow Hardcover PromptD
Idempotent

Follow a Hardcover prompt.

Inputs: id, slug. Returns: data

hardcover_get_activity_feedGet Hardcover Activity FeedC
Read-onlyIdempotent

Fetch recent Hardcover activity from your for-you feed, the global stream, or a specific user.

Inputs: id, me, feed, event, +3 more. Returns: data

hardcover_get_authorGet Hardcover AuthorC
Read-onlyIdempotent

Fetch a Hardcover author by id, slug, or exact name.

Inputs: id, name, slug, booksLimit. Returns: data

hardcover_get_bookGet Hardcover BookC
Read-onlyIdempotent

Fetch a Hardcover book by numeric id or slug.

Inputs: id, slug. Returns: data

hardcover_get_characterGet Hardcover CharacterC
Read-onlyIdempotent

Fetch a Hardcover character by id, slug, or exact name.

Inputs: id, name, slug, booksLimit. Returns: data

hardcover_get_editionGet Hardcover EditionB
Read-onlyIdempotent

Fetch a Hardcover edition by id, ISBN-13, or ASIN.

Inputs: id, asin, isbn13. Returns: data

hardcover_get_listGet Hardcover ListC
Read-onlyIdempotent

Fetch a Hardcover list by id or slug, including list books.

Inputs: id, slug, booksLimit. Returns: data

hardcover_get_promptGet Hardcover PromptC
Read-onlyIdempotent

Fetch a Hardcover prompt by id or slug.

Inputs: id, slug. Returns: data

hardcover_get_publisherGet Hardcover PublisherB
Read-onlyIdempotent

Fetch a Hardcover publisher by id, slug, or exact name.

Inputs: id, name, slug, editionsLimit. Returns: data

hardcover_get_seriesGet Hardcover SeriesA
Read-onlyIdempotent

Fetch a Hardcover series by id, slug, or exact name.

Inputs: id, name, slug, booksLimit. Returns: data

hardcover_get_userGet Hardcover UserA
Read-onlyIdempotent

Fetch the current Hardcover user or look up a user by id or username.

Inputs: id, me, username. Returns: data

hardcover_get_user_libraryGet Hardcover User LibraryC
Read-onlyIdempotent

Fetch a user's library entries, optionally filtered by reading status.

Inputs: id, me, limit, offset, +2 more. Returns: data

hardcover_remove_book_from_listRemove Book From Hardcover ListB
Destructive

Remove a book from a Hardcover list owned by the authenticated user.

Inputs: bookId, listId, listBookId. Returns: data

hardcover_set_user_bookSet Hardcover User BookC
Idempotent

Create or update the authenticated user's library entry for a book.

Inputs: bookId (required), rating, status, privacy, +9 more. Returns: data

hardcover_unfollow_listUnfollow Hardcover ListC
Destructive

Unfollow a Hardcover list.

Inputs: id, slug. Returns: data

hardcover_unfollow_promptUnfollow Hardcover PromptD
Destructive

Unfollow a Hardcover prompt.

Inputs: id, slug. Returns: data

hardcover_update_listUpdate Hardcover ListC
Idempotent

Update an existing Hardcover list owned by the authenticated user.

Inputs: id, url, name, slug, +5 more. Returns: data

hardcover_update_list_bookUpdate Hardcover List BookC
Idempotent

Update a list entry's position or reason.

Inputs: bookId, listId, reason, position, +1 more. Returns: data

hardcover_update_promptUpdate Hardcover PromptB
Idempotent

Update an existing Hardcover prompt owned by the authenticated user.

Inputs: question (required), description (required), id, slug, +1 more. Returns: data

hardcover_update_prompt_answerUpdate Hardcover Prompt AnswerC
Idempotent

Update the description of an existing prompt answer.

Inputs: description (required), bookId, promptId, promptAnswerId. Returns: data

hardcover_update_user_book_readUpdate Hardcover User Book ReadC
Idempotent

Update an existing user_book_read entry.

Inputs: userBookReadId (required), editionId, startedAt, finishedAt, +2 more. Returns: data

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 33 tools

    Disambiguation5/5

    Each tool pairs a distinct action with a distinct resource: entity getters, list CRUD/book membership, prompt CRUD/answers, and user-library/read operations are clearly separated. Near pairs such as update_list vs update_list_book and set_user_book vs add_user_book_read differ by resource scope and are clarified in their descriptions.

    Naming Consistency5/5

    All tools use a consistent hardcover_<verb>_<resource> snake_case pattern, with predictable verbs like get, create, update, delete, follow, unfollow, add, remove, and set. Minor verb variation (set vs create/update) reflects intentional upsert behavior rather than naming inconsistency.

    Tool Count2/5

    At 33 tools, the surface is very heavy for an MCP server and exceeds the typical 3-15 well-scoped range. While the tools are organized by resource, the breadth makes discovery and selection more burdensome than necessary.

    Completeness4/5

    The server covers the main Hardcover workflows well: search/read for key entities, list and prompt lifecycles including follow and answers, and user-library/read management. A few gaps remain, such as dedicated review/comment operations and explicit prompt-answer retrieval, but core workflows are largely covered.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Automatically generates MCP tools from any GraphQL API by introspecting its schema, supporting queries, mutations, and authentication.
      5
      GPL 3.0
    • A
      license
      A
      quality
      D
      maintenance
      Enables MCP-compatible AI assistants to search the Hardcover book catalogue and manage personal library data, reading progress, reading statistics, goals, activities, and more through natural language.
      25
      1
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to interact with a fixed business GraphQL API as typed, safely guarded tools, including JWT authentication, rate limiting, and query/mutation protections.
      -