Token导航 LogoToken导航TokenDH.com
MCP Goodnews logo
运维云端HTTP官方级别未说明来源级核验

MCP Goodnews

MCP Server

MCP Goodnews 是一个基于模型上下文协议(MCP)的应用,通过NewsAPI获取新闻文章并使用Cohere LLM根据积极情绪进行排名,返回最正面的新闻文章。

工具数

0

提示词数

0

GitHub Stars

47

资源数

0
PythonClaude云端部署Claude DesktopClaude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

VectorInstitute

提供方

VectorInstitute

最后核验

2026/5/17 20:44

运行时

Python

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

pip install requests cohere newsapi-python

详细介绍

](https://mseep.ai/app/vectorinstitute-mcp-goodnews)

MCP好消息

______________________________________________________________________

![CodeQL](https://github.com/VectorInstitute/mcp-goodnews/actions/workflows/github-code-scanning/codeql) ![Linting](https://github.com/VectorInstitute/mcp-goodnews/actions/workflows/lint.yml) ![Unit Testing and Upload Coverage](https://github.com/VectorInstitute/mcp-goodnews/actions/workflows/unit_test.yml) ![codecov](https://codecov.io/github/VectorInstitute/mcp-goodnews) ![Release](https://github.com/VectorInstitute/mcp-goodnews/actions/workflows/release.yml)

MCP Goodnews是一个简单的模型上下文协议(MCP)应用程序,其特点是 用于获取好消息、积极消息和令人振奋消息的服务器。此工具获取新闻 文章从 新闻API 并使用Cohere LLM进行排名 并根据积极情绪返回热门新闻文章。

阅读 博客文章 在Medium上!

动机

在一个负面新闻经常占据头条新闻的世界里,Goodnews MCP的目标是 让更多积极和令人振奋的新闻故事大放异彩。这个项目是 受到早期名为GoodnewsFirst的倡议的启发,该倡议带来了积极的影响 每天向电子邮件订阅者发送新闻——这是一个非常棒的项目!虽然好消息第一 早于大型语言模型(LLMs)的最新突破,并依赖于 传统的情绪排名方法,Goodnews MCP利用现代LLM 在零样本环境中进行情绪分析。

示例用法:MCP Goodnews与Claude Desktop

需求

克隆 mcp-goodnews

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

在下一步中,我们需要提供此位置的绝对路径 克隆存储库。

更新Claude桌面配置以查找mcp好消息

适用于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

您需要在下面添加一个条目 mcpServers 为了 Goodnews:

{
  "mcpServers": {
    "Goodnews": {
      "command": "/uv",
      "args": [
        "--directory",
        "/mcp-goodnews/src/mcp_goodnews",
        "run",
        "server.py"
      ],
      "env": {
        "NEWS_API_KEY": "",
        "COHERE_API_KEY": ""
      }
    }
  }
}

启动或重新启动Claude Desktop

Claude Desktop将使用更新的配置来构建和运行mcp-goodnews服务器。 如果成功,您将在聊天的右下角看到锤子工具 对话窗口。

点击锤子工具图标将打开一个列出可用MCP工具的模式。 你应该看看 fetch_list_of_goodnews 列在那里。

问克劳德好消息

示例提示:

  • “给我看看今天的好消息。”
  • “本周世界上发生了什么积极的事情?”
  • “给我讲一些关于科学的令人振奋的新闻故事。”

运作原理

  1. 当您请求好消息时,应用程序会向NewsAPI查询最近的文章
  2. CohereLLM分析每篇文章的情感
  3. 文章根据积极情绪评分进行排名
  4. 顶级的好消息通过克劳德返回给您

许可证

Apache 2.0

______________________________________________________________________

_对Goodnews MCP保持积极态度!_

目录标签

目录标签

PythonClaude云端部署新闻筛选本地部署情绪分析LLM应用正面新闻

支持客户端

Claude DesktopClaude

接入字段

传输方式(transport,传输协议)

HTTP

鉴权方式(authType,认证方式)

token

运行时(runtime,运行环境)

Python

部署方式(deploymentType,部署类型)

remote-capable

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

HTTPtokenremote-capable

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP