Skip to content

sasaeo/mcp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# MediaAggregatorMCP MediaAggregatorMCP is a Python MCP server that aggregates media trends from YouTube, Google Trends, Reddit, and NewsAPI. It exposes tools to fetch unified trends, per-source trends, generate recommendations, and explain rankings. ## Features - Adapters for YouTube, Google Trends (pytrends), Reddit (praw), and NewsAPI - Unified aggregation and ranking with typed Pydantic models - Simple, transparent recommendation scoring with explainability - FastMCP-based MCP server exposing tools - Config via environment variables; production-ready logging and error handling ## Requirements - Python 3.10+ - API keys for sources you want to enable ## Setup 1. Install dependencies: ```bash pip install -r requirements.txt ``` 2. Configure environment: - Copy `env.example` to `.env` and fill values: ```bash copy env.example .env # Windows PowerShell ``` Required variables for specific adapters: - YouTube: `YOUTUBE_API_KEY` - NewsAPI: `NEWSAPI_KEY` - Reddit: `REDDIT_CLIENT_ID`, `REDDIT_CLIENT_SECRET`, `REDDIT_USER_AGENT` ## Run ```bash python server.py ```# media-aggregator-mcp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages