agent-reach-mcp
Provides 13 internet platforms as MCP tools for AI agents, enabling read, search, and interaction with services like web, YouTube, Twitter, and Reddit via a production-grade MCP server.
README
<h1 align="center">๐ก Agent Reach โ MCP Fork</h1>
<p align="center"> <strong>13 Internet Platforms as MCP Tools for Your AI Agent</strong> </p>
<p align="center"> <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge" alt="MIT License"></a> <a href="https://www.python.org/"><img src="https://img.shields.io/badge/Python-3.10+-green.svg?style=for-the-badge&logo=python&logoColor=white" alt="Python 3.10+"></a> <a href="https://github.com/Panniantong/Agent-Reach"><img src="https://img.shields.io/badge/Forked%20From-Panniantong%2FAgent--Reach-blue?style=for-the-badge" alt="Forked From"></a> </p>
<p align="center"> <a href="#quick-start">Quick Start</a> ยท <a href="#mcp-server">MCP Server</a> ยท <a href="#origin">Origin</a> ยท <a href="#whats-different">What's Different</a> ยท <a href="#supported-platforms">Platforms</a> </p>
Origin
This is a fork of Panniantong/Agent-Reach (v1.5.0), an excellent project that gives AI agents read/search access to 13+ internet platforms.
The original project focuses on CLI + skill-based access for coding agents. This fork adds a production-grade MCP (Model Context Protocol) server as a first-class interface, making all 13 platforms available as MCP tools that any MCP-compatible host (Claude Desktop, Cursor, Windsurf, etc.) can call directly.
What's Different
| Area | Original (Panniantong) | This Fork |
|---|---|---|
| Primary interface | CLI (agent-reach read/search/doctor) |
MCP server (8 tools) + CLI |
| MCP server | Basic proof-of-concept | Production-grade, 8 tools, 70+ tests |
| Web search | DuckDuckGo via Jina Reader (403 on servers) | Exa via mcporter (works from any IP) |
| Stock quotes | Xueqiu-only (needs browser cookies) | yfinance โ Yahoo Finance v8 fallback (no auth needed) |
| Subprocess calls | 16 ad-hoc blocks | Single _run_cli() helper (consistent error handling) |
| Tool descriptions | Minimal | Verb-first, return format, negative instructions (per MCP best practices) |
| Testing | Subprocess-based | 70 in-memory FastMCP tests (deterministic, fast) |
| V2EX doctor | Always reported "ok" | Honest probing, returns "warn" when blocked |
| Error messages | Generic | Actionable: suggests alternatives when a platform is blocked |
All upstream credit to @Neo_Reidlab and the Panniantong team for building the channel architecture and CLI tooling.
Why Agent Reach?
AI agents can already write code, edit documents, and manage projects โ but ask them to find something online, and they're lost:
- ๐บ "Check what this YouTube tutorial says" โ Can't, can't get captions
- ๐ฆ "Search what people are saying about this product on Twitter" โ Can't, Twitter API requires payment
- ๐ "Go check Reddit if anyone had the same bug" โ 403 blocked, server IP rejected
- ๐ "Check this product's reviews on XiaoHongShu" โ Can't open, must log in to view
- ๐ "Search online for the latest LLM framework comparison" โ No good search tool, either paid or low quality
- ๐ "Check what this webpage says" โ Gets back a mess of HTML tags, unreadable
- ๐ก "Subscribe to these RSS feeds" โ Need to install libraries and write code
Agent Reach turns this into one sentence: give your Agent the install URL, and minutes later it can read Twitter, search Reddit, watch YouTube, and browse XiaoHongShu.
Supported Platforms
| Platform | Available Via | Auth Needed |
|---|---|---|
| ๐ Web | Jina Reader / Direct HTTP | No |
| ๐บ YouTube | yt-dlp caption extraction | No |
| ๐ก RSS | feedparser | No |
| ๐ Web Search | Exa via mcporter | No (free tier) |
| ๐ฆ GitHub | gh CLI | Optional (for private repos) |
| ๐ฆ Twitter/X | twitter-cli | Cookies |
| ๐บ Bilibili | bili-cli | No |
| ๐ Reddit | OpenCLI / rdt-cli | Cookies |
| ๐ XiaoHongShu | xhs-cli / OpenCLI | Cookies |
| ๐ผ LinkedIn | linkedin-scraper-mcp / Jina Reader | Optional |
| ๐ป V2EX | Web scraping (API often blocked on servers) | No |
| ๐ Xueqiu | yfinance (US stocks) / Xueqiu API (Chinese stocks) | Cookies for Chinese stocks |
| ๐๏ธ Xiaoyuzhou | RSS + Whisper | Groq API key |
MCP Server
This is the main feature of this fork. Run the MCP server and your AI host gets 8 tools:
agent-reach-mcp
8 MCP Tools
| Tool | What It Does | Best For |
|---|---|---|
| doctor | Check all 13 platforms' status | Diagnosing setup issues |
| read_url | Read any web page as clean text | Articles, docs, RSS feeds |
| search | Search by keyword across platforms | Finding content by topic |
| trending | Hot/trending content | What's popular right now |
| stock_quote | Real-time stock prices | AAPL, TSLA, etc. (US stocks work without setup) |
| get_details | Deep-dive by ID | V2EX topics, Bilibili videos, GitHub repos |
| transcribe | YouTube audio โ text transcript | Video summaries |
| install | Configure a platform or API key | Setting up auth |
Register with Claude Desktop
Add to your claude.json:
{
"mcpServers": {
"agent-reach": {
"command": "uv",
"args": [
"run",
"--directory", "/path/to/agent-reach-mcp",
"python", "-m", "agent_reach.integrations.mcp_server"
]
}
}
}
Register with OpenCode
Add to your opencode.json:
{
"mcpServers": {
"agent-reach": {
"command": "uv",
"args": [
"run",
"--directory", "/path/to/agent-reach-mcp",
"python", "-m", "agent_reach.integrations.mcp_server"
]
}
}
}
Quick Start
# Clone
git clone https://github.com/M0-AR/agent-reach-mcp.git
cd agent-reach-mcp
# Install
pip install -e .
# Check status
agent-reach doctor
# Run MCP server (for AI hosts)
agent-reach-mcp
Design Philosophy
This project is a capability layer, not a wrapper. It sits one level above any concrete implementation โ responsible for selection, installation, diagnostics, and routing, not for the underlying reading itself. Reading is done by the AI agent calling upstream tools directly.
Multi-Backend Routing
Each platform has an ordered list of backends:
channels/
โโโ web.py โ Jina Reader โธ Direct HTTP
โโโ twitter.py โ twitter-cli โธ OpenCLI โธ bird
โโโ youtube.py โ yt-dlp
โโโ bilibili.py โ bili-cli โธ OpenCLI
โโโ xueqiu.py โ Xueqiu API โธ yfinance โธ Yahoo Finance v8
โโโ v2ex.py โ API 2.0 โธ Legacy API โธ Web scraping
โโโ rss.py โ feedparser
โโโ exa_search.py โ Exa via mcporter
โโโ ...
When one backend fails, the next is tried. agent-reach doctor shows which backend is active for each platform.
Testing
# All tests
pytest tests/ -v
# MCP server tests only
pytest tests/test_mcp_server.py -v
# With coverage
pip install pytest-cov
pytest tests/ --cov=agent_reach
Contributing
PRs are welcome. This is a fork focused on making the MCP server production-ready.
- Found a bug? Open an Issue
- Want a new channel? Fork the original Panniantong/Agent-Reach and contribute there, then we can merge upstream changes here
Development
pip install -e ".[dev]"
pytest tests/ -v
ruff check .
License
MIT โ see LICENSE.
Original work Copyright (c) 2025 Agent Eyes (Panniantong/Agent-Reach). Fork modifications Copyright (c) 2026 M0-AR.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.