新闻获取服务

一个提供从The Verge的RSS订阅源获取和搜索新闻的工具的MCP服务器。

  • by manimohans
  • TypeScript
  • 本地部署
  • 3 星标
  • 更新于
在 GitHub 查看 manimohans/verge-news-mcp

使用说明

The Verge News MCP服务器

一个MCP服务器,提供从The Verge的RSS提要中获取和搜索新闻的工具。

特性

  • 从The Verge获取今天的新闻
  • 从The Verge过去一周的新闻中随机选取
  • 按关键字搜索新闻文章

安装

# Clone the repository
git clone https://github.com/manimohans/verge-news-mcp.git
cd verge-news-mcp

# Install dependencies
npm install

# Build the project
npm run build

用法

运行服务器

npm start

使用Claude for Desktop

  1. 安装 Claude桌面版

  2. 在以下位置打开Claude进行桌面应用程序配置:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • 窗户: %APPDATA%\Claude\claude_desktop_config.json
  3. 添加以下配置:

{
  "mcpServers": {
    "verge-news": {
      "command": "node",
      "args": ["/absolute/path/to/verge-news-mcp/build/index.js"]
    }
  }
}
  1. 重新启动桌面版的Claude

可用工具

获取每日新闻

获取the Verge在过去24小时内发布的最新新闻文章。

示例查询:“the Verge今天有什么新闻?”

获取每周新闻

从The Verge获取过去7天发布的新闻文章。

示例查询:“显示The Verge上周的新闻。”

注: 该工具从过去一周中随机选择10条新闻,每次使用时都会提供多样性。

搜索新闻

搜索包含特定关键字的新闻文章。

参数:

  • keyword:要搜索的术语
  • days (可选):回顾的天数(默认值:30)

示例查询:“从The Verge查找有关AI的新闻文章。”

发展

# Run in development mode
npm run dev

许可证

国际学生中心