Skip to main content
Glama

MCP Goodnews

Apache 2.0
28
  • Linux
  • Apple

MCPグッドニュース


GitHubライセンス

MCP Goodnewsは、良いニュース、ポジティブなニュース、そして元気が出るニュースを取得するためのサーバーを備えた、シンプルなモデルコンテキストプロトコル(MCP)アプリケーションです。このツールはNewsAPIからニュース記事を取得し、Cohere LLMを用いてポジティブな感情に基づいて上位のニュース記事をランク付けして返します。

モチベーション

ネガティブなニュースがニュースの見出しを独占することが多い現代において、Goodnews MCPは、よりポジティブで明るいニュースに光を当てることを目指しています。このプロジェクトは、メール購読者に毎日ポジティブなニュースを届けるという、以前からある「GoodnewsFirst」という取り組みから着想を得ており、実に素晴らしいプロジェクトでした。GoodnewsFirstは近年の大規模言語モデル(LLM)のブレイクスルーに先駆け、感情ランキングに従来の手法を用いていましたが、Goodnews MCPは最新のLLMを活用し、ゼロショット設定で感情分析を実行します。

使用例: Claude Desktop を使用した MCP Goodnews

要件

クローンmcp-goodnews

# Clone the repository git clone https://github.com/VectorInstitute/mcp-goodnews.git

次のステップでは、このクローンされたリポジトリの場所への絶対パスを指定する必要があります。

Claude Desktop Config を更新して mcp-goodnews を見つけられるようにする

Mac/Linuxの場合
# Navigate to the configuration directory cd ~/Library/Application\ Support/Claude/config # Edit the claude_desktop_config.json file nano claude_desktop_config.json
Windowsの場合
# Navigate to the configuration directory cd %APPDATA%\Claude\config # Edit the claude_desktop_config.json file notepad claude_desktop_config.json

そして、 GoodnewsmcpServersの下にエントリを追加します。

{ "mcpServers": { "Goodnews": { "command": "<absolute-path-to-bin>/uv", "args": [ "--directory", "<absolute-path-to-cloned-repo>/mcp-goodnews/src/mcp_goodnews", "run", "server.py" ], "env": { "NEWS_API_KEY": "<newsapi-api-key>", "COHERE_API_KEY": "<cohere-api-key>" } } } }

Claude Desktopを起動または再起動する

Claude Desktop は更新された設定を使用して mcp-goodnews サーバーをビルドおよび実行します。成功すると、チャットダイアログウィンドウの右下隅にハンマーツールが表示されます。

ハンマーツールアイコンをクリックすると、利用可能なMCPツールの一覧を示すモーダルが表示されます。そこにfetch_list_of_goodnewsリストされているはずです。

クロードに良い知らせを聞いてください!

プロンプトの例:

  • 「今日の良いニュースを教えてください。」
  • 「今週、世界ではどんな良いことが起こりましたか?」
  • 「科学に関する元気が出るニュースを教えてください。」

仕組み

  1. 良いニュースをリクエストすると、アプリケーションはNewsAPIに最近の記事を問い合わせます。
  2. Cohere LLMは各記事の感情を分析します
  3. 記事はポジティブな感情スコアに基づいてランク付けされます
  4. 上位にランクインした良いニュース記事はクロードを通じてあなたに返されます

ライセンス

アパッチ 2.0


Goodnews MCP で前向きな気持ちを保ちましょう!

-
security - not tested
A
license - permissive license
-
quality - not tested

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.

Cohere LLM 感情分析を使用して NewsAPI から肯定的なニュース記事を取得してランク付けするモデル コンテキスト プロトコル サーバー。これにより、ユーザーは Claude Desktop などのインターフェースを通じて、前向きなニュース記事にアクセスできるようになります。

  1. モチベーション
    1. 使用例: Claude Desktop を使用した MCP Goodnews
      1. 要件
      2. クローンmcp-goodnews
      3. Claude Desktop Config を更新して mcp-goodnews を見つけられるようにする
      4. Claude Desktopを起動または再起動する
      5. クロードに良い知らせを聞いてください!
    2. 仕組み
      1. ライセンス

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          Adds powerful Hacker News integration to LLM clients, allowing users to access stories, comments, user profiles, and search functionality through the Model Context Protocol.
          Last updated -
          9
          25
          4
          JavaScript
          MIT License
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that enables AI to interact with Twitter, allowing functions like searching tweets, comparing sentiments across accounts, and retrieving timeline content.
          Last updated -
          MIT License
        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server that enables large language models to access the latest trending news headlines and detailed content across various categories including recommended, domestic, technology, and sports news.
          Last updated -
          Python
          • Apple
        • -
          security
          -
          license
          -
          quality
          This project is a Model Context Protocol (MCP) server that fetches articles from GeekNews. It is implemented in Python, and performs web scraping using BeautifulSoup.
          Last updated -
          1
          Python
          MIT License

        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/VectorInstitute/mcp-goodnews'

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