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 AI assistants with access to social media platforms, web services, and SEO tools.
🚀 Features
Social Media & Web Tools
- Reddit: Search posts, get subreddit content, comments
- Twitter: Search tweets, get user timelines
- Instagram: Search posts, get user profiles
- TikTok: Search videos, get user content
- YouTube: Search videos, get trending content
- Perplexity: AI-powered web search
- Google Trends: Search trend analysis and comparisons
SEO & Analytics Tools (DataForSEO)
- SERP Analysis: Get Google search results data
- Keyword Research: Search volume, CPC, competition analysis
- Competitor Analysis: Domain traffic, backlinks, competitive keywords
- Website Performance: Lighthouse audits, performance scores
📁 Project Structure
🛠️ Installation
Prerequisites
- Python 3.8+
- Claude Desktop (for MCP integration)
Quick Setup
- Clone and setup environment:
- Configure API keys: Set environment variables or edit the server file:
- Configure Claude Desktop:
Edit
~/Library/Application Support/Claude/claude_desktop_config.json
:
- Start the server:
- Restart Claude Desktop:
🔧 Usage
In Claude Desktop
Once configured, you can use natural language to interact with the tools:
HTTP Mode
Access the web interface at http://localhost:8000
:
- Automatic API documentation
- Real-time API usage monitoring
- Server-sent events for live updates
📊 API Usage & Cost Tracking
The server includes comprehensive usage tracking:
- Request counts by service and endpoint
- Cost estimates for paid APIs
- Rate limiting protection
- Detailed logging
View usage stats:
🔍 Available Tools
Social Media Tools
get_subreddit_posts
- Get posts from a specific subredditget_reddit_comments
- Get comments from a Reddit postsearch_reddit
- Search across Redditsearch_twitter
- Search Twitter postsget_user_tweets
- Get tweets from a specific usersearch_instagram
- Search Instagram postsget_instagram_profile
- Get Instagram user profilesearch_tiktok
- Search TikTok videosget_tiktok_user_videos
- Get videos from TikTok usersearch_youtube
- Search YouTube videosget_youtube_trending
- Get trending YouTube videos
Web & Analysis Tools
search_perplexity
- AI-powered web searchsearch_google_trends
- Search Google Trends datacompare_google_trends
- Compare multiple terms on Google Trendssearch_serp
- Get Google search results (DataForSEO)keyword_research
- Keyword analysis and search volumecompetitor_analysis
- Domain and competitor analysislighthouse_audit
- Website performance auditlighthouse_performance_score
- Quick performance scorelighthouse_bulk_audit
- Audit multiple URLs
🚨 Troubleshooting
Common Issues
- "Tool not found" errors:
- Restart Claude Desktop:
./scripts/restart_claude.sh
- Check configuration path in claude_desktop_config.json
- Restart Claude Desktop:
- API timeout errors:
- Some tools (especially social media) take 60-90 seconds
- This is normal for comprehensive data gathering
- Permission errors:
- Ensure Python path is correct in configuration
- Check file permissions:
chmod +x scripts/*.sh
- DataForSEO errors:
- Verify API credentials
- Check account plan limits
- Some tools require premium subscription
Debug Mode
Enable detailed logging:
📝 Development
Adding New Tools
- Add function to
mcp_stdio_server.py
- Add tool definition to
MCPServer.tools
- Add handler in
handle_message
method - Test with provided test scripts
Running Tests
Code Organization
- Keep all tests in
/tests
- Put utilities in
/scripts
- Configuration in
/config
- Documentation in
/docs
📄 License
This project is licensed under the MIT License.
🤝 Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
📞 Support
- Check
/docs
for detailed documentation - Review
/logs
for debugging information - Use
/scripts/verify_live_apis.py
to test API connectivity
Version: 1.0.0
Last Updated: December 2024
Author: General MCP Team
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