fantlab-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
fantlab-mcp monorepo
MCP server for FantLab API focused on publisher normalization for book catalogs.
License model
This repository is source-available for non-commercial research and educational use.
Commercial use is prohibited without separate permission.
See LICENSE.
Note:
this is a non-commercial research license, not OSI open-source.
Related MCP server: mcp-bookbrainz
Monorepo layout
fantlab-mcp/
packages/
fantlab-mcp-python/
src/fantlab_mcp/
tests/
scripts/
docs/ (planned)What it solves
Reliable publisher resolution via ISBN (primary path).
Fallback candidate search for noisy publisher names.
Batch mode for enrichment/patch workflows.
Tools
resolve_publishers_by_isbn(isbn)search_publisher_candidates(name_raw, include_no_matches=false, max_candidates=10)resolve_publisher_from_record(publisher_raw, isbn="", title="")batch_resolve_publishers(records[])
Each tool returns explicit contract fields:
okconfidence(high|medium|low|none)evidenceerror(if failed)
Install
pip install -e .or from Git:
pip install "git+https://github.com/<your-org>/fantlab-mcp.git@v0.1.0"Run
fantlab-mcpEnv vars:
FANTLAB_MCP_TRANSPORT(stdioby default)FANTLAB_TIMEOUT_SEC(default12)FANTLAB_RETRIES(default2)FANTLAB_CACHE_TTL_SEC(default43200)
MCP config example
{
"mcpServers": {
"fantlab": {
"command": "fantlab-mcp",
"env": {
"FANTLAB_TIMEOUT_SEC": "12",
"FANTLAB_RETRIES": "2",
"FANTLAB_CACHE_TTL_SEC": "43200"
}
}
}
}Local smoke
python scripts/smoke_live.pyDevelopment
python -m py_compile packages/fantlab-mcp-python/src/fantlab_mcp/*.py
python -m pytestNotes
ISBN path is authoritative:
search-editions -> edition/{id} -> creators.publishers.Name-only search is fallback and should be treated as lower confidence.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search books and authors, fetch editions, browse subjects, and resolve cover images.
Scrape Open Library book editions, authors, subjects and identifiers. Pay per row.
Read-only search and retrieval of published books, articles and authors, with public catalog links.
BookBrainz MCP — open book metadata (MetaBrainz / sister of MusicBrainz)
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables querying a curated book database using MCP tools to retrieve basic or detailed book information by ISBN or title, including batch lookups.1ISC
- AlicenseNot gradedqualityCmaintenanceProvides access to BookBrainz open book metadata, enabling search, lookup, and browsing of works, editions, authors, publishers, and series via natural language or direct tool calls.64 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables 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.75 npmMIT
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants and automation to verify bibliographic records and metadata consistency across multiple sources with identifier-first lookup, explainable matching, and structured results.-