The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Sansfiction MCP listing page.
Connect AI agents to SansFiction — a digital library for books, collections, reading journals, and discovery.
The same capabilities are exposed two ways, both authenticated with the same bearer token:
https://sansfiction.com/api/mcphttps://sansfiction.com/api/v1Or point any MCP client at the streamable-HTTP endpoint above. Public catalog tools need no auth; personal library tools require a bearer token (generate one at sansfiction.com/docs/agents).
Public catalog (no auth)
GET /api/v1/catalog/search?q=…&searchType=all|author|series|mood|isbnGET /api/v1/catalog/books/{bookId}GET /api/v1/catalog/series/{seriesId}GET /api/v1/catalog/collectionsPersonal library (bearer token)
GET/POST /api/v1/library/books · PATCH/DELETE /api/v1/library/books/{bookId}GET /api/v1/library/searchGET /api/v1/library/collections · GET /api/v1/library/collections/{id} · POST …/itemsGET /api/v1/library/statsSKILL.md — also served at
https://sansfiction.com/.well-known/agent-skills/sansfiction-catalog/SKILL.mdserver.jsonhttps://sansfiction.com/openapi.jsonhttps://sansfiction.com/.well-known/mcp/server-card.jsonGenerate a personal access token (sf_mcp_…) while signed in at
sansfiction.com/docs/agents. The same token
authenticates both the MCP server and the REST API. Rate limits: 60 req/min
anonymous, 180 req/min authenticated.
The SansFiction service is proprietary. This repository documents its public agent interface for discovery and integration.
This repo also ships a small stdio MCP server that proxies to the hosted REST API, so you can run it anywhere an MCP client expects a local command:
Environment variables:
SANSFICTION_TOKEN — bearer token (sf_mcp_…) for the personal-library tools
(generate at https://sansfiction.com/docs/agents). Public catalog tools need none.SANSFICTION_BASE_URL — override the API base (default https://sansfiction.com).Tools: search_books, get_book, get_series, list_public_collections,
list_my_books, add_book_to_library, update_library_book,
remove_book_from_library, search_my_library, list_my_collections,
get_reading_stats.
["npm install"]["mcp-proxy","--","node","index.js"]tools/list requires no network or credentials, so the introspection check passes
without a token.