Hardcover
MCP Server to fetch Books, Book Series, and User Books from Hardcover
Hardcover MCP
A Model Context Protocol (MCP) server that exposes read-only access to the Hardcover.app GraphQL API. Tools are namespaced under books.*, users.*, and series.*, with resources and prompts to guide safe, low-volume querying.
This is an unofficial, community-maintained server and is not affiliated with Hardcover.app.
Requirements
- Python 3.11+
- A Hardcover API key (read-only Bearer token) from https://hardcover.app/account/api
Installation
# Option A: with uv (recommended)
uv pip install -e .
# Option B: with pip
python -m venv .venv
source .venv/bin/activate
pip install -e .
Transport Protocol
This server currently only supports STDIO as the transport protocol
Usage
- Get an API key from https://hardcover.app/account/api. Copy the value exactly as provided (it already starts with
Bearer). - Export it for the server:
export HARDCOVER_API_KEY="Bearer <your-token>"
Running the server directly
- Start the MCP server:
uv run src/hardcover_mcp/main.py
Configuring STDIO for a AI chat
Codex
[mcp_servers.hardcover_mcp]
command = "uv"
args = ["run", "src/hardcover_mcp/main.py"]
env = { "HARDCOVER_API_KEY" = "API KEY heRE" }
cwd = "full_path_to/hardcover_mcp"
The server registers the books.*, users.*, and series.* tool namespaces, plus resources like hardcover/tag-categories and usage prompts such as hardcover/fantasy-this-year.
Running the test suite
pytest
Troubleshooting
HARDCOVER_API_KEY environment variable is required: ensure the variable is set in the same shell you start the server. Include the leadingBearerprefix.Hardcover API returned an error responseor 401/403: confirm the token is valid and not expired.- Slow responses or timeouts: reduce
limit/offsetarguments; the API enforces rate limits. Start withlimit<=10. - SSL/HTTP transport issues: check local network/proxy settings and retry with a stable connection.
Servidores relacionados
idea-reality-mcp
Pre-build reality check for AI agents. Scans GitHub, HN, npm, PyPI & Product Hunt — returns a 0-100 signal.
Yoku
Enhance your applications, workflows and AI systems with reliable company data using our comprehensive Brand Identity API.
Sketchfab
Search, view details, and download 3D models from the Sketchfab platform.
Rememberizer MCP Server for Common Knowledge
Access and search personal or team knowledge repositories, including documents and Slack discussions, using semantic search and retrieval tools.
Tarteel MCP Server
Quran-focused MCP server for ayah translation, tafsir, mutashabihat lookups, recitation playlists, and prayer times.
Panda3D Docs
Search and retrieve documentation for the Panda3D game engine.
Gemini MCP
Integrate search grounded Gemini output into your workflow.
SearXNG MCP Server
A privacy-respecting web search server for AI agents, powered by the SearXNG metasearch engine.
OSRS MCP Server
Search the Old School RuneScape (OSRS) Wiki and access game data definitions.
Web Search MCP
Scrapes Google search results using a headless browser. Requires Chrome to be installed.