hardcover-mcp
Provides tools for interacting with Hardcover's GraphQL API, enabling reads and writes for books, authors, editions, users, publishers, characters, series, lists, prompts, user libraries, and activity feeds.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hardcover-mcp search Hardcover for books by Ursula K. Le Guin"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
hardcover-mcp
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_searchhardcover_get_bookhardcover_get_authorhardcover_get_editionhardcover_get_userhardcover_get_publisherhardcover_get_characterhardcover_get_serieshardcover_get_activity_feedhardcover_get_user_libraryhardcover_get_listhardcover_get_prompt
Write tools
hardcover_create_listhardcover_update_listhardcover_delete_listhardcover_add_book_to_listhardcover_update_list_bookhardcover_remove_book_from_listhardcover_follow_listhardcover_unfollow_listhardcover_set_user_bookhardcover_delete_user_bookhardcover_add_user_book_readhardcover_update_user_book_readhardcover_delete_user_book_readhardcover_create_prompthardcover_update_prompthardcover_delete_prompthardcover_follow_prompthardcover_unfollow_prompthardcover_add_prompt_answerhardcover_update_prompt_answerhardcover_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
Node.js 22+
A Hardcover API token from hardcover.app/account/api
Setup
Install dependencies:
npm installSet 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
Authorizationheader.Build the server:
npm run build
Run locally
npm startInstall via npm
Run directly with npx:
npx -y hardcover-mcpValidate locally
Run the offline smoke test to verify the built server starts and registers the expected tools:
npm run checkRun 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:liveExample 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/graphqlOverride the endpoint with
HARDCOVER_API_URLHardcover 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.alternativesin the response so callers can refine byidorslugCI runs
npm run checkon pushes tomasterand on pull requestsList privacy values in the MCP tools are
public,followers_only, andprivate
Available Tools
33 toolshardcover_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 ListCDestructive
Delete a Hardcover list owned by the authenticated user.
Inputs: id, slug. Returns: data
hardcover_delete_promptDelete Hardcover PromptCDestructive
Delete a Hardcover prompt owned by the authenticated user.
Inputs: id, slug. Returns: data
hardcover_delete_prompt_answerDelete Hardcover Prompt AnswerCDestructive
Delete a prompt answer by id, or by prompt/book pair.
Inputs: bookId, promptId, promptAnswerId. Returns: data
hardcover_delete_user_bookDelete Hardcover User BookCDestructive
Delete the authenticated user's library entry for a book.
Inputs: bookId, userBookId. Returns: data
hardcover_delete_user_book_readDelete Hardcover User Book ReadCDestructive
Delete a user_book_read entry by id.
Inputs: userBookReadId (required). Returns: data
hardcover_follow_listFollow Hardcover ListCIdempotent
Follow a public Hardcover list.
Inputs: id, slug. Returns: data
hardcover_follow_promptFollow Hardcover PromptDIdempotent
Follow a Hardcover prompt.
Inputs: id, slug. Returns: data
hardcover_get_activity_feedGet Hardcover Activity FeedCRead-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 AuthorCRead-onlyIdempotent
Fetch a Hardcover author by id, slug, or exact name.
Inputs: id, name, slug, booksLimit. Returns: data
hardcover_get_bookGet Hardcover BookCRead-onlyIdempotent
Fetch a Hardcover book by numeric id or slug.
Inputs: id, slug. Returns: data
hardcover_get_characterGet Hardcover CharacterCRead-onlyIdempotent
Fetch a Hardcover character by id, slug, or exact name.
Inputs: id, name, slug, booksLimit. Returns: data
hardcover_get_editionGet Hardcover EditionBRead-onlyIdempotent
Fetch a Hardcover edition by id, ISBN-13, or ASIN.
Inputs: id, asin, isbn13. Returns: data
hardcover_get_listGet Hardcover ListCRead-onlyIdempotent
Fetch a Hardcover list by id or slug, including list books.
Inputs: id, slug, booksLimit. Returns: data
hardcover_get_promptGet Hardcover PromptCRead-onlyIdempotent
Fetch a Hardcover prompt by id or slug.
Inputs: id, slug. Returns: data
hardcover_get_publisherGet Hardcover PublisherBRead-onlyIdempotent
Fetch a Hardcover publisher by id, slug, or exact name.
Inputs: id, name, slug, editionsLimit. Returns: data
hardcover_get_seriesGet Hardcover SeriesARead-onlyIdempotent
Fetch a Hardcover series by id, slug, or exact name.
Inputs: id, name, slug, booksLimit. Returns: data
hardcover_get_userGet Hardcover UserARead-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 LibraryCRead-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 ListBDestructive
Remove a book from a Hardcover list owned by the authenticated user.
Inputs: bookId, listId, listBookId. Returns: data
hardcover_searchHardcover SearchCRead-onlyIdempotent
Search Hardcover entities by query text and entity type.
Inputs: query (required), page, type, limit. Returns: data
hardcover_set_user_bookSet Hardcover User BookCIdempotent
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 ListCDestructive
Unfollow a Hardcover list.
Inputs: id, slug. Returns: data
hardcover_unfollow_promptUnfollow Hardcover PromptDDestructive
Unfollow a Hardcover prompt.
Inputs: id, slug. Returns: data
hardcover_update_listUpdate Hardcover ListCIdempotent
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 BookCIdempotent
Update a list entry's position or reason.
Inputs: bookId, listId, reason, position, +1 more. Returns: data
hardcover_update_promptUpdate Hardcover PromptBIdempotent
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 AnswerCIdempotent
Update the description of an existing prompt answer.
Inputs: description (required), bookId, promptId, promptAnswerId. Returns: data
hardcover_update_user_book_readUpdate Hardcover User Book ReadCIdempotent
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
Scored across 33 tools
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.
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.
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.
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
Related MCP Connectors
Unofficial AniList MCP — wraps AniList GraphQL API (free, no auth)
Unofficial Gutendex MCP — wraps Gutendex API for Project Gutenberg books (free, no auth)
Unofficial Meetup MCP — wraps Meetup's public GraphQL API (api.meetup.com, free, no auth)
Monday.com MCP — wraps the Monday.com GraphQL API (BYO API key)
Related MCP Servers
- MIT
- AlicenseNot gradedqualityDmaintenanceAutomatically generates MCP tools from any GraphQL API by introspecting its schema, supporting queries, mutations, and authentication.5GPL 3.0
- AlicenseAqualityDmaintenanceEnables 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.251MIT
- FlicenseNot gradedqualityCmaintenanceEnables MCP clients to interact with a fixed business GraphQL API as typed, safely guarded tools, including JWT authentication, rate limiting, and query/mutation protections.-