Channel Brains
FreeNot checkedLocal MCP server that indexes public YouTube captions into a searchable SQLite FTS5 database, enabling timestamped search and transcript retrieval without an AP
About
Local MCP server that indexes public YouTube captions into a searchable SQLite FTS5 database, enabling timestamped search and transcript retrieval without an API key.
README
Channel Brains is a local, stdio MCP server that indexes publicly available YouTube captions into a searchable SQLite FTS5 database. It runs on your computer, needs no API key, and preserves timestamped links back to the original videos.
It is deliberately small and local:
- No hosted service, Docker, browser dashboard, embeddings, or LLM runtime
- No YouTube API key, database server, or cloud account
- One local SQLite database per user, protected by a cross-process ingestion lock
- One channel ingestion job at a time, with resumable per-video progress
- Search results cite the original video and timestamp
Install
Requires uv.
After the public v0.1.0 release, run it directly from GitHub:
uvx --from "git+https://github.com/Pu11en/[email protected]" channel-brains-mcp
The release is published from Pu11en/channel-brains.
For development:
uv sync --extra dev
uv run channel-brains-mcp
The server communicates only through standard input and output. Do not run it as an HTTP service.
First workflow
- Add the server to an MCP client using one of the configurations below.
- Call
create_brainwith a supported YouTube channel URL, such ashttps://www.youtube.com/@OpenAI. - Poll
get_brain_statusuntil the brain isready,paused, orfailed. - Use
search_brainto retrieve timestamped caption matches.
The initial ingestion scans the complete channel listing so it can select up to 50 videos by view count. Caption availability and YouTube rate limits determine how much can be indexed.
MCP tools
Channel Brains exposes exactly these six tools:
| Tool | Purpose |
|---|---|
create_brain |
Validate a channel URL, persist a brain, and start local ingestion. |
get_brain_status |
Read progress, counts, selection method, and errors without network access. |
list_brain_videos |
Page through indexed, skipped, pending, and failed video records. |
search_brain |
Search local FTS5 caption chunks and return timestamped YouTube citations. |
get_video_transcript |
Page through stored caption chunks for one indexed video. |
delete_brain |
Remove a completed brain and all its local records. Active ingestion is refused. |
Local data and privacy
By default, Channel Brains stores its SQLite database and lock file in the platform’s user-data directory:
- Windows:
%LOCALAPPDATA%\channel-brains - macOS:
~/Library/Application Support/channel-brains - Linux:
~/.local/share/channel-brains
Set CHANNEL_BRAINS_HOME before launching the MCP server to use another location:
CHANNEL_BRAINS_HOME=/path/to/channel-brains-data uvx --from "git+https://github.com/Pu11en/[email protected]" channel-brains-mcp
Captions and search indexes stay on the local machine. The only network requests are public YouTube requests made by yt-dlp and caption URL retrieval during ingestion.
MCP client configuration
All examples use the published Pu11en/channel-brains release command.
Hermes Agent
Add this entry under mcp_servers in your Hermes configuration, then restart Hermes:
mcp_servers:
channel_brains:
command: uvx
args:
- --from
- git+https://github.com/Pu11en/[email protected]
- channel-brains-mcp
timeout: 120
connect_timeout: 60
Hermes discovers the six tools at startup and registers them with an mcp_channel_brains_ prefix.
Claude Code
Register it at user scope:
claude mcp add -s user channel-brains -- \
uvx --from "git+https://github.com/Pu11en/[email protected]" channel-brains-mcp
Confirm it is available:
claude mcp list
Codex CLI
Add this to ~/.codex/config.toml:
[mcp_servers.channel-brains]
command = "uvx"
args = ["--from", "git+https://github.com/Pu11en/[email protected]", "channel-brains-mcp"]
Restart Codex after saving the file.
OpenCode
Add a local MCP server entry to your OpenCode configuration:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"channel-brains": {
"type": "local",
"command": [
"uvx",
"--from",
"git+https://github.com/Pu11en/[email protected]",
"channel-brains-mcp"
],
"enabled": true
}
}
}
Restart OpenCode to load the server.
Development and verification
uv sync --extra dev --locked
uv run ruff check .
uv run pytest
uv build
The test suite is offline except for the deliberately separate manual live YouTube smoke test.
Limitations
- Public YouTube captions can be unavailable, expired, restricted, or rate-limited.
- Search is lexical SQLite FTS5 search, not semantic search or an answer-generation system.
- The server indexes captions only. It does not download videos, reuse video footage, or create a knowledge graph.
- A channel can contain many videos. The first local ingestion may take time.
License
MIT. See LICENSE.
Install Channel Brains in Claude Desktop, Claude Code & Cursor
unyly install channel-brainsInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add channel-brains -- uvx --from git+https://github.com/Pu11en/channel-brains channel-brains-mcpStep-by-step: how to install Channel Brains
FAQ
Is Channel Brains MCP free?
Yes, Channel Brains MCP is free — one-click install via Unyly at no cost.
Does Channel Brains need an API key?
No, Channel Brains runs without API keys or environment variables.
Is Channel Brains hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Channel Brains in Claude Desktop, Claude Code or Cursor?
Open Channel Brains on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
by wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
by madhurprashPostgres
Query your database in natural language
by AnthropicPostgreSQL
Read-only database access with schema inspection.
by modelcontextprotocolCompare Channel Brains with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs
