runesleo/x-reader
Python MCP server and CLI for reading sources and reporting evidence gaps
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
x-reader is a Python 3.10+ source reader with platform-specific adapters and a shared UnifiedContent schema. x_reader/reader.py orchestrates reads, while x_reader/fetchers/ separates platform behavior from the normalized result. The base dependencies include requests for HTTP, feedparser for RSS, html5lib for generic HTML parsing, and idna for URL validation. Fetching, media completion, and interpretation are separate steps: an agent can inspect what was captured before deciding how to use it.
The CLI emits JSON and supports a local inbox. The packaged x-reader-mcp entrypoint exposes read_url, read_batch, list_inbox, and detect_platform; the root mcp_server.py is a compatibility shim for source checkouts. The experimental web surface invokes the existing x-reader URL --json path in an isolated environment and projects the result into an evidence receipt rather than implementing a second reader. Agent Skills add instructions for source reading, transcription, and interpretation.
Key Capabilities & Differentiators
Adapters cover X, YouTube, Bilibili, WeChat, Xiaohongshu, Telegram, RSS, Xiaoyuzhou and Apple Podcasts, and generic web pages. Public X has an oEmbed-first path with fallbacks. Generic web reads can route a redirect to a platform-specific reader; Telegram uses Telethon with configured credentials. YouTube uses yt-dlp for metadata and subtitles and can fall back to Groq Whisper when configured. Podcast show notes are the default; spoken content requires opt-in local ASR.
The main capability is recording what the fetch did not establish. A search snippet is discovery, a description is metadata, and readable X post text does not cover an attached video. A thread whose subsequent posts have not been read can remain PARTIAL, and retrieving an X post does not provide the body of an X Article. Even a full subtitle track covers speech, not visuals. PASS, PARTIAL, FAIL, and UNKNOWN let a downstream agent decide whether to answer, qualify its answer, or seek the missing source layer.
Trade-offs & Limitations
For article extraction alone, calling Jina Reader directly is a smaller integration; x-reader can use it as a fallback. For YouTube subtitles alone, direct yt-dlp avoids an extra abstraction. x-reader earns its place when several source types must feed one agent workflow and gaps need to remain visible. It does not make retrieval uniformly reliable: login and paywalls, deleted sources, upstream API changes, and missing subtitles can all reduce coverage. It is not a visual-analysis pipeline, and receipts do not fact-check the retrieved content.
Local execution also does not mean offline use or first-party-only traffic. Depending on the adapter and configuration, URLs can go to FxTwitter or Jina, and Groq transcription sends audio out. Playwright and local ASR add browser or compute overhead. URL validation blocks private and local targets on supported fetch paths, but retrieved content remains untrusted and should not be treated as agent instructions. MIT licensing permits commercial self-hosting of the software; rights to fetched content and platform access terms are separate.
Hardware & Deployment Guide
For a local MCP installation, use Python 3.10+ and pip install -e ".[mcp]", then python mcp_server.py; alternatively, use uvx to launch x-reader-mcp. The Claude Code and Codex plugin path uses uvx and a pinned repository commit. Enable the browser extra and install Chromium only for browser fallback; authenticated sessions, Telegram credentials, and transcription each require separate setup. x-reader doctor --json is a read-only readiness check. Base usage is network fetching and parsing, with no stated GPU requirement; size optional browser sessions and local ASR separately.
For a local web preview, run x-reader-web --host 127.0.0.1 --port 8787. The hosted beta has a narrower scope than the local toolset: it accepts public X, YouTube, and generic web URLs and gives each request a fresh temporary HOME and inbox without inheriting local credentials. v0.4.0 introduced doctor, v0.5.0 added the hosted receipt beta, and v0.5.1 hardened Agent Skill bootstrap and interrupted-install recovery without deploying the hosted service.
x-reader-mcp exposes URL reads, batch reads, platform detection, and inbox access.PASS, PARTIAL, FAIL, and UNKNOWN describe coverage, not the truth of a source’s claims.x-reader doctor --json separates core blockers from optional gaps without printing secret values.Agent research, editorial intake, and link-triage workflows that need normalized source content and an explicit record of what was missed.
You need offline retrieval, reliable access to gated content, full visual analysis, or only a single extraction backend with no coverage reporting.
Quick Start & Installation
npx skills add runesleo/x-reader --skill x-reader
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| x-reader ★ | 997 | +4 | Python | MIT | Python MCP server and CLI for reading sources and reporting evidence gaps |
| last30days-skill | 80.4k | +3.9k | Python | MIT | An agent skill with a CLI and MCP bundle for cited, cross-source 30-day research |
| chrome-devtools-mcp | 60.4k | +760 | TypeScript | Apache-2.0 | Chrome DevTools via MCP and CLI for live browser debugging and performance analy |
| context7 | 65.8k | +333 | TypeScript | MIT | A hosted documentation index with MCP and CLI access for coding agents |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/runesleo/x-reader.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about x-reader
How do I integrate x-reader with an MCP client or a shell pipeline?
mcp extra and run python mcp_server.py from a checkout, or launch the packaged x-reader-mcp entrypoint with uvx. The MCP server exposes read_url, read_batch, detect_platform, and list_inbox. Use x-reader URL --json for shell pipelines. The public web beta is a separate interface, not a service the local MCP server depends on.Do I need a GPU, and which optional paths change the sizing?
tiny model on first use. Groq transcription shifts that compute off-host but sends audio to an external API. Size the deployment against realistic source mixes and concurrency rather than a fixed hardware estimate.Can we self-host it commercially or bundle it into a product?
When is x-reader preferable to calling Jina Reader or yt-dlp directly?
yt-dlp is a narrower fit for a YouTube subtitle workflow. Choose x-reader when several source types must share one interface and downstream agents need to distinguish original text, metadata, speech, and unread media. Choose a dedicated multimedia pipeline if visual analysis is a requirement.Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy