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 分