The Headline Vibes Analysis MCP Server analyzes sentiment in news headlines from major US publications.
Analyze Sentiment: Evaluates up to 100 headlines per request on a scale of 0 (most negative) to 10 (most positive).
Date Flexibility: Supports both natural language date input (e.g., "yesterday", "last Friday") and specific date formats (e.g., "2025-02-11").
Source Diversity: Pulls headlines from major US news sources like Reuters, CNN, Associated Press, and Wall Street Journal.
Detailed Results: Provides sentiment score, synopsis, number of headlines analyzed, source distribution, and up to 5 sample headlines.
Error Handling: Includes clear error messages for issues like invalid dates or API errors.
Development Support: Offers watch mode for real-time server testing during development.
Headline Vibes Analysis MCP Server
A Model Context Protocol server that analyzes sentiment in news headlines from major US publications. The server provides both a standard date-based interface and natural language date parsing for easier use.
Features
Analyzes up to 100 headlines per request
Even distribution of headlines across major US news sources
Sentiment scoring on a 0-10 scale (0 = most negative, 10 = most positive)
Natural language date parsing (e.g., "yesterday", "last Friday")
Detailed source distribution information
Sample headlines included in results
Prerequisites
Node.js v16 or higher
NewsAPI key (get one at https://newsapi.org)
Installation
Clone the repository:
Install dependencies:
Build the server:
Configure your NewsAPI key in your MCP settings file:
Available Tools
analyze_headlines
Analyze sentiment using natural language date input or specific dates.
Example usage:
Input examples:
"last Friday"
"3 days ago"
"March 10th"
"two weeks ago"
"2025-02-11" (YYYY-MM-DD format also supported)
Response Format
The tool returns results in the following format:
News Sources
The server pulls headlines from major US news sources including:
Associated Press
Reuters
CNN
Fox News
NBC News
ABC News
Wall Street Journal
Washington Post
USA Today
Bloomberg
Business Insider
Time
Error Handling
The server provides clear error messages for common issues:
Invalid date formats
Unparseable natural language queries
No headlines found for the specified date
API errors from NewsAPI
Development
To run the server in watch mode during development:
License
MIT
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Analyzes sentiment in news headlines from major US publications using both standard and natural language date inputs, enabling insights into public sentiment trends.
- Features
- Prerequisites
- Installation
- Available Tools
- Response Format
- News Sources
- Error Handling
- Development
- License
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityFetches and processes Hacker News discussions to prepare them for Claude to generate high-quality summaries, handling comment structure and metadata to help Claude understand the relative importance of different comments.Last updated -1MIT License
- AsecurityFlicenseAqualityA server providing access to news articles from various categories including tech, data science, cybersecurity, and more, allowing retrieval and summarization of latest content.Last updated -13
- -securityAlicense-qualityTurkish sentiment anlaysis with MCPLast updated -1Apache 2.0
- AsecurityAlicenseAqualitySearch and retrieve news articles and trending keywords from Google News and Google Trends. Summarize articles and extract keywords using optional NLP and LLM Sampling to get concise insights.Last updated -554MIT License