# Lection [Health: Active]

**Category:** 🌐 Social Media  
**Repository:** https://github.com/eteleieto/lection-mcp  
**GitHub Stars:** 0  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/lection

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

## Tools
Capabilities this server exposes over MCP:

- **youtube_search** — Search YouTube for videos by keyword, like "n8n automation tutorial" or "best budget laptops 2026". Returns up to 20 videos with title, channel, view count, upload date, duration and URL. Use it for content research, finding competitors and spotting popular topics. To list videos from one specific channel use youtube_channel_videos instead.
- **youtube_channel_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.
- **youtube_comments** — 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.
- **lection_browser_tools_info** — 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.
- **my_lection_account** — 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 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.
- **get_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.
- **list_my_schedules** — List the user's scheduled extractions: name, cadence, destination, next run and last status.
- **list_my_runs** — List recent runs of the user's schedules with status, row counts and errors.
- **schedule_extraction** — 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.
- **pause_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.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

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

## Documentation

## What Lection does

Lection brings structured web-data workflows into MCP clients. The public tools focus on YouTube: keyword searches return video metadata, channel queries list recent uploads, and comment queries retrieve top-level discussion from a specific public video. Results are presented as tables and are limited to 20 rows for these public tools.

The account tools expose a user’s Lection workspace. They can show saved scrapes, retrieve rows from a saved scrape or scheduled run, review schedules and their recent runs, create recurring extraction jobs, and pause existing schedules. Scheduled output can be delivered by email, Google Sheets, or webhook, depending on the user’s plan and available destinations.

Lection also provides guidance for extracting Instagram comments, followers, following, and posts, plus LinkedIn connections. Those sites require a login, so the extraction runs in the user’s browser through the Lection Chrome extension rather than inside the MCP client.

## How it works

The hosted endpoint is available at `https://www.lection.app/mcp` over Streamable HTTP. Public YouTube operations can be called without signing in or supplying an API key. Their data comes from the official YouTube Data API and includes fields such as titles, channels, view counts, upload dates, durations, URLs, comment text, authors, likes, replies, and dates.

Workspace operations use OAuth 2.1 and apply only to the signed-in user’s own Lection data. To retrieve run output, first find an identifier with the saved-scrape or run-listing tools. To create a schedule, select an existing saved scrape, choose an hourly, daily, or weekly cadence, and specify a supported destination. Schedule creation and pausing affect the user’s Lection account; pausing is treated as a destructive action and requires confirmation.

## Setup and configuration

For clients that support remote MCP connections, add `https://www.lection.app/mcp` as a custom server. Claude supports adding it as a custom connector, while Claude Code can register it with an HTTP transport. Cursor and VS Code can use the same URL in their MCP server configuration.

Clients limited to stdio can connect through `mcp-remote`, using the hosted URL as its argument. Sign in only when account tools are needed. Requests involving Instagram or LinkedIn data also require the Lection browser extension and the user’s login in that browser context.

## Tools and capabilities

- Search YouTube videos by keyword with `youtube_search`.
- List recent uploads for a channel handle or URL with `youtube_channel_videos`.
- Retrieve top-level comments from a public video using `youtube_comments`.
- Get browser-extension guidance for Instagram and LinkedIn exports with `lection_browser_tools_info`.
- Inspect plans, saved scrapes, schedules, and run results through the account tools.
- Create or pause recurring extraction schedules with specified delivery destinations.

## Limitations and notes

Public YouTube results are capped at 20 rows and are subject to YouTube’s terms and Google’s privacy policy. Lection states that it does not store those YouTube results. Account tools depend on OAuth access, the user’s plan limits, permitted delivery destinations, and available cloud credits. The hosted service is operated by Lection, while the repository metadata and documentation are licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/lection/readme_

