aparat-mcp
Provides read-only access to Aparat, the Iranian video platform, enabling search for videos and channels, retrieval of video details and comments, related videos, channel information and videos, categories, and trending videos.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@aparat-mcp Search Aparat for Persian cooking videos"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
aparat-mcp: Aparat (آپارات) Iranian video platform MCP server for AI agents
aparat-mcp is an unofficial, read-only MCP server that lets an AI agent search videos and channels, read video details and comments, and see what is trending on Aparat (آپارات, aparat.com), the biggest Iranian video platform. Its 8 tools search videos and channels, show a video (views, likes, duration, tags, category, channel, publish date), its comments and related videos, show a channel and its newest or most viewed videos, and list trending videos overall or per category. No API key or account is needed; it works in Claude, Cursor, Copilot and any other MCP client.
For AI agents · Quick start · Tools · Limits · فارسی
For AI agents
What: unofficial MCP server (model context protocol) for aparat.com: video and channel search, video details, comments, related videos, channel pages and trending feeds.
Install:
uvx aparat-mcporclaude mcp add aparat -- uvx aparat-mcp. Transport: stdio. Needs uv (Python 3.10+).Auth: none. Optional
APARAT_MCP_PROXY(HTTP proxy URL, or a comma-separated list); system proxy settings are ignored.Access: read-only. It cannot log in, upload, comment, like or follow. Video files and stream links are not exposed, only page URLs.
Tools: 8, all prefixed
apr_. Typical sequences:apr_search->apr_video/apr_channel;apr_channel->apr_channel_videos;apr_categories->apr_trending;apr_video->apr_comments/apr_related.Use when: the user asks what is popular on Aparat, wants to find Persian videos or a creator's channel, asks how many views, likes or followers something has, or wants to read what viewers say under a video.
Output: compact JSON. Views are counts, duration is seconds, dates are Gregorian. Titles and comments are Persian.
Related MCP server: YouTube MCP Server
Quick start
You need uv. No API key or account.
Claude Code:
claude mcp add aparat -- uvx aparat-mcpClaude Desktop, Cursor, VS Code and other clients:
{
"mcpServers": {
"aparat": { "command": "uvx", "args": ["aparat-mcp"] }
}
}Example prompts:
"Search Aparat for Persian cooking videos."
"What are the most viewed videos of the channel macharta?"
"What is trending in music on Aparat?"
نظرات این ویدیوی آپارات را بخوان.
پربازدیدترین ویدیوهای کانال ماچارتا کداماند؟
Real answer (17 Nov 2026): apr_channel_videos(channel="macharta", sort="top") returned 2,118,476 views for the top video of that channel, then 1,650,691 and 1,488,902.
Tools
Tool | What it returns |
| Videos and channels matching a text, in relevance order, paged with |
| One video: title, description, views, likes, comments, duration, tags, category, channel, publish date |
| Top comments of a video, 10 per page |
| Videos Aparat recommends next to a video (about 10) |
| A channel: name, followers, video count, total views, description, start date |
| A channel's videos, newest first or most viewed, 10 per page |
| The category names Aparat's trending tabs use |
| Trending videos overall or in one category (up to 40) |
Limits
Counters on Aparat change by the second, so a view count read twice a minute apart can differ slightly.
Channel video lists and comments come 10 per page; search about 40 per page. Use the
nexttoken orpagefor more.Overall trending (the site's "hottest" row) is not shown on Aparat's logged-out home page, so it was checked against the API only, not against the rendered page. Category trending was checked against the page.
Stream links, downloads, live streams and anything behind a login (history, subscriptions, uploads) are not covered.
Aparat answers both Iranian and foreign networks in testing; if your network is blocked, set
APARAT_MCP_PROXY. The server ignores system proxy variables on purpose.
فارسی
aparat-mcp یک سرور MCP غیررسمی و فقطخواندنی برای آپارات (aparat.com) است. با آن یک عامل هوش مصنوعی میتواند ویدیوها و کانالها را جستوجو کند، جزئیات ویدیو (بازدید، لایک، مدت، برچسبها، دستهبندی)، نظرات و ویدیوهای مرتبط را بخواند، کانال و پربازدیدترین ویدیوهایش را ببیند و ویدیوهای پربازدید و داغ هر دسته را فهرست کند. بدون حساب کاربری و کلید API کار میکند. نصب در Claude Code:
claude mcp add aparat -- uvx aparat-mcpDevelopment
uv sync
uv run ruff check . && uv run ruff format --check .
uv run python -m pytest -q # offline tests on recorded fixtures
uv run python -m pytest -m live -q # live calls to aparat.comReleases: bump the version in pyproject.toml and server.json, run uv lock, then push a v* tag; GitHub Actions publishes to PyPI.
Disclaimer
Unofficial and not affiliated with or endorsed by Aparat. It is read-only and uses the public pages and API of aparat.com, which can change without notice.
Author
Built and maintained by Sepehr Radmard (سپهر رادمرد). LinkedIn · GitHub · more servers in iran-mcp.
مجوز استفاده (License)
استفادهٔ شخصی و غیرتجاری رایگان است. استفاده در شرکت، محصول پولی یا پروژهٔ مشتری به مجوز تجاری نیاز دارد؛ از راه لینکدین یا گیت‌هاب با سپهر رادمرد تماس بگیرید. متن کامل: PolyForm Noncommercial 1.0.0. نسخه‌های پیش از 0.1.1 با مجوز MIT منتشر شده‌اند و همان مجوز را دارند.
Free for personal and non-commercial use under the PolyForm Noncommercial License 1.0.0. Using it in a company, a paid product or a client project needs a commercial license: contact Sepehr Radmard on LinkedIn or GitHub. Versions before 0.1.1 were released under MIT and stay under it.
Available Tools
8 toolsapr_categoriesAparat trending categoriesARead-onlyIdempotent
List the category names Aparat's trending tabs use.
Pass one as category to apr_trending.
Inputs: no named parameters.
apr_channelAparat channelARead-onlyIdempotent
Get an Aparat channel: name, followers, video count, total views, description, start date.
Use apr_channel_videos for its videos.
Inputs: channel (required).
apr_channel_videosAparat channel videosARead-onlyIdempotent
List a channel's videos, newest first or most viewed (10 per page).
Use apr_video for details of one.
Inputs: channel (required), page, sort.
apr_commentsAparat video commentsARead-onlyIdempotent
Read the top comments under an Aparat video (10 per page, most liked first as the site orders them).
Pass next for more. An empty list means no comments or comments are off.
Inputs: video (required), next.
apr_searchSearch AparatARead-onlyIdempotent
Search Aparat videos and channels by text.
Returns matching channels and videos in relevance order (about 40 per page). Pass next for more. Use
apr_video with a uid for full details, apr_channel with a username for a channel.
Inputs: query (required), next.
apr_trendingTrending Aparat videosARead-onlyIdempotent
List trending Aparat videos, overall or in one category (up to 40).
Use apr_video for details of one.
Inputs: category.
apr_videoAparat video detailsARead-onlyIdempotent
Get one Aparat video: title, description, views, likes, duration, tags, category, channel, publish date.
Use apr_comments for what viewers wrote and apr_related for similar videos.
Inputs: video (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a clearly distinct resource or action: search, video detail, categories, comments, related videos, channel detail, channel video listing, and trending. Overlap is minimal, and descriptions explicitly cross-reference the right tool for follow-up details.
All tools share a consistent `apr_` prefix and snake_case resource-oriented naming, which is predictable. Minor deviation: `apr_search` uses a verb while the rest are noun/resource names, but the pattern remains obvious.
Eight tools is well-scoped for an Aparat browsing server, with each tool covering a distinct discovery or detail workflow. No tool feels redundant or missing from the core browsing set.
The surface covers search, trending, categories, video details, comments, related videos, channels, and channel video listings, forming a nearly complete read-only browsing lifecycle. Minor gaps like playlists or hashtag exploration exist but are not blocking for typical use.
Maintenance
Related MCP Connectors
YouTube transcripts, search, channel/playlist listings and upload tracking for AI agents.
YouTube for AI agents: transcripts, comments, video stats, channel monitor, Shorts captions.
YouTube transcripts, search, channels, playlists and bulk transcript jobs for AI agents. 14 tools.
YouTube and TikTok transcripts, YouTube search and comments as tools. Runs on Apify.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to search, watch, summarize, clip, and extract transcripts from YouTube videos, all without needing an API key or leaving the chat.968Apache 2.0
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to search videos, retrieve transcripts and metadata, analyze channels, and access trending and engagement analytics for YouTube content.-
- AlicenseAqualityBmaintenanceEnables AI agents to search and read the public Faradars course catalog, including prices, discounts, syllabi, reviews, instructors, categories, learning paths, offers, and magazine articles, without an API key or account.16272 PyPIPolyForm Noncommercial 1.0.0
- AlicenseAqualityBmaintenanceEnables AI agents to search and browse the public Filimo and Namava movie and series catalogs, including title details, episodes, cast, genres, similar titles, curated lists, new releases, and Namava subscription plans. It is read-only, needs no API key or account, and provides compact JSON through MCP clients such as Claude, Cursor, and Copilot.13146 PyPI1PolyForm Noncommercial 1.0.0