gmoigneu/newsblaster-mcp
If you are the rightful owner of newsblaster-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
Newsblaster is a Symfony 8 application that aggregates daily news from YouTube videos using AI, providing summarized reports stored in PostgreSQL and accessible via an MCP server.
Newsblaster
A Symfony 8 application that aggregates daily news from YouTube videos on specific topics using AI. It fetches video transcripts from the past 24 hours, generates summaries using Anthropic's Claude, and stores reports in PostgreSQL. An MCP server allows AI assistants to query the news data directly.
Features
- YouTube Video Discovery: Finds relevant videos published in the last 24 hours for configured topics
- Transcript Extraction: Retrieves video transcripts for content analysis
- AI-Powered Summarization: Uses Claude to generate daily news reports per topic
- PostgreSQL Storage: Persists daily reports for historical access
- MCP Server: Exposes news data to AI assistants like Claude Desktop
Requirements
- PHP 8.4+
- Composer
- PostgreSQL
- Symfony CLI (recommended)
- Anthropic API key
Installation
# Clone the repository
git clone <repository-url>
cd newsblaster
# Install dependencies
composer install
# Configure environment
cp .env .env.local
# Edit .env.local with your credentials:
# - ANTHROPIC_API_KEY
# - DATABASE_URL
Configuration
Environment Variables
Create .env.local with:
ANTHROPIC_API_KEY=your-anthropic-api-key
DATABASE_URL="postgresql://user:password@localhost:5432/newsblaster?serverVersion=16"
AI Configuration
The AI platform is configured in config/packages/ai.yaml. By default, it uses Anthropic's Claude for text generation and summarization.
Usage
Development Server
symfony server:start -d
Console Commands
# List available commands
php bin/console list
# Clear cache
php bin/console cache:clear
MCP Server
To expose Newsblaster to Claude Desktop:
php bin/console mcp:server
Add to Claude Desktop config (~/.config/claude/claude_desktop_config.json):
{
"mcpServers": {
"newsblaster": {
"command": "php",
"args": ["/path/to/newsblaster/bin/console", "mcp:server"]
}
}
}
Architecture
src/
├── Command/ # Console commands (scheduled jobs)
├── Controller/ # HTTP controllers
├── Entity/ # Doctrine entities (Topic, Report)
├── Repository/ # Database queries
├── Service/ # Business logic (YouTube, AI, Report generation)
├── Tool/ # AI agent tools
└── Mcp/ # MCP server tools
Development
See for development guidelines and code patterns.
Running Tests
php bin/phpunit
License
MIT