Lection

v1.0.0
io.github.eteleieto/lection-mcp Checked 4 days ago Published 1 month ago

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

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. Public (no sign-in, results capped at 20 rows, official YouTube Data API): Account tools (OAuth; act only on the signed-in user's own Lection data):

Summary extracted from the README.

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

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

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.