Lection

io.github.eteleietoPublished by GitHub account eteleietov1.0.0Updated Oct 24, 2026

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

VerifiedStreamable HTTPWeb executableProductivity & WorkflowWeb Search & Scraping

Overview

AI-generated overview

Search YouTube videos, channel uploads and comments as tables, and manage Lection scraping schedules from an assistant.

What you can do
A hosted remote MCP 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. Public tools search YouTube videos by keyword, list a channel's latest uploads, and fetch top-level comments on a public video, returning rows capped at 20. Account tools, after OAuth sign-in, show plan and credit details, saved scrapes, run results, schedules and recent runs, and can create or pause schedules.
When to use it
Useful when you want an assistant to pull YouTube search results, channel uploads or comment data as tables without writing API code, or to check and manage your own Lection scrapes and scheduled exports. The public YouTube tools need no sign-in, so they can be tried immediately.
Requirements
A remote Streamable HTTP endpoint at nothing to install and no API key for the public YouTube tools. Account tools require OAuth 2.1 sign-in (Supabase). Network access to the endpoint is required.
Before you install
Account tools act only on the signed-in user's own Lection data. schedule_extraction creates recurring hourly, daily or weekly extractions that send results to email, a Google Sheet or a webhook; pause_schedule is marked destructive and asks for confirmation. YouTube results come from the YouTube Data API and are subject to YouTube's terms and Google's privacy policy.

Installation

In SourceWeft

  1. Open Lection in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.eteleieto%2Flection-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "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.

Source: README.md at commit 5d15dd9

Tools

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.

ParameterschannelrequiredmaxRows

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.

ParametersurlrequiredmaxRows

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.

Parametersplatformrequired

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.

Takes no parameters.

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.

Parameterslimit

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.

ParametersidrequiredkindrequiredmaxRows

list_my_schedules

List my schedules

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

Parameterslimitstatus

list_my_runs

List my scheduled runs

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

ParameterslimitstatusscheduleId

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.

ParametersnamerequiredcadencerequiredweekdaytimezonetimeOfDaywebhookUrldestinationsavedScrapeIdrequiredspreadsheetUrl

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.

ParametersscheduleIdrequired

Version history

1
  1. v1.0.0LatestOct 13, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts