# Moviesda MCP Server
A Model Context Protocol (MCP) server for searching and managing Tamil movies from moviesda16.com.
## Features
- ๐ **Movie Search**: Search for Tamil movies by title
- ๐พ **SQLite Database**: Local database for fast searches
- ๐ **Web Scraping**: Automatically scrape and update movie listings
- ๐ **Direct Links**: Get direct download links for movies
## Installation
1. Install dependencies:
```bash
pip install -r requirements.txt
```
2. Run the server:
```bash
python server.py
```
## Available Tools
### 1. search_movie
Search for movies by title.
**Parameters:**
- `query` (required): Movie title to search for
- `limit` (optional): Maximum number of results (default: 10)
**Example:**
```json
{
"query": "Raja Saab",
"limit": 5
}
```
### 2. add_movie
Manually add a movie to the database.
**Parameters:**
- `title` (required): Movie title
- `url` (required): Movie URL path
- `year` (optional): Release year
- `category` (optional): Movie category (default: "Tamil")
**Example:**
```json
{
"title": "New Movie",
"year": 2026,
"url": "/new-movie-2026-tamil/",
"category": "Tamil"
}
```
### 3. update_movies
Scrape and update the database with latest movies from moviesda16.com.
**Parameters:** None
## Database Schema
The SQLite database (`moviesda.db`) contains a single table:
```sql
CREATE TABLE movies (
id INTEGER PRIMARY KEY AUTOINCREMENT,
title TEXT NOT NULL,
year INTEGER,
url TEXT NOT NULL UNIQUE,
category TEXT,
added_date TEXT DEFAULT CURRENT_TIMESTAMP
)
```
## Usage with MCP Clients
To use this server with an MCP client like Claude Desktop, add the following to your MCP configuration:
```json
{
"mcpServers": {
"moviesda": {
"command": "python",
"args": ["c:\\Users\\Daniel\\Documents\\tamilrockersMcp\\server.py"]
}
}
}
```
## Notes
โ ๏ธ **Disclaimer**: This tool is for educational purposes only. Please respect copyright laws and support content creators.
## License
MIT
# M c p S e r v e r