Give your AI superpowers. Connect Claude, ChatGPT, or Gemini to the SansFiction library.
https://sansfiction.com/api/mcpOAuth 2.1 via Supabase. Public search is anonymous; personal library access requires consent.
The easiest way to connect using the Claude CLI.
claude mcp add --transport http sansfiction https://sansfiction.com/api/mcpThen verify it works:
Authorization: Bearer … on /api/v1) and MCP clients that do not support OAuth.{
"mcpServers": {
"sansfiction": {
"type": "http",
"url": "https://sansfiction.com/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
}
}OAuth is recommended when available. Manual tokens are limited to your account.
Prefer plain HTTP over MCP? Every capability is available as a REST API under /api/v1, authenticated with the same access token. Great for agents, scripts, and Claude/OpenAI “skills”.
curl "https://sansfiction.com/api/v1/catalog/search?q=dune&limit=5"curl -H "Authorization: Bearer YOUR_TOKEN" \
"https://sansfiction.com/api/v1/library/books?status=reading"Full machine-readable spec: /openapi.json · Agent skill: SKILL.md
You tried to access a private tool without OAuth consent. Trigger the OAuth flow and approve access.
Verify you entered the correct URL without any trailing spaces or extra paths. It must end with /api/mcp.