What is MCP?
Model Context Protocol (MCP) is an open standard that enables AI assistants to securely access external data sources and tools. Think of it as a way for AI models to “know” about ČSFD movies without you having to copy-paste data.Learn more about MCP at modelcontextprotocol.io
Quick Start
Running the Server
Integration with Claude Desktop
Edit the Config File
Add the ČSFD MCP server to the
mcpServers section:claude_desktop_config.json
If you installed via Homebrew, you can use:
Available MCP Tools
The MCP server exposes 6 tools that Claude can use:1. Search
Search for movies, TV series, or people on ČSFD. Tool name:search
Input:
query(string) - Search query (movie title, actor name, etc.)
“Search ČSFD for movies with Tom Hanks”
2. Get Movie
Retrieve detailed information about a specific movie or series. Tool name:get_movie
Input:
id(number) - ČSFD movie ID
- Title, year, rating, genres
- Plot descriptions
- Cast and crew
- VOD availability
- Premiere dates
- Trivia
“Get details about ČSFD movie ID 535121”
3. Get Creator
Retrieve information about actors, directors, and other creators. Tool name:get_creator
Input:
id(number) - ČSFD creator ID
- Name, biography
- Birthday, birthplace
- Age, photo
- Complete filmography
“Show me Quentin Tarantino’s filmography from ČSFD”
4. Get User Ratings
Retrieve movie ratings from a specific ČSFD user. Tool name:get_user_ratings
Input:
user(string | number) - User ID or usernamepage(number, optional) - Page numberallPages(boolean, optional) - Fetch all pagesallPagesDelay(number, optional) - Delay between requests in msexcludes(array, optional) - Content types to excludeincludesOnly(array, optional) - Content types to include
“What movies has ČSFD user 912 rated recently?” “Get all film ratings from user 912-bart, excluding TV series”
5. Get User Reviews
Retrieve detailed reviews written by a ČSFD user. Tool name:get_user_reviews
Input:
- Same parameters as
get_user_ratings
- Review text
- User rating (0-5 stars)
- Review date
- Movie details
“Show me the latest reviews from ČSFD user 195357”
6. Get Cinemas
Retrieve cinema screenings for a given district. Tool name:get_cinemas
Input:
district(number | string) - District ID or nameperiod(enum) - Time period:today,tomorrow,weekend,week,month
“What’s showing in Prague cinemas this weekend?”
Available MCP Prompts
The server includes pre-built prompt templates:Actor Top Rated
Finds and ranks the best movies of a specific actor or creator. Prompt name:actor-top-rated
Input:
actorName(string) - Name of the actor or director
- Searches for the person
- Retrieves their full profile
- Analyzes their filmography
- Returns top 5 highest-rated movies
“Use the actor-top-rated prompt for Mads Mikkelsen”
Real-World Usage Examples
Finding Movie Information
Analyzing User Preferences
Creator Filmography
Advanced Configuration
Using Local Build (Development)
If you’re developing or testing local changes:Debugging
Enable debug logging by checking Claude Desktop’s log files:Troubleshooting
Claude doesn't see the MCP server
Claude doesn't see the MCP server
- Check that
claude_desktop_config.jsonis valid JSON (use a validator) - Ensure you fully restarted Claude Desktop (quit completely, not just close window)
- Check Claude’s logs for error messages
- Verify
npx node-csfd-api mcpruns successfully in terminal
'command not found' error
'command not found' error
If using The
npx:-y flag ensures npx doesn’t prompt for confirmation.If using Homebrew csfd command:Slow responses from Claude
Slow responses from Claude
MCP tools make real-time requests to ČSFD:
searchis fast (~1s)get_movieis fast (~1s)get_user_ratingswithallPages=truecan take minutes for large collections
page=1 to get quick results, then use allPages only when needed.Server version mismatch
Server version mismatch
If Claude reports an unexpected MCP server version:
Security Considerations
Best practices:- Use
allPagesDelaywhen fetching large datasets - Don’t share your
claude_desktop_config.json(may contain other sensitive servers) - Be mindful of ČSFD’s terms of service
Next Steps
MCP Documentation
Learn more about the Model Context Protocol
CLI Overview
Explore other CLI tools
API Reference
See the underlying API methods