Skip to main content
Glama

Headline Vibes Analysis MCP Server

by fred-em

ヘッドラインバイブス分析MCPサーバー

米国の主要出版物のニュース見出しにおける感情分析を行うモデルコンテキストプロトコルサーバーです。このサーバーは、標準的な日付ベースのインターフェースと自然言語による日付解析の両方を提供し、使いやすさを向上させています。

特徴

  • リクエストごとに最大100件の見出しを分析
  • 米国の主要ニュースソースにおける見出しの均等な分布
  • 0~10 段階の感情スコア(0 = 最も否定的、10 = 最も肯定的)
  • 自然言語による日付解析(例:「昨日」、「先週の金曜日」)
  • 詳細なソース配布情報
  • 結果に含まれるサンプルの見出し

前提条件

インストール

  1. リポジトリをクローンします。
git clone https://github.com/fred-em/headline-vibes.git cd headline-vibes
  1. 依存関係をインストールします:
npm install
  1. サーバーを構築します。
npm run build
  1. MCP 設定ファイルで 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

ライセンス

マサチューセッツ工科大学

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

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.

標準および自然言語の両方のデータ入力を使用して、米国の主要出版物のニュースの見出しの感情を分析し、世論の傾向に関する洞察を可能にします。

  1. 特徴
    1. 前提条件
      1. インストール
        1. 利用可能なツール
          1. 見出しを分析する
        2. 応答フォーマット
          1. ニュースソース
            1. エラー処理
              1. 発達
                1. ライセンス

                  Related MCP Servers

                  • A
                    security
                    A
                    license
                    A
                    quality
                    This is a TypeScript-based MCP server that allows searching for New York Times articles from the last 30 days based on a keyword.
                    Last updated -
                    1
                    5
                    8
                    JavaScript
                    MIT License
                    • Apple
                  • -
                    security
                    F
                    license
                    -
                    quality
                    An MCP server offering AI-driven social mention analysis via Syften's API, featuring real-time notifications and trend analysis.
                    Last updated -
                    1
                    JavaScript
                  • A
                    security
                    A
                    license
                    A
                    quality
                    Provides tools to fetch and search news from The Verge's RSS feed, allowing users to get today's news, retrieve random articles from the past week, and search for specific keywords in recent Verge content.
                    Last updated -
                    3
                    1
                    TypeScript
                    MIT License
                    • Apple

                  View all related MCP servers

                  MCP directory API

                  We provide all the information about MCP servers via our MCP API.

                  curl -X GET 'https://glama.ai/api/mcp/v1/servers/fred-em/headline-vibes'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server