Headline Vibes Analysis MCP Server

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.

Integrations

  • Pulls headlines from CNN for sentiment analysis

  • Pulls headlines from Fox News for sentiment analysis

  • Pulls headlines from NBC News for sentiment analysis

헤드라인 분위기 분석 MCP 서버

미국 주요 언론사의 뉴스 헤드라인에 나타난 감정을 분석하는 모델 컨텍스트 프로토콜 서버입니다. 이 서버는 표준 날짜 기반 인터페이스와 자연어 날짜 구문 분석을 모두 제공하여 더욱 편리한 사용을 지원합니다.

특징

  • 요청당 최대 100개의 헤드라인을 분석합니다.
  • 주요 미국 뉴스 소스에 따른 헤드라인의 균일한 분포
  • 0~10점 척도로 감정 점수 매기기(0 = 가장 부정적, 10 = 가장 긍정적)
  • 자연어 날짜 구문 분석(예: "어제", "지난 금요일")
  • 자세한 소스 배포 정보
  • 결과에 포함된 샘플 헤드라인

필수 조건

설치

  1. 저장소를 복제합니다.

지엑스피1

  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

특허

MIT

You must be authenticated.

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

표준 및 자연어 날짜 입력을 모두 사용하여 주요 미국 출판사의 뉴스 헤드라인에 나타난 감정을 분석하여 대중 감정 추세에 대한 통찰력을 제공합니다.

  1. Features
    1. Prerequisites
      1. Installation
        1. Available Tools
          1. analyze_headlines
        2. Response Format
          1. News Sources
            1. Error Handling
              1. Development
                1. License
                  ID: jkojbe4jve