Lection
Search YouTube videos, channel uploads and comments as tables; manage Lection schedules.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http lection 'https://www.lection.app/mcp'
{
"mcpServers": {
"lection": {
"type": "http",
"url": "https://www.lection.app/mcp"
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
Lection MCP server
A hosted (remote) Model Context Protocol server for Lection, a tool that turns web pages into structured tables and exports them to CSV, Excel, Google Sheets or a webhook on a schedule.
- Endpoint:
https://www.lection.app/mcp(Streamable HTTP) - Nothing to install, no API key for the public YouTube tools.
- Account tools use OAuth 2.1 (Supabase). Protected-resource metadata: https://www.lection.app/.well-known/oauth-protected-resource
Tools
Public (no sign-in, results capped at 20 rows, official YouTube Data API):
| Tool | What it does |
|---|---|
youtube_search | Search YouTube videos by keyword: title, channel, views, date, URL. |
youtube_channel_videos | Latest uploads of a channel by @handle or URL. |
youtube_comments | Top-level comments of a public video: author, text, likes, replies, date. |
lection_browser_tools_info | How to export Instagram comments/followers or LinkedIn connections with Lection (those sites need a login, so they run in the Lection browser extension). |
Account tools (OAuth; act only on the signed-in user's own Lection data):
| Tool | What it does |
|---|---|
my_lection_account | Plan, schedule limits, allowed destinations, cloud credits. |
list_my_saved_scrapes | Recent saved scrapes. |
get_run_results | Rows of a saved scrape or scheduled run as a table. |
list_my_schedules | Scheduled extractions with cadence, destination, next run, status. |
list_my_runs | Recent schedule runs with status and row counts. |
schedule_extraction | Create an hourly, daily or weekly schedule for a saved scrape (email, Google Sheet or webhook). |
pause_schedule | Pause a schedule (resumable in the dashboard). |
All read-only tools carry readOnlyHint: true; pause_schedule is marked destructive and asks for confirmation.
Connect
Claude (web, desktop, mobile)
Settings → Connectors → Add custom connector → URL https://www.lection.app/mcp → Add. Sign in only if you want the account tools.
Claude Code
claude mcp add --transport http lection https://www.lection.app/mcp
ChatGPT
Enable Developer mode (Settings → Apps → Advanced), then create an app / custom MCP server with URL https://www.lection.app/mcp. Authentication: none for the YouTube tools, OAuth for account tools.
Cursor / VS Code
Add to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code, under "servers"):
{
"mcpServers": {
"lection": {
"url": "https://www.lection.app/mcp"
}
}
}
stdio-only clients (via mcp-remote)
{
"mcpServers": {
"lection": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://www.lection.app/mcp"]
}
}
}
Example prompts
- "Show the top YouTube videos about n8n automation tutorials."
- "List the latest videos from @OpenAI."
- "Get the top comments on this video: https://www.youtube.com/watch?v=dQw4w9WgXcQ"
Privacy and terms
Privacy policy: https://www.lection.app/privacy · Terms: https://www.lection.app/terms · Support: support@lection.app
YouTube results come from the YouTube Data API and are subject to the YouTube Terms of Service and Google Privacy Policy. Lection does not store them.
License
MIT (this repository's metadata and docs). The hosted service is operated by Lection.
الأسئلة الشائعة
ما هو Lection؟
Search YouTube videos, channel uploads and comments as tables; manage Lection schedules.
كيف أثبّت Lection؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http lection 'https://www.lection.app/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Lection إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل Lection مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون Lection؟
ينشره eteleieto. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.