reknihy-mcp
Provides read-only access to a WooCommerce-powered book catalog, enabling search for books by title, author, or ISBN, filtering by availability, category, and price, retrieving product details and exact ISBN matches, and listing product categories.
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., "@reknihy-mcp Find in-stock books by Karel Čapek under 250 CZK."
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.
Reknihy MCP — Unofficial
An unofficial, read-only Model Context Protocol server, independently developed as an interoperability and convenience layer for end-user queries against publicly available information in the Reknihy.cz book catalog.
The server primarily uses Reknihy's public WooCommerce Store API and a publicly accessible catalog endpoint used to resolve author taxonomy data. It does not require an account or API key and does not access customer accounts, carts, orders, authentication-protected data, or private data.
This project is not affiliated with, sponsored by, or endorsed by Reknihy.cz. The upstream API may change, restrict access, or return incomplete catalog data at any time, which may cause this server to stop working.
Features
Search by title, author, ISBN, or other catalog text
Filter by availability, category, and price
Sort and paginate catalog results
Retrieve product details and exact ISBN matches
Browse categories that can be reused as search filters
Return normalized prices, stock information, images, and product links
Related MCP server: mcp-books
Requirements
Node.js 20 or later
npm
Installation
git clone https://github.com/birosrichard/reknihy-mcp
cd reknihy-mcp
npm ci
npm run buildMCP client configuration
Add the server to your MCP client configuration. Replace the path with the absolute path to the cloned repository:
{
"mcpServers": {
"reknihy": {
"command": "node",
"args": ["/absolute/path/to/reknihy-mcp/dist/index.js"]
}
}
}The server communicates over stdio. Rebuild and restart it after changing the source code.
Tools
search_bookssearches the public catalog and returns price, availability, ISBN, image, category, and product URL data. It supports pages 1–20, stock and category filters, exact author filtering, price limits, and sorting.get_bookretrieves a product by the numeric ID returned fromsearch_books.find_book_by_isbnnormalizes an ISBN-10 or ISBN-13 and returns an exact catalog match when available.list_categorieslists public product categories that can be passed back tosearch_books, with pages limited to 1–20.
All tools are declared read-only, non-destructive, and idempotent.
Configuration
The following environment variables are optional:
REKNIHY_BASE_URL: API origin; defaults tohttps://reknihy.czREKNIHY_TIMEOUT_MS: request timeout in milliseconds; defaults to15000REKNIHY_CACHE_TTL_MS: cache lifetime in milliseconds; defaults to60000and cannot exceed300000REKNIHY_MAX_CONCURRENT: maximum concurrent upstream requests; defaults to2and cannot exceed4
The server reads these values from its process environment; it does not load a
.env file. All numeric values must be positive integers.
Example prompts
"Find in-stock books by Karel Čapek under 250 CZK."
"Look up this ISBN and summarize the listing."
"List history categories and search the most relevant one."
Development
npm ci
npm run dev
npm run checknpm run check compiles the TypeScript project and runs the test suite. Tests use
mocked HTTP responses and do not require access to Reknihy.
Responsible use and limitations
This project does not provide a bulk catalog export and does not intentionally replicate or maintain a persistent copy of Reknihy's catalog or database. Its bounded, short-lived in-memory cache exists only to reduce repeated identical requests.
Use reasonable request rates and comply with Reknihy's website terms, robots.txt
where technically applicable, and applicable law. Do not use this project to
circumvent authentication, CAPTCHA, rate limits, bot protection, Cloudflare
protections, or any other technical access control. If Reknihy denies or challenges
a request, the server reports the restriction instead of attempting to bypass it.
The implementation is limited to public catalog API paths selected to avoid areas
known to be disallowed by robots.txt. Because robots.txt and upstream behavior
can change—and the file may itself be unavailable behind a security challenge—users
should verify its current contents where applicable. This project does not treat
robots.txt as an authorization mechanism and does not work around access
restrictions to inspect it.
Catalog data, prices, stock levels, images, trademarks, and other upstream content remain subject to the rights of their respective owners and may become stale immediately after a tool call. This project is not a supported commercial API and does not guarantee catalog completeness.
Contributing
See CONTRIBUTING.md.
License
The project's source code is licensed under the ISC License. The ISC License applies only to this project's source code. Upstream product data, images, trademarks, and other content remain subject to the rights of their respective owners.
Available Tools
4 toolsfind_book_by_isbnFind a Reknihy book by ISBNARead-onlyIdempotent
Find an exact ISBN-10 or ISBN-13 match in the public Reknihy.cz catalog.
Inputs: isbn (required).
get_bookGet Reknihy book detailARead-onlyIdempotent
Get book details by the numeric product ID returned from search_books.
Inputs: id (required).
list_categoriesList Reknihy categoriesARead-onlyIdempotent
List public catalog categories. A category slug or ID can be passed to search_books.
Inputs: page, perPage, hideEmpty.
search_booksSearch Reknihy booksARead-onlyIdempotent
Search the public Reknihy.cz catalog. Use author for exact author searches. Returns price, availability, ISBN, image, categories, and product URL.
Inputs: page, order, query, author, +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a distinct purpose: broad search, detail lookup by ID, exact ISBN lookup, and category listing. search_books and find_book_by_isbn could be confused since both return books, but the descriptions clearly separate keyword/author search from exact ISBN matching.
All tools follow a consistent verb_noun pattern: search_books, get_book, find_book_by_isbn, list_categories. The naming is predictable and clearly communicates each action.
Four tools is well-scoped for a read-only catalog search server. Each tool has a clear role, and none feel redundant or unnecessary.
The surface covers the full catalog search workflow: discover categories, search books, look up details by ID, and find exact matches by ISBN. For a public catalog querying server, there are no meaningful gaps.
Maintenance
Related MCP Connectors
Read-only search and retrieval of published books, articles and authors, with public catalog links.
Search a catalog of 1.7 million books and find books by mood, vibe, pace or genre. Read-only.
Search books and authors, fetch editions, browse subjects, and resolve cover images.
Search ~8.5M products from 2,500+ Central European e-shops. Semantic, keyword, GTIN lookup.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceProvides a read-only API over a book catalogue, offering tools to search books, retrieve book details and series, and inspect provenance and source agreement data.-
- AlicenseNot gradedqualityBmaintenanceEnables searching for books by title, author, or keyword, retrieving edition details by ISBN, and accessing author profiles and canonical work records through the Open Library API.277 npmMIT
- AlicenseAqualityCmaintenanceEnables MCP clients to search the Knihobot.cz public book catalog, inspect live physical copies, compare editions, and retrieve recommendations.5ISC
- AlicenseAqualityCmaintenanceProvides read-only access to iranketab.ir, enabling book searches, comparison of translations and editions, and retrieval of prices in Toman, stock, ratings, and reader comments.9MIT