Headline Vibes Analysis MCP Server
ヘッドラインバイブス分析MCPサーバー
米国の主要出版物のニュース見出しにおける感情分析を行うモデルコンテキストプロトコルサーバーです。このサーバーは、標準的な日付ベースのインターフェースと自然言語による日付解析の両方を提供し、使いやすさを向上させています。
特徴
リクエストごとに最大100件の見出しを分析
米国の主要ニュースソースにおける見出しの均等な分布
0~10 段階の感情スコア(0 = 最も否定的、10 = 最も肯定的)
自然言語による日付解析(例:「昨日」、「先週の金曜日」)
詳細なソース配布情報
結果に含まれるサンプルの見出し
Related MCP server: news-sentiment-mcp
前提条件
Node.js v16以上
NewsAPI キー ( https://newsapi.orgで取得)
インストール
リポジトリをクローンします。
git clone https://github.com/fred-em/headline-vibes.git
cd headline-vibes依存関係をインストールします:
npm installサーバーを構築します。
npm run buildMCP 設定ファイルで NewsAPI キーを設定します。
{
"mcpServers": {
"headline-vibes": {
"command": "node",
"args": ["/path/to/headline-vibes/build/index.mjs"],
"env": {
"NEWS_API_KEY": "your-api-key-here"
},
"disabled": false,
"autoApprove": []
}
}
}利用可能なツール
見出しを分析する
自然言語による日付入力または特定の日付を使用して感情を分析します。
使用例:
// Using natural language
{
"name": "analyze_headlines",
"arguments": {
"input": "yesterday"
}
}
// Or using specific dates
{
"name": "analyze_headlines",
"arguments": {
"input": "2025-02-11"
}
}入力例:
「先週の金曜日」
「3日前」
「3月10日」
「2週間前」
「2025-02-11」(YYYY-MM-DD形式もサポートされています)
応答フォーマット
ツールは次の形式で結果を返します。
{
"score": "6.50", // Normalized sentiment score (0-10)
"synopsis": "Overall positive sentiment in today's headlines",
"headlines_analyzed": 100, // Number of headlines analyzed
"sources_analyzed": 12, // Number of unique sources
"source_distribution": { // Distribution of headlines by source
"Reuters": 10,
"Associated Press": 8,
"CNN": 9,
// ... etc
},
"sample_headlines": [ // Up to 5 sample headlines
"Example headline 1",
"Example headline 2",
// ... etc
]
}ニュースソース
サーバーは、以下を含む米国の主要ニュースソースから見出しを取得します。
AP通信
ロイター
CNN
フォックスニュース
NBCニュース
ABCニュース
ウォール・ストリート・ジャーナル
ワシントン・ポスト
USAトゥデイ
ブルームバーグ
ビジネスインサイダー
時間
エラー処理
サーバーは、一般的な問題に対して明確なエラー メッセージを提供します。
無効な日付形式
解析不可能な自然言語クエリ
指定された日付の見出しが見つかりません
NewsAPIからのAPIエラー
発達
開発中にサーバーをウォッチモードで実行するには:
npm run watchライセンス
マサチューセッツ工科大学
This server cannot be deployed
Maintenance
Related MCP Connectors
News sentiment score trends for any topic over time. Free key at trendsapi.ai
Search global news in natural language. Filter by language, country, date, sentiment, and domain.
News sentiment scores over time, with growth for any topic. Free key at trendsmcp.ai
Get access to real-time and historical news data including top headlines from global sources
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides tools for fetching real-time news and performing AI-powered sentiment analysis and summarization using Mistral AI. It enables users to analyze news trends and extract structured insights through natural language queries.-
- AlicenseNot gradedqualityCmaintenanceProvides news sentiment scores, media volume trends, and historical coverage data for any topic, enabling AI to analyze positive or negative coverage over time.1MIT
- AlicenseAqualityBmaintenanceProvides news sentiment scores and media volume trends for any topic, enabling AI assistants to analyze whether news coverage is positive or negative.31MIT
- FlicenseNot gradedqualityCmaintenanceEnables natural-language requests to fetch recent news, generate sentiment analysis reports, and email them as attachments via SMTP.-