Books & Film MCP Server
A comprehensive MCP server for searching books, films, and scholarly publications across multiple APIs like Open Library, Google Books, TMDb, and Crossref, with advanced filtering and deduplication.
README
Books & Film MCP Server
A comprehensive Model Context Protocol (MCP) server for books, films, and scholarly publications with advanced search capabilities and user-friendly formatting.
Supported APIs: Open Library, Google Books, OpenAlex, Crossref, TMDb, OMDb, and LIBRIS (Xsearch & OAI-PMH).
Features
Core Capabilities
- π 18+ search and retrieval tools across multiple databases
- π Book data from Open Library, Google Books, and LIBRIS
- π¬ Movie information from TMDb and OMDb
- π Scholarly articles via OpenAlex and Crossref
- π 8 URI-based resources for direct data access
Enhanced Search Experience
- π― Smart Summary Mode - Scholarly results show only essential fields instead of 200+ line JSON responses
- π Cross-source deduplication - Removes duplicate books found across multiple databases
- π Advanced filtering - Language, publication year, and recent publication filters
- β‘ Combined searches - Search multiple databases simultaneously
- π Readable formatting - Optional text format for better CLI display
- π‘οΈ Reliability - Automatic retry, caching, and rate limiting
Installation
npm install
Development
npm run dev
Build & Run
npm run build
npm start # stdio transport
Environment Variables
Copy .env.example to .env and configure:
Required:
OMDB_API_KEY- OMDb API keyTMDB_ACCESS_TOKENorTMDB_API_KEY- TMDb authentication
Optional but recommended:
GOOGLE_BOOKS_API_KEY- Higher API quotasCROSSREF_MAILTO- Polite pool accessUSER_AGENT_EXTRA- Custom user agent string
Available Tools
π Books
books_openlibrary_search- Search Open Library works/editionsbooks_openlibrary_get_work- Get work by OLIDbooks_openlibrary_get_edition- Get edition by OLIDbooks_google_search- Enhanced Google Books search with structured fields (intitle,inauthor,isbn, etc.)books_google_get_volume- Get volume by ID
π Scholarly Publications
scholarly_openalex_search_works- Enhanced OpenAlex search with summary mode and advanced filtersscholarly_openalex_get_work- Get work by ID/URIscholarly_crossref_search_works- Enhanced Crossref search with structured queries and summary modescholarly_crossref_get_by_doi- Get work by DOI
π¬ Films
film_tmdb_search_movie- Search TMDb moviesfilm_tmdb_get_movie- Get movie details by IDfilm_omdb_search- Search OMDb by titlefilm_omdb_get- Get by IMDb ID or title
πΈπͺ Swedish Libraries (LIBRIS)
se_libris_xsearch- Enhanced search with structured fields and boolean queriesse_libris_oai_list_records- OAI-PMH harvesting
β‘ Combined Multi-Source Search
books_search_across_all- NEW Search Google Books, Open Library, and LIBRIS simultaneously with deduplicationscholarly_search_across_all- NEW Search OpenAlex and Crossref simultaneously with summary mode
Key Search Parameters
Summary & Formatting
summaryMode: true(default) - Returns essential fields only vs. full API responsesformatAsText: true- Human-readable text format instead of JSONdeduplicateResults: true(default) - Remove cross-source duplicates
Advanced Filtering
recentYears: 5- Publications from last N yearslanguage: "en"- Language filter (ISO 639-1 codes)isOpenAccess: true- Open access publications onlypublicationYear: 2023- Specific year filter
Available Resources
Direct URI access to data:
openlibrary://works/{olid}- Open Library workopenlibrary://editions/{olid}- Open Library editiongooglebooks://volumes/{id}- Google Books volumeopenalex://works/{id}- OpenAlex workcrossref://works/{doi}- Crossref worktmdb://movie/{id}- TMDb movieomdb://id/{imdbId}- OMDb by IMDb IDlibris://xsearch?q={query}- LIBRIS searchlibris://oai/listrecords?prefix={metadataPrefix}&from={from}&until={until}&set={set}- LIBRIS OAI-PMH
Usage with Claude Desktop
Option 1: Local Server
Add to your Claude Desktop configuration:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"books-film-mcp": {
"command": "node",
"args": ["/absolute/path/to/books-film-mcp/dist/server.js"],
"env": {
"OMDB_API_KEY": "your-omdb-key",
"TMDB_ACCESS_TOKEN": "your-tmdb-token"
}
}
}
}
Option 2: MCP Bundle (MCPB)
Create an installable bundle:
npm i -g @anthropic-ai/mcpb
npm run build
mcpb init # creates manifest.json
mcpb pack # generates .mcpb file
Open the .mcpb file in Claude Desktop to install.
Search Examples
Enhanced Google Books Search
{
"inauthor": "Astrid Lindgren",
"language": "swe",
"maxResults": 10
}
Scholarly Search with Summary Mode
{
"query": "climate change",
"recentYears": 3,
"isOpenAccess": true,
"summaryMode": true,
"formatAsText": true
}
Combined Book Search with Deduplication
{
"author": "Selma LagerlΓΆf",
"deduplicateResults": true,
"maxResultsPerSource": 5
}
Performance & Reliability
- Automatic retry logic with exponential backoff
- Memory caching (1-hour TTL) for frequently accessed data
- Rate limiting respects API limits (Crossref: 50/min, Google Books: 100/min, etc.)
- Smart error handling with graceful degradation
- Response optimization - Summary mode reduces scholarly results from 200+ lines to ~10 essential fields
API Documentation
Each service follows their respective API guidelines with enhanced MCP features:
- Open Library: Public API with optional pagination and field filtering
- Google Books: Enhanced with structured field searches (
intitle,inauthor,isbn, etc.) - OpenAlex: Advanced filters + summary mode for readable results
- Crossref: Structured queries + summary mode + date range filtering
- TMDb: Movie database with v3 (API key) or v4 (Bearer token) auth
- OMDb: IMDb data requiring API key registration
- LIBRIS: Enhanced with boolean queries and structured field searches
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.