Offers integration with OpenAI, allowing search capabilities for AI assistants as mentioned in the general purpose of the MCP server.
Provides tools for searching across Reddit or specific subreddits, browsing posts with various sort options, and filtering by time periods.
Enables searching YouTube videos with filters, retrieving trending content with view counts and statistics, and sorting results by relevance, date, rating, or view count.
General MCP Server 🚀
A comprehensive Model Context Protocol (MCP) server that provides Reddit, YouTube, and Twitter search capabilities for AI assistants.
Features
- 🔴 Reddit: Search across all of Reddit or specific subreddits, browse posts
- 🎥 YouTube: Search videos, get trending content with view counts and statistics
- 🐦 Twitter: Search tweets, get user timelines (via Apify integration)
- Multiple Transport Options: Supports both stdio and SSE transports
Quick Start
1. Install Dependencies
2. Run the Server
Option A: Stdio transport (for Claude Desktop/local clients)
Option B: SSE transport (for web access)
Available Tools
Reddit Tools
1. search_reddit
Search Reddit for posts matching a query.
Parameters:
query
(str): Search termssubreddit
(str, optional): Specific subreddit to searchsort
(str): Sort order (relevance, hot, top, new, comments)time
(str): Time period (all, year, month, week, day, hour)limit
(int): Number of results (max 25)
2. get_subreddit_posts
Get posts from a specific subreddit.
Parameters:
subreddit
(str): Name of the subreddit (without r/)sort
(str): Sort order (hot, new, top, rising)time
(str): Time period for top postslimit
(int): Number of posts (max 25)
YouTube Tools
3. search_youtube
Search YouTube for videos matching a query.
Parameters:
query
(str): Search termspublished_after
(str, optional): ISO date string (e.g., "2024-01-01T00:00:00Z")published_before
(str, optional): ISO date string (e.g., "2024-12-31T23:59:59Z")order
(str): Sort order (relevance, date, rating, viewCount, title)limit
(int): Number of results (max 25)
4. get_youtube_trending
Get trending YouTube videos.
Parameters:
category
(str): Category ID (0=All, 10=Music, 15=Pets, 17=Sports, etc.)region
(str): Country code (US, GB, CA, etc.)limit
(int): Number of results (max 25)
Twitter Tools
5. search_twitter
Search Twitter for posts matching a query.
Parameters:
query
(str): Search termslimit
(int): Number of results (max 25)search_mode
(str): Search mode (live, user, image, video)days_back
(int): How many days back to search (1-30, default 7)
6. get_twitter_user_tweets
Get recent tweets from a specific user.
Parameters:
username
(str): Twitter username (without @)limit
(int): Number of tweets (max 25)days_back
(int): How many days back to search (1-90, default 30)
Examples
Search across platforms
Get trending content
Configuration
The server accepts the following command-line arguments:
--host
: Host to bind to (default: localhost)--port
: Port to listen on (default: 8080)--stdio
: Use stdio transport instead of SSE
API Keys
This server uses the following APIs:
- YouTube: Requires YouTube Data API v3 key (set
YOUTUBE_API_KEY
) - Twitter: Uses Apify Twitter scraper (set
APIFY_TOKEN
) - Reddit: Uses public JSON API (no key required)
Installation in Claude Desktop
To use with Claude Desktop, add this to your configuration:
Dependencies
fastmcp
: Fast MCP server frameworkhttpx
: HTTP client for API requestsuvicorn
: ASGI server for SSE transportstarlette
: Web framework for routing
License
MIT License - feel free to use and modify as needed! # Force redeploy
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A comprehensive Model Context Protocol server that enables AI assistants to search and retrieve content from Reddit, YouTube, and Twitter through simple API calls.
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that enables AI assistants like Claude to browse and analyze Reddit content, including searching subreddits, retrieving post details with comments, and viewing trending posts.Last updated -1PythonMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables AI to interact with Twitter, allowing functions like searching tweets, comparing sentiments across accounts, and retrieving timeline content.Last updated -MIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that enables AI assistants to perform real-time web searches, retrieving up-to-date information from the internet via a Crawler API.Last updated -1448JavaScript
- -security-license-qualityA Model Context Protocol server that enables searching YouTube videos, retrieving and storing transcripts, and performing semantic search over video content without using the official YouTube API.Last updated -1PythonMIT License