Lection

io.github.eteleieto由 GitHub 账号 eteleieto 发布v1.0.0更新于 Oct 24, 2026

Search YouTube videos, channel uploads and comments as tables; manage Lection schedules.

已验证Streamable HTTP可网页运行效率与工作流网页搜索与抓取

概览

AI 生成的概览

以表格形式搜索 YouTube 视频、频道上传和评论,并管理 Lection 抓取计划。

可以做什么
这是 Lection 的托管远程 MCP 服务器。Lection 可将网页转为结构化表格,并按计划导出为 CSV、Excel、Google 表格或 webhook。公开工具可按关键词搜索 YouTube 视频、按 @handle 或链接列出频道最新上传,以及获取公开视频的顶层评论,结果最多 20 行。登录后,账户工具可查看套餐、额度、已保存抓取、运行结果、计划与近期运行,并可创建或暂停计划。
适用场景
适合让助手无需编写 API 代码即可获取 YouTube 搜索结果、频道上传或评论数据表格,也适合查看和管理自己的 Lection 抓取与定时导出。公开 YouTube 工具无需登录,可立即试用。
运行要求
远程 Streamable HTTP 端点 YouTube 工具无需安装、无需 API 密钥。账户工具需要 OAuth 2.1 登录(Supabase)。需要能访问该端点的网络。
安装前请注意
账户工具仅作用于已登录用户自己的 Lection 数据。schedule_extraction 会创建每小时、每天或每周的定时抓取,并把结果发送到邮箱、Google 表格或 webhook;pause_schedule 被标记为破坏性操作并要求确认。YouTube 结果来自 YouTube Data API,受 YouTube 服务条款和 Google 隐私政策约束。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Lection,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.eteleieto%2Flection-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "lection": {
      "type": "http",
      "url": "https://www.lection.app/mcp"
    }
  }
}

README

[Lection logo]

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.

Tools

Public (no sign-in, results capped at 20 rows, official YouTube Data API):

ToolWhat it does
youtube_searchSearch YouTube videos by keyword: title, channel, views, date, URL.
youtube_channel_videosLatest uploads of a channel by @handle or URL.
youtube_commentsTop-level comments of a public video: author, text, likes, replies, date.
lection_browser_tools_infoHow 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):

ToolWhat it does
my_lection_accountPlan, schedule limits, allowed destinations, cloud credits.
list_my_saved_scrapesRecent saved scrapes.
get_run_resultsRows of a saved scrape or scheduled run as a table.
list_my_schedulesScheduled extractions with cadence, destination, next run, status.
list_my_runsRecent schedule runs with status and row counts.
schedule_extractionCreate an hourly, daily or weekly schedule for a saved scrape (email, Google Sheet or webhook).
pause_schedulePause 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

bash
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"):

json
{  "mcpServers": {    "lection": {      "url": "https://www.lection.app/mcp"    }  }}

stdio-only clients (via mcp-remote)

json
{  "mcpServers": {    "lection": {      "command": "npx",      "args": ["-y", "mcp-remote", "https://www.lection.app/mcp"]    }  }}

Example prompts

Privacy and terms

Privacy policy: https://www.lection.app/privacy · Terms: https://www.lection.app/terms · Support: [email protected]

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.

来源:README.md,提交 5d15dd9

工具

11

youtube_channel_videos

List a YouTube channel's videos

List the latest videos on one YouTube channel, given its @handle or URL (for example "@OpenAI" or https://www.youtube.com/@OpenAI). Returns up to 20 recent uploads with title, upload date, view count, duration and URL. Use it to audit a creator or competitor channel. To search all of YouTube by keyword use youtube_search.

输入参数channel必填maxRows

youtube_comments

Get comments on a YouTube video

Fetch top-level comments from one public YouTube video, given its URL. Returns up to 20 top comments with author, text, like count, reply count, date and the author's channel link. Use it for audience sentiment, feedback mining and finding engaged commenters. Needs a specific video URL; to find videos first use youtube_search.

输入参数url必填maxRows

lection_browser_tools_info

Instagram and LinkedIn exports (browser extension)

Explain how to export data from Instagram (comments, followers, following, posts) or LinkedIn (connections) with Lection. These sites require login, so they run in the user's own browser through the Lection Chrome extension rather than inside ChatGPT. Call this whenever the user asks for Instagram or LinkedIn data; it returns the install link and the right tool page.

输入参数platform必填

my_lection_account

My Lection plan and limits

Show the linked user's Lection plan, how many schedules they can run, allowed delivery destinations and available cloud credits. Use before scheduling or when a plan limit is hit.

无需输入参数。

list_my_saved_scrapes

List my saved scrapes

List the user's most recent saved scrapes in Lection (title, page, row count, id). A saved scrape is the starting point for schedule_extraction and get_run_results.

输入参数limit

get_run_results

Get saved scrape or run results

Fetch the rows of one of the user's saved scrapes or scheduled runs by id and show them as a table. Use list_my_saved_scrapes or list_my_runs first to find the id.

输入参数id必填kind必填maxRows

list_my_schedules

List my schedules

List the user's scheduled extractions: name, cadence, destination, next run and last status.

输入参数limitstatus

list_my_runs

List my scheduled runs

List recent runs of the user's schedules with status, row counts and errors.

输入参数limitstatusscheduleId

schedule_extraction

Schedule a saved scrape

Create a recurring schedule (hourly, daily or weekly) that re-runs one of the user's saved scrapes and delivers each run to email, a Google Sheet or a webhook. This creates a recurring job in the user's Lection account and may use cloud credits: confirm the saved scrape, cadence and destination with the user before calling. Respects the user's plan limits and returns a clear message if one is reached.

输入参数name必填cadence必填weekdaytimezonetimeOfDaywebhookUrldestinationsavedScrapeId必填spreadsheetUrl

pause_schedule

Pause a schedule

Pause one of the user's schedules so it stops running. The user can resume it from the Lection dashboard. Confirm with the user first.

输入参数scheduleId必填

版本历史

1
  1. v1.0.0最新Oct 13, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分